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

=== heroux_ is now known as heroux
zygacjwatson: hi, looking at https://code.launchpad.net/~zyga/guacamole/+git/guacamole I see the two git-clone URLs there, are they exposed anywhere in the API?08:18
zygacjwatson: or should I use git_repository.unique_name and derive the URL myself?08:19
cjwatsonzyga: They're not exported.  Perhaps it would be convenient if they were; feel free to file a bug (with rationale).09:13
zygacjwatson: thanks for confirming that!09:35
zygacjwatson: I'm working on tarmac git support now09:35
cjwatsonzyga: I saw, thanks!  Will reply to your mail shortly09:40
zygacjwatson: thanks09:40
cjwatsonDeriving from git_repository.unique_name is probably workable, although it won't be quite the same as the UI shows you for any repository that's a default.09:42
cjwatsonBut if all you need is *a* valid URL then it would be close enough.09:42
wgrantWe should indeed export the URLs, but the properties need renaming first.09:50
wgranteg. anon_url sounds like the sensible default for anonymous access, but it's actually legacy git://09:50
cjwatsonYeah, made sense in my head in March.09:51
wgrantI have some changes around that in my local rework of GitRepository:+index.09:52
wgrantI might rename and export them on the way.09:52
cjwatsongit:// probably doesn't need to be exported at all.09:52
cjwatsongit+ssh:// and https:// would be sufficient.09:52
cjwatsonwgrant: Have you thought of any better names for landing_candidates et al?  Otherwise I'm inclined to export the current names on the grounds that Tarmac will need them and it's probably least confusing there for them to match Bazaar.09:54
wgrantshuf -n 2 /usr/share/dict/words says extrusions_begun, which is probably less confusing than landing_candidates.09:55
cjwatson:-P09:56
wgrantThe current names aren't obviously worse than the Bazaar equivalents, are they?09:56
wgrantApart from the repo vs branch stuff, nothing has changed terribly.09:57
cjwatsonThe current names are identical to the Bazaar equivalents.09:57
wgrantRight, but there's no real reason we have to change them.09:57
wgrantThat I can recall.09:57
cjwatsonThat was my thought.09:57
cjwatsonI mean, they suck but they can suck equally.09:57
wgrantIt was just a "this bit of Bazaar codehosting is stupid, let's see if we can do it better before stabilising the API"09:57
wgrantAnd at this point I think the answer is no.09:57
cjwatsonLike most things that talk about sources and targets etc., it's very easy to get into directional confusion.09:58
wgrantYeah09:58
cjwatsonEspecially for this kind of thing where it's really "merge proposals for which this branch etc. is the source"09:58
wgrantThe least confusing thing might almost be to have lp.merge_proposals...09:58
wgrantBut exporting the existing properties works.09:59
cjwatsonlp.merge_proposals has the nice property that we could introduce it later without too much clutter, indeed.10:03
=== jamesh__ is now known as jamesh
Odd_BlokeI keep getting errors when trying to comment on https://code.launchpad.net/~daniel-thewatkins/charms/trusty/ubuntu-repository-cache/update_charm-helpers/+merge/26095611:52
Odd_BlokeSpecifically, "Server error, please contact an administrator."11:52
Odd_BlokeSo consider yourselves contacted. :p11:52
wgrantYep, we're investigating a strange load issue with the master DB server.11:52
wgrantEverything relating to commenting just.. hangs.11:52
Odd_BlokeCool.11:53
Odd_BlokeOh, all the comments just got added at the same time!11:54
wgrantOdd_Bloke: Yep, it's all unstuck now. Let us know if you see any more issues.11:58
grepperI was  synching my ppa with a number of upstream changes in the same branch I was using, but it fails upload with dput because of the changes to the $project_$version.orig.tar.gz with the same name. What is the proper way to do this? Using debian/patches and the previous *orig.tar.gz ?12:13
zygagrepper: .orig.tar.gz are used for upstream projects (typically upstream releases)12:18
zygagrepper: for that you should keep the single, unchanged orig.tar.gz and upload new debian tarball that may contain patches12:19
zygagrepper: if that is your own project and you are working on packaging and development at the same time, you can switch to a native debian package, in that way you don't have .orig.tar.gz, just .tar.gz that is uploaded each time12:19
zygagrepper: still you need to make sure the version is always changed12:19
zygagrepper: for development you should have a sbuild installation locally as that is much faster and allows you to iterate without waiting for ppa builds or for upload queue to reach your project12:20
grepperzyga: so I should have left the orig.tar.gz unchanged and used debian/patches ? (assuming I don't want to mess with sbuild right now)12:21
zygagrepper: yes12:21
zygagrepper: use quilt to manage debian/patches12:21
zygagrepper: and do setup sbuild, it takes around 10 minutes, just follow the wiki instructions12:22
zygagrepper: and then each test is 'sbuild' in the source directory12:22
zygagrepper: https://wiki.debian.org/sbuild12:22
grepperokay, thanks. That's actually the way I tried the 1st time, but ran into problems and thought why not just use the new upstream tarball and sync that.  Obviously the wrong choice :(12:23
grepperI will have a look a sbuild as it is my project as well12:23
cjwatsonIf there's a new upstream tarball, you should use it, but it needs to have a new version number.12:23
zygagrepper: if you run into any issues just ask12:23
cjwatsonYou can't just republish a new thing with the same version.  That's (a) forbidden by LP (b) dreadful practice anyway12:24
grepperoh, cjwatson can I just use something like tovid_0.35.2.orig.tar.gz --> tovid_0.35.2-1.orig.tar.gz ?12:24
cjwatsonNot quite like that.  Has tovid upstream released a new tarball?12:25
grepperyes, its a release this time12:25
cjwatsonWhat is the new upstream version number?12:25
zygagrepper: 0.35.2 and 0.35.2-1 are quire different, do you know what the difference is?12:25
cjwatsonOh.  Do you mean that you previously uploaded 0.35.2 but it wasn't the real upstream release?12:25
grepperyes12:25
cjwatsonThat was very naughty of you.12:25
grepperbad move apparently12:26
cjwatsonI would do 0.35.2+real then12:26
grepperit was 0.35.2 branch ...12:26
cjwatsonNext time, use 0.35.2~2015060412:26
cjwatsonOr similar12:26
grepperokay12:26
cjwatsonThat's the sort of form you'd use for prereleases12:26
* zyga feels PPAs should have a separate "tarball namespace" from the rest, if that's not the case already12:26
cjwatsonzyga: They do, mostly.12:26
cjwatsonzyga: One way round.  Uploads to PPAs check the main distribution archive, but not vice versa.12:27
zygacjwatson: ah, so I cannot ruin someone's day by uploading 'linux-4.2.orig.tar.gz' by any chance?12:27
cjwatsonCorrect, you can only ruin your own.12:27
zygaah, that's very sensible then12:27
grepperzyga: not exactly, I assume it is an patch level12:28
cjwatsongrepper: So you probably want to make the full package version number be 0.35.2+real-1, and rename the real upstream 0.35.2 release to tovid_0.35.2+real.orig.tar.gz12:28
zygagrepper: 0.35.2 is the version of upstream package _or_ the version of a debian-native package (that doesn't ever have the -1 -2 -3  versions)12:29
zygagrepper: whereas 0.35.2-1 is the version number of the debian package, comprised of the upstream version and the debian version, separated by '-'12:29
zygagrepper: most of the time you'll see the 1.2.3-1 type of versions12:29
grepperah, okay, so that was the wrong approch12:29
zygagrepper: the point is that you cannot freely move from one to another12:29
zygagrepper: and it's generally recommended to use non-native packages (those that have the debian version separate)12:30
grepperso if I use 0.35.2+real-1 the build system will automatically know to use 0.35.2+real.orig.tar.gz ? Just by using the changelog ?12:31
cjwatsonCorrect.12:31
grepperor do I need to rename the directory12:31
grepperokay12:31
cjwatsonThe directory name isn't particularly important.12:31
cjwatsonYou can just have the directory be "tovid".12:31
grepperokay12:31
grepperwhat about 0.35.2+release ?12:32
cjwatsonIf you like.12:32
grepperyeah12:32
cjwatsonJust don't get the idea that you always have to append "+release"; it's just to supersede the misleading "0.35.2".12:33
grepperRight. So this way I don't need to patch up to the upstream release ? I have the new release files in my ppa directory already.12:34
cjwatsonCorrect.12:34
greppergreat, thanks for your help12:34
=== maxb_ is now known as maxb

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