/srv/irclogs.ubuntu.com/2010/02/20/#launchpad.txt

=== Ursinha-brb is now known as Ursinha-afk
marszobi1, best ask a question directly to the Translations team.  They can tell you more about the system:  https://answers.edge.launchpad.net/rosetta/+addquestion00:55
Lord-ReadmanChris mate, its doing well http://impoll.net/cgi-bin/v.cgi?p=10231&r=910:54
magciusDoes Launchpad send an email to the project owners when a branch is linked?11:27
wgrantmagcius: Linked to what?11:27
magciusIf I "register a branch" with a project, will it/how would I send a message to the appropriate person?11:28
wgrantmagcius: It won't notify them, unless they have subscribed to the RSS feed. If you want to request that they merge it, you could click 'Propose for merging'.11:29
magciuswgrant, ahhhh11:30
wgrantThat will email the default reviewer for the target branch.11:30
magciusI'm still a bzr noobie, is a bzr merge like a git pull?11:30
wgrantYes.11:30
magciusor does bzr pull have the same semantics too11:30
wgrantpull will bring the target's tip to the same as the source's, if the source has a superset of the target's revisions.11:31
wgrantBut otherwise you need to merge.11:32
magciuswhen in normal practices will that not be the case?11:33
magciusi.e. can you do bzr pull --rebase like git?11:33
magciusOr is there something equivalent at all?11:33
wgrantIt will not be the case when there have been commits on trunk since it was last merged into the branch.11:33
wgrantThere is bzr-rebase, but it is not normally used.11:33
wgrantRewriting history is frowned upon.11:34
magciusgit pull --rebase isn't really rewriting history11:34
wgrantDoesn't it rebase the branch on top of trunk?11:34
magciusit's basically, 'find the common revision, undo and store everything from then as patches, pull, then apply the patches'11:35
magciuswhich is very useful if you have local commits for fixes or have applied patches that are not upstream]11:35
wgrantbzr rebase can do that easily.11:35
wgrantBut it is not often done.11:35
Methsmagcius: Until you merge patches from other people to send upstream, then rebasing reassigns credit for patches and is a bad thing (tm)11:36
magciusMeths, why would it do that?11:36
siretartmagcius: the 'undo, store and redo' part is a typical case for "rewriting history"11:36
magciusMeths, doesn't bzr store both an author and committer?11:36
magcius(I swore it did, because I saw both in the log)11:37
wgrantIt does.11:37
magciusSo would a rebase re-assign both the author and committer?11:37
Methsmagcius: Sorry, thought git did this.  Not bzr.11:38
magciusMeths, nope.11:38
Methshmmm, okay.  Have to reread why Linus hates rebasing so much...11:39
magciushe does?11:39
magciusrebasing isn't something you usually do in upstream repos11:39
magciusbut it's useful when merging in other changes since the histories have diverged11:40
magciussiretart, well my branch is a branch and I don't think it's quite that bad to rewrite history just so I can get latest changes. Is there a "better" way in the terms of bzr?11:40
MethsAh, after rereading it's nothing to do with history rewriting, my bad.11:41
magciusMeths, link?11:41
Methshttp://kerneltrap.org/Linux/Git_Management11:41
siretartmagcius: you could try 'bzr merge' folowed by 'bzr revert --forget-merges'11:42
magciussiretart, bzr merge lp:upstream-branch ?11:42
wgrantThat will forget the wrong merges.11:43
wgrantmagcius: Why do you want to rewrite history?11:43
siretartwgrant: he wants 'git pull --rebase' semantics11:43
magciuswgrant, mainly to keep my commits on top so I can deal with them easily.11:43
magciuswgrant, and it's an easier fix if they go wrong to fix *my* commits instead of *their* code11:43
siretartmagcius: I haven't followed bzr development closely lately, but AFAIUI looms and pipes are designed for this use cases11:44
wgrantlooms are indeed for this sort of thing.11:44
magciuseek...11:44
wgrantpipes are handy too.11:44
magciusis that like git stash?11:44
wgrantNo.11:44
magciusor git branches?11:44
siretartno11:44
magciuslink to a simple introduction?11:45
siretarthttps://edge.launchpad.net/bzr-loom11:45
magciusand is it an external plugin, and will everybody need it installed?11:45
wgrantAlso https://launchpad.net/bzr-pipeline11:45
magciusoops11:45
magciuson my system the "Download" button is cut off11:46
magciusthe background, that is11:46
siretartsince you 'pull --rebase', you don't want that branch published anyways, so only you need to have that plugin installed11:46
magciusIs there any reason the latest announcement is for the release of 1.3, but the download is 2.0?11:47
magciushttp://imgur.com/hP9qO.png11:48
magciusI think your sliding door needs extra length.11:48
magciuseek, the "convert everything to a loom" does not really seem suitable for registering a branch11:50
wgrantHm?11:50
magciuswgrant, a reply to which11:50
magciusThey don't really explain the terminology.11:51
magciusA "loom" is a repo/branch?11:51
magciusA thread is a set of patches?11:51
wgrantA loom is a stack of threads.11:51
wgrantA thread is sort of a mini-branch11:51
wgrantSo within a loomified branch, you have a stack of threads.11:51
wgrantAs the bottom thread you might have trunk,11:52
wgrantThen above that you have a thread for each of your patches.11:52
magciusand each thread has a superset of the history of the one below it?11:52
wgrantSo you can version your patches, while keeping them separately on top of trunk.11:52
wgrantYes.11:52
magciushmm11:52
magciusSo I can add patches to any thread at one point?11:52
wgrantpipeline is similar, except that it uses a stack of actual branches.11:52
wgrant"at one point"?11:53
magciusany point in time11:53
wgrantRight.11:53
wgrantYou can switch between threads and commit to each of them.11:53
magciusSo if I add something to a thread below another, the thread above will share that history too?11:53
magciusi.e. get that commit too11:54
wgrantRight.11:54
wgrantAs you move up the loom, the changes will be merged up.11:54
magciusWhat exactly is quilt then?11:55
wgrantquilt is unrelated to bzr.11:55
magciusI know11:55
wgrantBut it's similar. It's a stack of patches.11:55
magciusWhat is it implemented on top of?11:56
magcius(I can't find anything with a simple search)11:56
wgrantProbably just patch.11:56
magciusI mean, what tool? Darcs? Monotone?11:56
wgrantNone.11:56
wgrantIt doesn't use a version control system.11:56
magciusOkay, so where can I find it?11:57
wgrantquilt maintains an unversioned series of patches.11:57
wgrantapt-get install quilt11:57
magciuseek, I'm not an ubuntu user11:57
wgrant(or your favourite operating system's package manager)11:57
wgranthttp://savannah.nongnu.org/projects/quilt11:57
magciusalright, thanks12:01
magciusI'm also looking at Stacked Git12:01
magciuswhich seems to provide a similar thing. I thank you for informing me of this, I really, really like the idea.12:02
wgrantIt's hopefully a bit less ugly than rebasing.12:02
magciusAlthough I'm quite disappointed it needs a conversion to a loom to work, is there a way to push the current thread as a regular branch?12:04
lifelessmagcius: bzr init <target>; bzr push target12:06
magciuswhere target is?12:06
lifelessmagcius: or bzr export-loom will push all threads to a bunch of adjacent branches12:06
wgrantThe question was truly perfectly timed.12:07
magciuslifeless, oh, so when it converts to a loom it *converts to a loom*12:08
lifelessI don't have any context here12:09
magciusSo much that bzr init works and somehow magically doesn't destroy history in the loom and magically destroys history in the bzr branch12:09
lifelessso you'll need to fill me in a bit12:09
lifelesscertainly neither loomify or init will destroy history12:11
lifelessmagcius: well, I'm off to bed; I don't know what issue you encountered, but please do file a bug or ask a question or something.12:16
AlanBellhi, I have a PPA question12:20
AlanBellI have packaged a python upstream project http://lpod-project.org in my PPA12:20
AlanBellfollowing the python packaging guide (or trying to)12:20
AlanBellit built for Karmic which is great, how do I get it to build for Lucid/Jaunty?12:20
AlanBellppa:alanbell/lpod lpod-python is the package12:21
LaneyAlanBell: for lucid, try copying the package — https://help.launchpad.net/Packaging/PPA/Copying12:23
magciusHmm... I just took a look at the new OpenSuSE Build System... is Canonical planning something similar?12:24
magciushttps://build.opensuse.org/12:25
wgrantmagcius: Similar to what aspects of it?12:25
wgrantLaunchpad does very similar things already.12:25
magciuswgrant, the fact that you can create packages for a bunch of distributions.12:25
wgrantLaunchpad does that for Ubuntu, but I do not know of plans to do it for any others.12:26
magciusRPM-based systems (RHEL, Fedora, OpenSuSE, Debian, Ubuntu)12:26
magciuser12:26
magciusI forgot I had said that12:26
magciusdisregard the RPM-base12:26
magciusd12:26
AlanBellThe following source cannot be copied:12:37
AlanBell* lpod-python 0.9-1ubuntu3 in karmic (same version already has published binaries in the destination archive)12:37
wgrantAlanBell: Copy the binaries too.12:37
AlanBellhowever it lets me do it if I copy the binaries12:37
AlanBellisn't that bad?12:37
wgrantProbably not. Remember that Lucid started off a complete binary+source copy of Karmic.12:38
wgrantAnd most of Lucid's binaries are still the same as Karmic's.12:38
wgrantYou'll have to test if it works, but it probably will.12:38
AlanBellok, well I will give it some testing12:38
=== keithy_ is now known as keithy
geserwhat's the best/easiest way to check if I've an anonymous or non-anonymous login to the LP API?15:58
DexterLBcan I use lp for projects that are not software? e.g. blender movies etc? And use bzr to upload the blend files?16:23
patx2can i delete my ppa on launchpad? if not can i delete the packages in it?17:32
patx2ah nvm i found it17:38
davidstraussI apparently need this branch upgraded to update the import: https://code.launchpad.net/~davidstrauss/hiphop-php/trunk18:00
davidstraussI can't seem to upgrade it from the shell like I normally can.18:01
davidstraussmars: ^^18:02
=== nhandler_ is now known as nhandler
=== ersoy is now known as hersoy
ryeIs there any protection from spammers posting the ads to bug reports at Launchpad?20:43
kermiachi. is anyone around who can look into https://answers.edge.launchpad.net/launchpad/+question/10180720:52
kermiacwe are currently discussing this spammer in #ubuntu-bugs20:53
kermiacsorry to be persistant but, is anyone around who can help with another spammer? I am currently cleaning up the mess they have made so far21:15
kermiachttps://answers.edge.launchpad.net/launchpad/+question/10180721:15
lifelesshave you tried to speak to them?21:17
kermiaclifeless: no, I haven't. Normally I would try to speak to them first but it REALLY seems like this is the same spammer we had just over a week ago with the nospammail.net email address. Also the LP account name say a lot "fail2ban"21:20
lifelessfail2ban is a package name21:20
lifelesswe get lots of folk that fanboy packages they are interested in21:21
lifelessnot saying you're wrong21:21
lifelessbut please try to speak with them21:22
lifelessI wish that LP subscribed non-QA folk to bugs they touch21:22
lifelessso that you could reply to the bug and be sure they would see the reply21:22
kermiacok. point taken, but I am currently cleaning up a lot of old bugs that they are changing - adding tags, changing status, removing upstream tasks, etc. Seems exactly like https://answers.edge.launchpad.net/launchpad-registry/+question/10068221:23
lifelesssuspension is a big hammer21:23
lifelessthey are definitely misguided21:23
lifelessbut they aren't adding advertising21:23
lifelessnor are they swearing or being otherwise clearly hostile21:24
kermiacwith them having a "nospammail.net" email address, I don't believe they would get the email even if I did contact them.21:24
lifelessyour belief is wrong :)21:24
lifelessto get an address active on LP, it has to receive email21:24
kermiacok, ty for the discussion lifeless. I will try to contact this user21:24
lifelessbecause the LP address activation process involves LP sending them an email and them clicking on a unique link contained in the mail21:25
kermiacThat would normally be the first thing I do, but this seems to be the same person. But I understand your point about suspension being a big hammer. I will try to contact this user, although I don't believe it will have any effect21:26
idnarnospammail.net is a real mail hosting provider21:27
idnar(apparently)21:27
lifelessits working on the misguided theory that spammers have an economic motive to ignore 'probably bogus' addresses.21:28
kermiacI thought it was simply a redirect service. obviously I was wrong21:28
kermiacok, I have contacted the user to see if that helps http://ubuntu.pastebin.com/f6572176521:34
kermiacty for the discussion21:34
lifelessthanks21:35
aboSamoorwhere can I know the list of the bugs sorted by the number of the people affected ?21:51
lifeless don't think the web ui permits that; you can sort by number of dups though, or bug heat (which is similar)21:52
wgrantaboSamoor, lifeless: You've been able to sort by 'number of users affected' for a few months now.22:56
wgrantlifeless: While poking around in launchpadlib overnight, I discovered how launchpad.projects manages to act like a dict.23:01
wgrantlifeless: It's a hack in launchpadlib to construct URLs manually, with hardcoded names and URL patterns for a few top level collections.23:02
lifelesswgrant: can you apply that to series ?23:03
wgrantlifeless: You probably could, but the infrastructure would need a bit of work, and it is a horrible hack that probably should be avoided so as to encourage a proper fix.23:04
wgrantlifeless: To be clear, these names and patterns are hardcoded inside launchpadlib's code itself, not the WADL.23:04
lifelesswgrant: that makes sense to me though23:48
lifelesswgrant: getFoo(arg) -> foo[arg]23:48
lifelesswgrant: as a compilable pattern23:48
wgrantlifeless: It really does.23:48
wgrantBut that'll need WADL changes, which probably means leonardr.23:49
lifelesswhy?23:49
lifelessI mean, can't we just observe that there is a getFoo23:49
wgrantlifeless: How do I tell launchpadlib which method to call?23:49
wgrantAnd which arguments to pass to it?23:49
lifelessgetFoo(name) => __getitem__(name)23:52
lifelesson a 'foo'23:52
wgrantlifeless: And export a method named '__getitem__'?23:53
lifelesseys23:53
wgrantEw.23:54
lifelesswhy ew?23:54
wgrantExposing names like that.23:54
lifelesswgrant: uhm, __getitem__ is []23:54
wgrantIt seems better (and reasonably easy) to a method decorator that tells the WADL generator to mark it as the default getter.23:55
wgrantlifeless: Yeah, I know.23:55
lifelesswgrant: I'm not saying put __getitem__ in the wadl23:55
lifelessI'm saying in the client side, use 'getFoo' to instruct the creation of a foo with a __getitem__23:55
lifelessassume the definition is fine, fix the compiler23:55
wgrantlifeless: where do I get the string 'getFoo' from?23:56

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