#indiewebcamp 2015-10-17

2015-10-17 UTC
#
bear
!tell aaronpk I think I found the magic pixie dust to make the travis-ci GAE deploy work
#
Loqi
Ok, I'll tell them that when I see them next
scoates and [aaronpk] joined the channel
#
[aaronpk]
Oh? I am curious to try it!
#
Loqi
[aaronpk]: bear left you a message 7 minutes ago: I think I found the magic pixie dust to make the travis-ci GAE deploy work http://indiewebcamp.com/irc/2015-10-16/line/1445040096785
#
bear
[aaronpk] - I wrote up some initial notes here: https://gist.github.com/bear/2990bce3e42f430fd44f
#
bear
it was a rough slog - found the vital clue by figuring out how travis is doing gae, finding that github repo and then reading issues and PRs
#
bear
and all that was after a lot of "hmm, what about *this*" attempts
#
bear
and guess which API is not listed in the API list that the dev console shows...
#
bear
I bet you can't guess...
#
aaronpk
wait...
#
aaronpk
there are more APIs than what is listed there?!
#
bear
oh yea
#
bear
100s
#
aaronpk
oh god
#
aaronpk
if I had known that I would have searched for "App Engine" a long time ago
#
bear
that console only shows the stable ones
#
aaronpk
good lord
#
bear
yea, right!?! I would have been typing in appengine or app engine or ??? in the search box after a couple attempts
scor joined the channel
#
aaronpk
here it goes...
#
bear
anyways - I created a test gae python app for this https://github.com/bear/gae-deploy-test
#
bear
and I can add you to the gae project if you need to compare things
#
bear
and this is the commit that I found the clue we needed -- https://github.com/flowlo/dpl/commit/b3970422633157fb66d4868fc8095803dca7a411
#
bear
so this will eventually make it into the docs for travis-ci and gae...
#
aaronpk
yeah that seems like a key component to this process that should go in the docs i was reading
#
aaronpk
oh great now i'm getting a weird error that appears to be from google
#
bear
yuck, that seems to be a php gae specific issue
#
aaronpk
it's a problem with this library http://htmlpurifier.org/
#
aaronpk
it's like it's trying to copy two files with the same name over to cloud storage
#
bear
that would explain the map key error - that's s3-style bucket lingo
tantek joined the channel
#
aaronpk
that was my clue
#
bear
you would think the composer tool would solve that (that is if composer does what I think it does)
#
aaronpk
well it looks like Cloud Storage is doing some weird mappings to handle files with capital letters
#
bear
ohhh
#
bear
that's always a messy thing
#
aaronpk
it might be working now
#
aaronpk
it's taking a long time
#
bear
yea, that was my first clue it may have worked - gcloud commands are *slow*
#
aaronpk
it's unfortunate that it has to push up a whole bunch of files from all the libraries that are never used, like all the tests for all the libraries
#
snarfed
aaronpk: you can use a skip_files: clause in app.yaml to prevent that
#
bear
you could almost make that a pre-deploy cleanup
#
bear
ah - right - just have it ignore whole dirs
#
aaronpk
hmm I wonder if "tests" would work
#
bear
chuckles at the RCS in that regex list
minsky joined the channel
#
bear
wanders over to see what is for dinner
#
aaronpk
i sure hope it doesn't have to do this ever ytime
#
bear
it does
#
bear
tho maybe it's faster if the files already exist
#
bear
i'll pop on later to see how it went
[snarfed] joined the channel
mlncn joined the channel
#
aaronpk
oboy, app engine doesn't support php 5.6 i think
tantek and snarfed joined the channel
snarfed1 joined the channel
#
kevinmarks
well, that was some personal nerd-swiping
snarfed joined the channel
#
ben_thatmustbeme
You nerd swiped yourself?
#
GWG
What is nerd swiping?
#
Loqi
It looks like we don't have a page for "nerd swiping" yet. Would you like to create it? https://indiewebcamp.com/s/1051
[snarfed] joined the channel
#
[snarfed]
sniping
#
finchd-also
nerd-swiper no swiping
#
kevinmarks
I built a storycard viewer to save having to edit the html by hand
#
aaronpk
i think it deployed
#
aaronpk
now i'm confused. it didn't copy any of the "vendor/" folder
#
kevinmarks
heh, that should parse your example
#
aaronpk
well i'm thoroughly stumped again. appengine previously failed because it was uploading the whole vendor folder and there was some weird stuff in it. now it's failing because it's *not* uploading any of that folder
#
[snarfed]
silly q: it's not matching any of the skip_files patterns, right?
#
[snarfed]
could it have uploaded, and your php code just can't find it?
#
aaronpk
i don't think so
#
aaronpk
I did have this uploaded successfully from my laptop
#
aaronpk
and all i've changed since then is the app.yml and travis files
#
aaronpk
(no skip files are defined)
#
aaronpk
travis is clearly installing the libraries since the tests are passing
#
[snarfed]
you have to tell it about the vendor dir specifically in python: https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring
#
[snarfed]
right, OK
strugee joined the channel
#
[snarfed]
and if it runs ok in dev_appserver, then yeah it may be the upload
#
aaronpk
yeah it runs fine in dev_appserver *and* it runs fine on app engine when I upload from my laptop
#
[snarfed]
is vendor maybe a symlink on Travis?
#
kylewm
kevinmarks++ very neat demo with the microformats cards
#
Loqi
kevinmarks has 175 karma
#
aaronpk
*headdesk*
#
aaronpk
i think that's a sign i am done with computer for the night
#
[snarfed]
still, great progress today!
#
[snarfed]
thanks for taking it on
#
GWG
Isn't this where we...
#
GWG
aaronpk++
#
Loqi
aaronpk has 980 karma
strugee joined the channel
#
ben_thatmustbeme
Cool. I have been busy with sine work on my own today. You doing it all open source aaronpk ?
snarfed joined the channel
#
rhiaro
kylewm: Now I have actual threaded replies I have to deal with
#
rhiaro
(that aren't 'test')
#
ben_thatmustbeme
rhiaro: that's what I was working on today
tantek joined the channel
#
@veganstraightedge
It's always great meeting internet friends AFK for the first time. We had dinner with a fellow vegan #indieweb friend, @rhiaro.
(twitter.com/_/status/655218568024498176)
#
@rhiaro
RT @veganstraightedge: It's always great meeting internet friends AFK for the first time. We had dinner with a fellow vegan #indieweb fri…
(twitter.com/_/status/655218947059351552)
#
kevinmarks
as more people use u-photo than u-featured, I made the storycards work with that too
#
tantek
kevinmarks++
#
Loqi
kevinmarks has 176 karma
#
tantek
what are storycards?
#
Loqi
It looks like we don't have a page for "storycards" yet. Would you like to create it? https://indiewebcamp.com/s/1052
#
ben_thatmustbeme
huh, my archive section has posts for January 1970
#
ben_thatmustbeme
i think the dates are messed up there
#
kevinmarks
sounds like unix 0
#
kevinmarks
on the mac it used to be 1904
#
ben_thatmustbeme
yeah, its stored in mysql which natively stores unix time
#
ben_thatmustbeme
it was my mp endpoint, i just checked if 'published' was set, not that it wasn't empty
#
kevinmarks
what are storycards?
#
Loqi
It looks like we don't have a page for "storycards" yet. Would you like to create it? https://indiewebcamp.com/s/1053
#
kevinmarks
storycards are the 'related articels' previews often shown at the bottom of pages by publishers. They usually conisist of a featured image, a headline and link. Author and published date information may also be shown.
#
loqi.me
created /storycards (+244) "prompted by kevinmarks https://indiewebcamp.com/irc/2015-10-16/line/1445054552217 and dfn added by kevinmarks"
(view diff)
#
kevinmarks.com
edited /storycards (+524) "Add examples"
(view diff)
indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
#
ben_thatmustbeme
ugh, there is so much variety in the possible ways facebook URLs are stored
#
ben_thatmustbeme
what the heck is the most recent
#
ben_thatmustbeme
i'm going to try to unify to that
[kevinmarks] joined the channel
#
[kevinmarks]
Hm, should we do fill mf2 process on story cards?
[snarfed] joined the channel
#
[snarfed]
ben_thatnustbeme: welcome to our hell :/
KartikPrabhu, wolftune, strugee, e-lima, j4y_funabashi_, rebRox1211, alexhartley, elima_, Garbee, nitot, elf-pavlik, cweiske, snarfed, mlncn, joskar, ttepasse, cmhobbs, petermolnar, tantek, gRegorLove, squeakytoy, scoates, sara_is_cool and kevinmarks joined the channel
#
@martinlindner
sehr guter blogpost über #indieweb-dialektik, Domains of One's Own: Do I Own My Domain If You Grade It? https://www.edsurge.com/news/2015-08-10-do-i-own-my-domain-if-you-grade-it via @EdSurge
(twitter.com/_/status/655485049488453633)
KartikPrabhu joined the channel
#
@benwerd
Believe in an open web? Is your domain your digital #identity? Do I have a t-shirt for you ... https://teespring.com/my-url-is #indieweb #openweb
(twitter.com/_/status/655494911244922880)
benwerd joined the channel
#
@martinlindner
und noch was großartiges zu #indieweb, #digitalebildung und Domain of One's Own (von unis ausgehend) im besonderen: http://bavatuesdays.com/initial-notes-on-an-api-driven-community-site-for-byu/
(twitter.com/_/status/655497262370541568)
elima_, tantek and snarfed joined the channel
#
snarfed
has spent all day (again) trying to de-dupe facebook's many different URL formats
#
snarfed
just like ben_thatmustbeme the other day
#
snarfed
details in https://github.com/snarfed/bridgy/issues/498 ...but don't click, trust me
tantek, snarfed and felicia_cia joined the channel