/srv/irclogs.ubuntu.com/2016/11/21/#launchpad.txt

socommwhen running 'apt-get update I get " STDERR: W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found02:41
socommwhen I visit the url it appears as if it is indeed 404, any ideas how to resolve this?02:41
cjwatsonsocomm: PPAs are generally maintained by their owner (in this case https://launchpad.net/~ondrej), not by us02:43
cjwatsonLooking at that I guess perhaps https://launchpad.net/~ondrej/+archive/ubuntu/php might be of some use, but I don't really know02:44
socommcjwatson: thank you02:45
tewardsocomm: that PPA you are looking at i think was replaced, by the one cjwatson points at, but you may need some package reinstalls.02:46
socommteward: ah gotcha, thank you02:47
teward(I keep a bit of an eye on the PHP PPA every once in a while lol)02:48
=== chihchun_afk is now known as chihchun
=== PaulW2U_ is now known as PaulW2U
=== maclin1 is now known as maclin
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
ilivhi cjwatson. last time we chatted you said I should be using git refs in order to import code for several program versions all located in one git repo. so, I looked around and read up on git refs (not a git expert) and I am wondering which ref type you meant exactly. those are ranging from heads to remotes to tags.15:58
cjwatsoniliv: heads16:00
cjwatsoniliv: or just "branches" colloquially (which I maybe should have said in the first place)16:01
ilivthought so (it is explicitly mentioned in notes under Repo URL field)16:02
ilivokay16:02
ilivso if I have multiple versions of the same app in one repo each version has to be in its own branch16:02
ilivhmm16:02
cjwatsonyes16:03
ilivis this the only way to do it?16:04
ilivoh, and it only applies to bazaar16:06
cjwatsongiven that snapcraft only looks at snapcraft.yaml and doesn't take an option to look at a different file, it's not clear how we would do otherwise really16:07
cjwatsonand I'm not sure what you mean by "and it only applies to bazaar"16:07
ilivI'm reading this: "For imports to Bazaar, the HEAD branch will be imported by default, but you can import different branches by appending ',branch=$name' to the URL. For imports to Git, the entire repository will be imported."16:11
cjwatsonimports are a red herring16:11
cjwatsonthe exact same properties about branches vs. snapcraft would hold if you were pushing your git repository directly to Launchpad rather than going through code imports16:11
cjwatsonthe description you quote from our UI is about how git and bzr are mapped to each other, but doesn't really have any bearing on how either one interacts with building snaps16:12
cjwatsondifferent stages of the process16:12
=== chihchun is now known as chihchun_afk
=== JanC_ is now known as JanC
cjwatsoniliv: the source URL for your postgresql-snap git-to-git import should literally just be "https://github.com/iliv/postgresql-snap"18:01
cjwatsonforget all the ,branch= stuff for an import that targets git18:01
cjwatsoniliv: and definitely don't include /tree/blah on the end18:01
ilivI think I tried that first. It didn't work then, it doesn't work now :) I gather because of what you said about branches above. If it's git-to-git  a remote git repo is expected to host just one app (snapcraft.yaml), right?18:10
cjwatsonNo18:10
ilivAnd if it's multiple snapcraft.yaml files, as is true in my case, it has to be git-to-bzr18:10
cjwatsonPlease try it again and then leave it there so I can look at it18:10
cjwatsonNo, that's entirely wrong, sorry18:10
ilivoh boy18:11
ilivokay18:11
cjwatsonI've obviously confused you in some way18:11
cjwatsonIt has to be multiple branches, yes, but those multiple branches can reside within a single git repository18:11
cjwatsonAnd there is no reason why going via bzr would help matters18:11
ilivit worked this time (as you pointed out it should be set up)18:11
ilivperhaps I did it differently, after all18:12
cjwatsonright, so that import is fine, and you can create a snap from either https://code.launchpad.net/~commandpromptinc/postgresql-93/+git/9.3.14/+ref/master or https://code.launchpad.net/~commandpromptinc/postgresql-93/+git/9.3.14/+ref/9.3.1418:12
cjwatsonthough it's oddly named, I'd have called the repository "postgresql-snap" rather than "9.3.14" to match the github repository name18:13
cjwatsonwe need some better defaults here18:13
ilivI'm just figuring out how this thing works18:13
ilivI'll make sure it is more meaningful when I get a handle on the entire process18:14
=== chrisccoulson_ is now known as chrisccoulson

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!