/srv/irclogs.ubuntu.com/2015/04/09/#launchpad.txt

grepperI'm new to launchpad and bzr. I did a 'bzr branch ubuntu:tovid'. I aim to bring it up to date at least locally as it is not very current. I deleted some files with 'bzr remove' and finally did a 'bzr commit -m "blah blah". What happens if I push? Am I pushing to my launchpad project space or am I actually creating a branch on the official package repo? (ubunutu:tovid)04:42
wgrantgrepper: 'bzr push' will probably tell you it doesn't know where to push to.04:50
wgrantLaunchpad's model is rather different from sites like GitHub, though.04:50
wgrantOn GitHub everyone has their own fork, which is effectively their own project, and you propose merges between them.04:51
grepperwgrant: so what have I actually done at this point ?04:51
grepperwhen I do a bzr log I can see my branch along with the others already, which is a bit disturbing :P04:52
wgrantBut in Launchpad all the contributors can use the same project, just with their own branches. eg. if you look at https://code.launchpad.net/maas, you'll see the project's core developers and other open source contributors all listed together.04:52
wgrantWhat do you mean?04:52
wgrantbzr log doesn't list branches. It lists the revisions in your branch.04:52
grepperbzr log -n0 is what I did04:53
wgrantHave you read through the first few pages of https://help.launchpad.net/Code?04:53
wgrantAh04:53
wgrantThat still just lists the revisions in your branch. -n0 just asks it to show merged revisions too.04:53
wgrantDo you have experience with other DVCSes?04:53
greppermainly svn (cvs before that). I just moved the project to GIthub so have had to learn git this last week. So I am thoroughly muddled.04:54
grepperso my revisions will show up for others already, even though I haven't pushed anything ?04:55
wgrantThe "Distributed" in "Distributed Version Control System" is the important bit.04:55
wgrantAll your commits are totally local until you push them.04:56
greppergreat, that was what I was expecting from working with git04:56
greppercan I push to my own account on launchpad ?04:56
wgrantLaunchpad branches have an owner and a target, two separate attributes. Anyone can push a branch up targeting Ubuntu's tovid package, as long as they push it to a branch owned by themselves or one of their teams.04:59
wgrantThe form of a package branch URL is lp:~USER/DISTRIBUTION/SERIES/PACKAGE/BRANCH. So in your case you'll want 'bzr push lp:~your-launchpad-username/ubuntu/vivid/tovid/short-description-of-your-branch'05:00
grepperwgrant: okay, I'll give it a whirl, thanks05:01
greppernone of that is different than what I expected btw, I was just concerned I should check it out as I am new to this.05:01
grepperthe actualy upstream project is mine, just wanted to contribute05:02
grepperactual*05:02
cjwatsonThe other thing to note is that most of the ubuntu:* branches (really lp:ubuntu/*) are auto-imported by a system that's kind of bitrotted.  We hope to replace it soon with something git-based, but that isn't ready yet.  In the meantime you will find that a number of those branches are broken or outdated; it's entirely reasonable to fall back to old-school and manipulate source packages directly, sending patches around and such.  ...05:03
cjwatson... pull-lp-source in the ubuntu-dev-tools package can help.05:03
grepperhm, just I guess I should be targeting vivid at this point, I was thinking maybe I'd do a ppa for the 14.04 LTS05:05
grepperokay05:05
cjwatsonlp:ubuntu/tovid seems to be up to date with the last version from before it was removed from Ubuntu, but you won't necessarily find that for other packages.05:05
grepperits the only package I'm concerned with05:05
cjwatsonIf you want to revive the maintenance of that package, it'll need to be in the development release, although of course you're welcome to maintain a PPA.05:05
cjwatson(for that or for older releases)05:05
greppermy account right now is a ppa account, or I think that is what I registered for05:06
cjwatsonAny Launchpad account can have PPAs.05:06
grepperdo I need something else to push to a branch as you indicated?05:06
grepperah, okay05:06
cjwatsonAny Launchpad account can also have its own branches.05:06
cjwatson(when I say "if you want to revive the maintenance of that package", I mean in Ubuntu itself, which is the approach with greatest benefit although it also involves more up-front work, so you may well not want to start there right at first)05:08
grepperyeah, I don't see myself as a maintainer of a ubuntu package, I'm the sole maintainer, developer etc of the tovid project as it is.05:08
grepperjust wanted to contribute. It was removed because of incompatibiities that have been resolved (libav etc).05:09
cjwatsonFair enough.  You might well find somebody willing to pick it up now that it's on libav and such (thanks!).05:09
grepperI did post on the bug reports, but dunno if the old maintainer is still reading it or interested.05:09
cjwatsonMaia Kozheva packaged it originally and was dealing with it for some time, but they aren't subscribed to the bug and I don't recall whether they're still around.05:11
cjwatsonErr, apparently I mean Maia Everett now.  Still at least a bit active on LP.05:12
grepperokay05:12
grepperat least I have it it working locally, creating a 0.35.0 deb and so on, so I may as well do a ppa05:14
grepperis there any kind of review process for ppa's ?05:14
cjwatsonNo.05:15
grepperokay, thanks for your help !05:17
grepperI may be back tomorrow with questions ...05:18
greppercjwatson: okay I did "bzr push lp:~grepper/ubuntu/trusty/tovid/tovid-0.35.0_branch" , does that look okay ?05:33
grepperhow do I see it on a web interface, I don't see anything on my user login page05:34
grepperah, http://bazaar.launchpad.net/~grepper/ubuntu/trusty/tovid/tovid-0.35.0_branch/changes05:42
* grepper does a zombie walk off to bed05:44
cjwatsongrepper: Sure, or https://code.launchpad.net/~grepper/ubuntu/trusty/tovid/tovid-0.35.0_branch08:47
wgrant /b 511:39
grepperHow do I reupload to my ppa? My first ppa upload sucessfully built, but I noticed a little while ago that libsox-fmt-all doesn't provide the 'sox' binary anymore, so needed to change this one depends to 'sox'. I tried a bzr bd -S and the tried to upload with dput, but received an upload failed message.  I followed this guide to the error: https://help.launchpad.net/Packaging/UploadErrors, rebuilt with debuild -S and tried to22:10
grepperupload again. Same error.22:10
sarnolddid you get a specific error message from an upload tool or via email?22:13
mapreriI somehow guess you did not change the version22:13
grepperyes, that is what I just realized22:14
grepperseems a bit harsh to have to change the version when I just uploaded the first, but I can understand the reasoning22:14
greppersarnold: yes, it was an email22:14
grepperthanks for confirming mapreri22:14
maprerigrepper: the reasoning is: "republishing the same version is just evil"22:16
grepperheh22:16
grepperno one has seen my 1st upload but God and the launchpad hardware/software :)22:17
grepperhm, so 0.35.0-0ubuntu0 --> 0.35.0-0ubuntu1 , or  0.35.0-1ubuntu0 ... or ..?22:19
* grepper googles Ubuntu versioning22:20
mapreriyou also might want to use some other suffix, like ~ppaN or +ppaN, it depends. you can use whatever versioning you want, i guess quite nobody will care22:20
sarnoldor 0~grepper0 if you're making speculative builds..22:20
grepperlooks like ubuntu0 stays as there is no debian package version, so 0.35.0-0ubuntu1 is good enough. I may add another suffix though22:22
grepperer, sorry, 0ubuntu means no debian package is what I meant22:23
maprerimeans there isn't such a package in the debian archive22:24
wgrantgrepper: The rule is that if you change the package, you must change the version.22:27
wgrantWhich doesn't seem like a particularly unreasoanble restriction.22:27
grepperwgrant: yes, I have gathered that :)22:27
grepperdamn, shouldn't run debuild in a bzr dir, it deletes the .pc/ directory22:28
grepperUpload went fine, thanks. Sorry for the noise, realized the obvious answer after I asked.22:42

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