/srv/irclogs.ubuntu.com/2009/06/15/#launchpad.txt

=== asac_ is now known as asac
trbshow can i remove a branch from my launchpad account ?02:31
lifelessdelete it in the web ui02:32
trbsi cannot find the link for it :(02:32
trbsaaah ic ... it's the little trash can icon02:33
trbsthanks lifeless ! :)02:33
=== Edwin is now known as Guest97449
=== ursula_ is now known as Ursinha
=== Edwin is now known as Guest88583
RenatoSilvaI want to put my useful scripts in the web. They're kind of mini-projects: not so big, often a single file, but useful...05:24
RenatoSilvaI think it would be annoying to create one project for each one, so I was think about creating a single project called "<mylogin>"  or "<mylogin>-utils" or so.05:26
RenatoSilvaHow about it?05:26
thumperRenatoSilva: you can just use +junk for that05:26
RenatoSilvawhat's +junk?05:26
thumperstuff not related to a project :)05:27
RenatoSilvaI don't get you yet, I'm still reading some docs05:27
wgrantRenatoSilva: Just use '+junk' in the branch URL where you'd normally put the project name.05:27
thumpereg https://code.edge.launchpad.net/~thumper/+junk/icerobots05:27
wgrantIt'll create a personal branch unrelated to a project.05:27
RenatoSilvabtw, what's the difference about a project and a branch?05:28
RenatoSilvathumper: so +junk is kind of meta-project to store code snippets and utilities?05:29
spivRenatoSilva: projects can have many branches, and bugs, and translations, download files, etc.05:29
thumperRenatoSilva: kinda05:29
thumperRenatoSilva: there are no bugs or answers for +junk05:29
spivRenatoSilva: more like "no project" than a meta-project.  It's named after http://www.samba.org/junkcode/ IIRC.05:30
RenatoSilvaspiv: can't branches themselves have bugs associated, etc?05:30
thumperRenatoSilva: junk branches are just branches you want to put on LP but are not part of something larger05:30
wgrantRenatoSilva: Not in the same way as projects have bugs, no.05:30
spivRenatoSilva: branches can be linked to bugs, but they can't *have* bugs, if you see what I mean.05:30
RenatoSilvajunk looks a weird name05:31
wgrant(when a branch is linked to a bug, it normally means that the bug is fixed - not present - in the branch.05:31
thumperjunk is a weird name05:31
thumperchosen on purpose :)05:32
wgrantthumper: To dissuade people from using it?05:32
thumperwgrant: to make people want to have real projects for stuff they really care about05:32
thumperif a branch is just a simple script, then sure, use +junk05:32
wgrantThat's the reason 'junk' was chosen for a similar purpose in my project, well before anybody who knew of LP was on the scene.05:32
RenatoSilvaspiv: link/have bugs? I need to read more in the wiki to understand this...05:33
thumperRenatoSilva: a bug can be linked to a branch, which can be seen from the bug and the branch05:33
thumperbugs have tasks, some of which can be on projects05:33
thumpera bug cannot have a task for a branch05:34
thumperother tasks are on distros, or source packages05:34
wgrantRenatoSilva: Have you been through the LP tour? That has a bit of discussion on how bugs work, IIRC.05:35
wgrantIt is fairly confusing.05:35
RenatoSilvaSo let me see, branches are just actual code, and projects is a more general idea around this code.05:36
wgrantRight.05:37
wgrantA branch is the actual substance of the project.05:37
wgrantBut a project can have hundreds of branches.05:37
wgrantAnd bugs.05:37
wgrantAnd blueprints.05:37
wgrantAnd downloads.05:37
RenatoSilvawgrant: I tried to use translations a long time ago to help Ubuntu. I found that part confusing.05:37
RenatoSilvawgrant: here in Brazil we have a saying: tamanho não é documento. I think in english it's like "Good things come in small packages.", i.e., the value of a software can't be measured by how many files it consists on.05:46
RenatoSilvasome of my useful stuff are just single files thanks to guys like Matz which has invented stuff like Ruby05:46
thumperRenatoSilva: LP doesn't care how big your code is, if it is useful and open source, we're happy for you to have a project for free05:48
thumperin fact I'm not sure we even discriminate on useful...05:49
RenatoSilva+junk seems that the code is , hmm, junk.05:49
thumpersome code is junk05:49
wgrantJunk has a couple of different meanings, unfortunately.05:50
RenatoSilvaI think +junk is not a good place, it's not even a project05:50
RenatoSilvait's kind of sand box, it seems to me05:50
RenatoSilvaWould it be a better idea to create a <-my-login-name> project?05:50
spivRenatoSilva: See the description on http://www.samba.org/junkcode/; "The reason I call this 'junkcode' is that I have no plans to properly document, package or support this code. If you find it useful then that's great ..."05:50
spivRenatoSilva: that's the sort of thing that Launchpad's +junk is good for.  Code you want to share, but not turn into fully-fledged projects for whatever reason.05:51
wgrantAnd if you do eventually want to turn it into a project, you can easily do so later.05:52
lifelessRenatoSilva: it is a per-user sandbox; calling it by the usersname would lead to urls like ~USERNAME/USERNAME, and make usernames have to be distinct from projects.05:53
RenatoSilvaspiv: that's not the idea of little projects consisting in one file. Just imagine you created 5 nice and useful softwares, but "unfortunately" they're just too simple. They become simple thanks to your scripting language or anything else. However you do want to share the code, document, solve bugs, etc. _But_: in a easy way, the cost of doing this being proportional to the simplicity of the "project".05:54
lifelesswell, I think +junk should be permitted bugs05:57
RenatoSilvawgrant: can you get what I mean? separate code by 'junk' and 'project', there is too much blank space between them. I think there's a problem with the word "project". Your software don't need to be a prooooject to be useful and worth to share, it doesn't mean that it is a 'junk' tough. Can you get what I mean...05:57
lifelessbut thats a different storey05:57
RenatoSilvaI think I'll ahve to create a project named after my login name05:57
wgrantRenatoSilva: Yeah, I see what you mean.05:57
wgrantIn Ubuntu, we have lots of little scripts. They all end up in the ubuntu-dev-tools project, although they're mostly independent.05:58
spivRenatoSilva: personally, I'd just make a project per thing, even if they are just single files then.05:58
wgrantBut that's a bit different from your situation, since it makes sense to have ubuntu-dev-tools grouped together.05:58
wgrantwhereas your grouping would be by author, which is probably not a good idea.05:58
wgrantSo, I agree with spiv.05:58
RenatoSilvaspiv: project sounds like a project, something you're planning to do and is doing, something big.06:01
RenatoSilvato me06:01
spivRenatoSilva: then don't think of it as that, think of it as "free thing I need to have to have a Launchpad bug tracker for my software"06:01
RenatoSilvawgrant: what is dev-tools for? utilities for developing ubuntu?06:01
spivEasy ;)06:02
wgrantRenatoSilva: They're useful utilities for Ubuntu developers, yes.06:02
RenatoSilvaspiv: it's like having to choose between coffee and milk, when you just want coffe _with_ milk :)06:07
spivRenatoSilva: would that be a latte or a cappuccino or a macchiato or ... ;)06:08
RenatoSilvawgrant: project in my case would mean just a meta-project, to get the infra-structure to support the utilities. Its name would work just like a bucket...06:09
RenatoSilvaor a tag...06:09
RenatoSilvaGithub has some work on this idea... it's a versioned paste bin I can't recall the name06:11
RenatoSilvayou paste code there, and it becomes kind of mini-project06:12
RenatoSilvaOh, it's here: http://gist.github.com/06:13
wgrantThat is interesting.06:15
RenatoSilvawhen I open a bug, can I select the branch where it happens, if I know where? For example, imagine I write a patch to Ubuntu, apnd put it into a branch. Then someone download the branch to test, but find a problem. The bug report must be associated to a project, obviously the one associated with the branch. Can you get what I mean? How to report bugs and request support (answers) related to a specific branch?06:26
lifelessyou can link bugs to branches06:32
wgrantBut since Bug<->Branch link statuses have been removed, doesn't such a link imply the *fix* is in the branch?06:33
RAOFBut that's really the other way 'round, isn't it?  IE: this branch _fixes_ this bug?06:33
lifelessRenatoSilva: I think you are thinking about the problem in a different way than launchpad presents it06:34
RenatoSilvadoesn't the link feature stand that?06:34
lifelesslp treats the project as the central core that people consolidate around06:34
wgrantBugs do have branch-specific task, but only if your branch is a series branch.06:34
wgrantI don't know what you're meant to do if you need to track bugs on an in-progress branch.06:35
lifelessand branches are short lived entities that new code is developed in06:35
RenatoSilvalifeless: likely. So what would be the right way?06:35
wgrantlifeless: In Launchpad, maybe.06:35
lifelessRenatoSilva: file a bug on the project, done06:35
wgrantlifeless: But most projects don't have an 800-line limit.06:35
wgrantAnd branches can go on for months.06:35
lifelesswgrant: as I said, how lp treats it.06:35
RenatoSilvalifeless: even if the problem is with a branch?06:35
lifelesswgrant: lets not confuse this discussion; we can come back to modelling terms in a sec06:36
lifelessRenatoSilva: if your branch is so long lived that its an entity of its own its really a fork isn't it?06:36
lifelessa fork, or a different flavour - what launchpad calls a 'series'06:36
wgrantA series isn't a fork.06:37
wgrantForks generally have different ownership.06:37
lifelesswgrant: I know, thats why I said or06:37
lifelesswgrant: which in english is the xor operator.06:38
RenatoSilvalifeless: a temporary fork06:38
wgrantlifeless: I took the 'or' to be an 'in other words' - sorry.06:38
lifelessRenatoSilva: could you expand on that?06:38
RenatoSilvalifeless: it's a separate work you _want_ to merge into main code, but in the meantime your own branch has a life, bugs can happen, you should have to maintain, to document, to support while other people are testing your branch/fork06:39
RenatoSilva*you could have06:40
lifelessso lp doesn't directly model this at the moment. What I'd do is tag bugs of that nature with the name of the reason-for-that-branch06:40
lifelessremembering that many people could be working on the same featureset06:40
RenatoSilvabranches are also projects themselves06:40
lifelessnot in lp06:41
RenatoSilvathen I come back to my question06:41
lifelessI appreciate how you're modelling it though. Its just not how lp approaches the problem.06:41
RenatoSilvato my point06:41
lifelessyou're modelling branch implies project06:42
RenatoSilvayou'll have to use the global infra-structure (the project) to report a bug on a specific branch06:42
lifelessbut project is heavyweight06:42
lifelessit implies separate wikis developers mailing lists and all sortsof other things06:42
lifelessif you imagine that we didn't have DVCS systems and just collaborated with mailing lists and patches, you wouldn't routinely ask for a new mailing list to have a long lived development task for a project06:43
lifelessinstead you'd say on the list that this issue is specific to the feature-FOO development06:43
lifelessanyway; in lp you have some choices. You could:06:44
lifeless - create a series for the branch. File bugs on the series.06:44
lifeless - use tags06:44
lifeless - link the branch [though the LP machinery may do confusing things here as it assumes 'fixed in' is the relationship nowadays.06:45
wgrantCreating a series for a branch that is going to be merged into trunk is a very bad idea.06:45
lifelessI'd like to note though, that this is the first time I've seem someone ask for the ability to file bugs on a branch, over uhm, 5 years now.06:45
RenatoSilvaI'm not used to series yet, but aren't they related to the project?06:46
lifelessthey are06:46
RenatoSilvaso project is a list of series, which are lists of branches?06:46
wgrantlifeless: I've seen quite a number of bugs in Launchpad itself about features that I didn't know existed yet, and are some time away from landing.06:47
lifelessRenatoSilva: a project is well, a project. Like 'squid'. Or 'grep'.06:48
RenatoSilvalifeless: sorry06:49
lifelessRenatoSilva: a series is a well known branch of the project. Like 'trunk'. Or '2.3'.06:49
RenatoSilvaI'll read more about series later I think06:49
=== stub1 is now known as stub
RenatoSilvaA possible solution if you're about creating a patch and want it to "sound" like a project, would be maybe create a project???07:04
RenatoSilvaThsi way people can test your branch/fork and report bugs etc, because it is a full-featured project07:05
RenatoSilvawhen you work is finished, you delete the project (is it possible) and merge the branch into the main project07:05
wgrantCreating a project doesn't seem like a good solution for a temporary branch.07:06
wgrantAs projects can't really be deleted.07:06
RenatoSilva:(07:06
RenatoSilvacan you guys understand? Imagine you start a patch which is refused by main developers, but is yet useful for other people, so that they start to report bugs and try to collaborate and all tasks realted to projects. Then you'll tell people to use the main project page to report bugs and etc., but the main developers would not like this (supporting a refused branch). Then you decide to create a project, a fork. Then it becomes popular, and then main d07:11
spivRenatoSilva: you got cut off at "and then main d"07:12
RenatoSilva and then main developers now find it nice and want to merge the branch into main code. Then the fork project has no sense anymore...so it would be nice if you could delete the project, because it's a temporary project.07:12
spivRenatoSilva: but if you want to track bugs etc. in code rejected by the main developers then at that point you're maintaining a fork, so you may as well create a project for it.07:13
spivRenatoSilva: I don't think that scenario happens very often07:13
RenatoSilvaok07:14
spivRenatoSilva: usually because the main devs don't reject work like that outright07:14
* RenatoSilva actually can't remember why he's thinking about this...07:14
spivi.e. if it's something they might merge later if more improvements are made to make it acceptable, then generally they'll say so.07:14
RenatoSilvaspiv: maybe they rejected it initially because it was porr code or so...but it impoves in the future07:15
spivRenatoSilva: sure.  So they'll say that.  That's not a good reason to make a fork.07:16
spivAlso, managing long-lived branches with large delta against the upstream branch is a hard problem in general.07:16
spivYou're continually trying to integrate divergent work, and when bugs occur you have to work extra hard to figure out if it's just your branch or if it's due to the upstream branch, etc.07:17
RenatoSilvaAnyway, about my not-so-junk repo. Is it better to put my few/single-file utilities into one single branch, or create one branch for each file?07:17
RenatoSilvaspiv: ok forget about it. I can't even recall the reason why I was thinking about this o.O07:18
spivIt's hard to say.  It really depends on how you want to interact with Launchpad, etc.  It's probably easiest to start with an all-in-one project for now while you get a feel for how managing projects and branches in LP works.07:18
RenatoSilvaspiv: it would be nice if you could delete or close projects tough07:19
spivOh, you were asking about one branch vs. multiple branches.  That doesn't really matter a whole lot either way if it's just a handful of small things.07:19
RenatoSilvaspiv: ok (about my repo)07:19
spivDo whatever seems easiest, it's not a big deal to change your mind later.07:19
RenatoSilvawouldn't it be weird one branch for a single file?07:20
spivNot really.07:20
RenatoSilvaoO07:20
spivNo more so than one branch for several unrelated pieces of code, certainly ;)07:20
lifelessif there isn't a common theme between the files, one branch with unrelated stuff is more weird.07:20
RenatoSilvaok07:21
RenatoSilvahum, "you don't earn karma from +junk branches. "07:30
RenatoSilvathat's a good definition for +junk branches :)07:30
RenatoSilvawhat's the diff between name and title when registering a project?07:59
lifelessname == url08:07
lifelessor url element actually08:08
wgrantlifeless: Not any more, on the new project page.08:11
lifelesswgrant: no?08:11
wgrantlifeless: That's the only place in Launchpad where it's different (it was changed with the new guided registration stuff a couple of months ago)08:11
lifelesswgrant: I made a new project on saturday.08:11
wgranthttps://edge.launchpad.net/projects/+new08:12
wgrantName, URL and title are requested.08:12
lifelessheh. well then08:13
lifelessno idea why I saw what I did in the weekend08:13
wgrantThat happens sometimes.08:13
wgrantI'm fairly concerned that it was rebranded URL there, but nowhere else.08:14
wgrant(no other views, nor the model...)08:14
robin_Hi, guys. What is the files in .bzr/packs/*? I found them are very large.08:21
RenatoSilvaso what's the diff08:22
robin_I want to create new branch from existing branch in launchpad. Then I get the existing branch bzr branch lp:**********.08:23
robin_But there are lots of bzr files in the directory. In my new branch, can I delete these bzr files ?08:23
wgrantRenatoSilva: Taking bzr as an example, its name is 'Bazaar', but its title is 'Bazaar Version Control System'. Some Launchpad components follow that convention, with the title including a few words describing what it is.08:24
wgrantrobin_: Lots of bzr files?08:24
wgrantrobin_: What do you mean?08:24
RenatoSilvawgrant: ah ok08:25
=== abentley1 is now known as abentley
robin_wgrant: like .bzr/repository/packs/some.pack files.08:25
wgrantrobin_: Those contain the actual bzr version control data.08:26
RenatoSilvawhat good name and title would be for my utilities?08:26
wgrantrobin_: In general, poking inside .bzr is a Very Bad Idea.08:26
RenatoSilvacould the name be just RenatoSilva?08:26
wgrantDelete those packs, and you break your history.08:26
robin_wgrant: But I found they are very large. For example, I get the branch sized 871M, but the bzr files sized 600M.08:27
wgrantrobin_: They store diffs to reproduce every file in the history of the branch, so they can be very large. But you can sometimes make them a bit smaller by running 'bzr pack'08:28
robin_wgrant: OK. But if I want to create new branch from existing branch in launchpad. The bzr files of existing branch should be reserved?08:30
wgrantrobin_: Yes. But you can share that data between multiple local branches using a shared repository.08:31
wgrantrobin_: And if the branch is in a new enough format, pushing the new branch up to Launchpad will only push the new data (using the stacked branches feature).08:31
robin_wgrant: I do it like this: bzr branch lp:~****. I get the existing branch in a directory, say, existing-branch. And I want to push it to new branch, say, new-branch.08:33
robin_wgrant: Should I run "bzr init-repos" before I push the new branch "bzr push lp:~my-id/****"?08:34
RenatoSilvaconfusing: http://bazaar-vcs.org/Branch.08:34
wgrantrobin_: I would create a directory where I'm going to keep the project's branches, and run 'bzr init-repo .'. Then 'bzr branch lp:someproject'. Then I can 'bzr branch someproject new-branch'.08:34
wgrantrobin_: Then you hack away in new-branch, and 'bzr push lp:~user/project/branch'08:35
wgrantYou've only got one copy of those huge packs locally, because of the shared repo.08:35
robin_wgrant: The help of launpad.net does not explain bzr init clearly.08:35
wgrantrobin_: Probably because it's more a bzr question than a LP question.08:36
wgrantrobin_: Which page are you looking at?08:36
robin_wgrant: https://help.launchpad.net/Code/08:37
wgrantrobin_: There are a few bzr documentation links there. Did you look at them?08:38
robin_ wgrant: Could you give some examples? What I want to do is: 1. Get existing branch;   2. Start my branch from existing branch;   3. Working on my new branch. The most problem confused me is bzr init-repo.08:39
robin_ wgrant: Or, could you explain bzr init-repo? Thank you very much!08:40
wgrantrobin_: 'bzr init-repo .' will create a shared repo in the current directory. Do you understand what a shared repo does?08:41
robin_I am sorry. no:)08:42
wgrantrobin_: Since the revision history data can get very large (which is what caused you to ask in the first place), bzr needs some way to share this data between multiple local branches.08:43
wgrantOr we'd all need very big hard disks.08:44
wgrantShared repos do this - if I create a branch in a shared repo, its revisions are in fact stored in the shared repo.08:44
wgrantSo if I branch from that branch into the same shared repo, the revision data doesn't have to be copied.08:44
robin_wgrant: Got it. Should I run bzr init-repo before getting  the existing branch of after getting the existing branch?08:46
wgrantrobin_: Before - otherwise when you get the existing branch, bzr won't know to put the data in the shared repo.08:46
robin_wgrant: Does the things are: I run bzr init-repo to set up the shared repo; And I download the existing branch as my new branch: bzr branch lp:~existing-branch my-new-branch; Then I can work in my-new-branch  directory?08:48
wgrantrobin_: Since you are likely to want to make more than one branch, and it's useful to be able to look at the existing branch, I'd first get a copy of lp:~existing-branch in my repo.08:50
wgrantSo, just 'bzr branch l:~existing-branch trunk', or something like that.08:50
wgrantThen to create your branch: 'bzr branch trunk new-branch'08:51
robin_wgrant: I got it. But what is the different between bzr init and bzr init-repo?08:54
wgrantrobin_: init creates a branch. init-repo creates a repository.08:55
wgrantrobin_: A repository just stores data for one or more branches.08:55
wgrantrobin_: A branch is the thing that has a history of code.08:55
robin_wgrant: Should I run bzr init when creating my new branch of another branch?08:57
wgrantrobin_: No. 'bzr init' starts a new branch, with empty history. 'bzr branch' basically copies a branch, so the init is not required.08:58
robin_wgrant: OK! I am clearly about it. Thank you very much!!09:00
wgrantrobin_: No problem.09:01
RenatoSilvaI'm trying to run this:09:27
RenatoSilvabzr push lp:~renatosilva/+junk/solenoid-moin-theme09:27
RenatoSilvacommand-line: line 0: Bad configuration option: ClearAllForwardings09:27
RenatoSilvabzr: ERROR: Connection closed: please check connectivity and permissions09:27
RenatoSilvaWhat could be wrong? Pagean is running with my key09:29
RenatoSilvaPageant09:29
LarstiQRenatoSilva: that seems like your ssh client config is borken09:37
RenatoSilvait seems that I must unblock some process in the firewall but it is not bzr.exe09:42
RenatoSilvashould be pageant, putty?09:42
RenatoSilva I deactivated firewall and it didn't worked09:46
tymofiyhi there.10:38
tymofiyis there any way to submit translation to launchpad besides web-interface ?10:39
lifelesspossibly via API's. And you can upload files too.10:40
dpmtymofiy: you can translate files locally and then upload the translated PO file to launchpad.10:40
dpmI don't think there is an API for that yet, but henninge might be able to tell you more on that10:41
tymofiyok, thanks.10:43
tymofiythrough I expected some bazaar integration10:44
lifelessthere is, at the moment though I think its output only10:44
wgrantLaunchpad can import translations and templates from bzr.10:44
wgrantlifeless: *input* only, in fact.10:44
tymofiywhat a pity.10:44
wgranthttp://blog.launchpad.net/translations/import-translations-from-bazaar-branches10:45
james_wwgrant: bear in mind that that might be output from lifeless' perspective ;-)10:45
dpmtymofiy: there is a planned feature for automatically committing translations to bzr branches as well10:45
wgrantjames_w: Ah, that's true.10:45
tymofiyI have seen it, is there any plans for output? for localizers to be able to commit translations?10:46
lifelessactually, I thought lp could only write to bzr branches as I was discussing mechanics of that with abentley a few weeks ago10:46
wgrantlifeless: Ah, so sounds like it's coming soon, then. I wasn't aware of more than the fact it was planned.10:47
=== henninge_ is now known as henninge
henningewgrant, lifeless, tymofiy: That feature is currently under development and is scheduled for this cycle.11:01
henningeif other things don't get in the way ...11:01
henningetymofiy: It is already possible for translators to commit, if I understand correctly what you mean by that.11:04
=== intellectronica changed the topic of #launchpad to: https://launchpad.net/ | Help contact: intellectronica | Join https://launchpad.net/~launchpad-users | Channel logs: http://irclogs.ubuntu.com | Open Sourcing: https://dev.launchpad.net/OpenSourcing
RenatoSilvathank you guys, I'm leaving, bye.11:28
abentleylifeless, dpm, tymofiy: Some implementation has been done, but the feature's not finished yet, AIUI.12:38
=== mrevell is now known as mrevell-lunch
didrockshi! Is there any way to check the permission level with launchpadlib the user chose when launching "get_token_and_login" (I don't find anything related to this in https://help.launchpad.net/API/launchpadlib)13:34
intellectronicadidrocks: i'm pretty sure there isn't, but it's worth asking leonardr when he's around13:38
leonardrdidrocks: you can only check that from the website13:39
didrocksleonardr: so, if the user click on the wrong button, I can't know it before first crash in editing, for instance?13:39
leonardrdidrocks: i believe so13:40
didrockshum. I was thinking about using manage-credentials to do that without opening the browser13:42
didrocksit's working well on edge, but crashing on staging13:42
didrocksnot good if I want to test and don't create a tons of projects automatically :D13:43
=== mrevell-lunch is now known as mrevell
leonardrdidrocks, what is manage-credentials, a script?13:46
didrocksleonardr: yes, in ubuntu-dev-tools package13:47
james_wleonardr: yeah, it's in ubuntu-dev-tools so that every tool there doesn't have to deal with creating credentials13:47
james_wit has a mode where it will just not open the browser and grab the token for you, which I guess is what doesn't work on staging13:48
leonardrhow does it grab the token without opening the browser?13:49
james_wdo you really want to know?13:49
leonardrjames_w: yes, because you might be phishing13:50
james_wit takes --email --password and --level options and does the login and post itself13:50
leonardryeah, you're phishing13:50
james_wI'm not very keen on having it there13:50
leonardryou're negating the security advantages of oauth13:50
didrocksjames_w: that'w why I was asking a cleaner method to check access level once the token is given :)13:50
didrocksthat's the only part which interests me in my case :)13:51
didrocks(my tool need write level on LP given by the user, otherwise, it's unusefull)13:51
james_wnegating some of the advantages at least13:51
leonardrdidrocks: feel free to file a bug asking for introspection on the token within the web service. i've argued for that in the past but it's been shot down. if you show that people want it it's more likely to happen13:52
leonardrjames_w: what's left? you're acting the same as a website that asks for your facebook password13:52
james_wleonardr: can we extend the interface so that an app can say in the OAuth request "I need write permission", and then LP provides a different interface13:52
james_w?13:52
leonardrjames_w: that'd be one way to solve it13:52
james_wleonardr: but I can (and have) verified that the tool doesn't store the password13:53
didrocksjames_w: it's exactly what I want "write access" or "deny"13:53
james_wit's not the default behaviour of this tool or anything, and as I said, I'm not that keen on it13:53
leonardrjames_w: you're training users to enter their launchpad password into any app that asks for it13:53
james_wno I'm not13:53
leonardrwhoever uses manage-credentials is13:54
james_wand I encouraged didrocks to not do it this way, but with the interface that LP currently provides it requires a lot more work for the person writing the app13:54
didrocksthat's why I wanted to change this. But I really need a way to check or restrict the user choice for granting access13:55
leonardrjames_w: i want to make the interface as easy as possible, but the whole point of oauth is to let us tell users "you should NEVER enter your launchpad password unless you are IN YOUR WEB BROWSER and AT THE LAUNCHPAD SITE"13:55
james_wif it's possible to do this in the OAuth request then I will file a bug listing the cases that I think we should cater to13:56
leonardrif there's anything i can do to make things easier within that constraint, let me know and salgado and i will be happy to do it13:56
james_wleonardr: I have the same aim13:56
james_wgreat13:56
james_wI'd be looking for bugs under launchpad-foundations?13:56
leonardrjames_w: yes, i think so13:57
james_wI'll file one now then13:57
james_woh, it's already there13:57
james_wbug 19955513:58
ubottuLaunchpad bug 199555 in launchpad-foundations "Define a way for consumers to specify the access level they want when asking for a request token" [Medium,Triaged] https://launchpad.net/bugs/19955513:58
leonardrjames_w: there are some new credential-getting methods in launchpadlib you might not be aware of13:59
leonardrand once i can land the code you'll be able to get public read credentials anonymously, without making the user log in13:59
didrocksleonardr: I completed this bug report13:59
james_wthat's cool14:00
james_wI've not looked at the new lplib14:00
james_wI'm still working my way through packaging the new/updated dependencies14:01
leonardrdidrocks: what's the bug number? i'm probably going to merge it into 19955514:01
didrocksleonardr: I added a comment to 19955514:01
leonardrok, great14:02
didrocksso, I'm reverting to the traditional way, waiting for a better way to ask level access and not treating the exception meanwhile :)14:03
leonardrcool14:03
=== Pici` is now known as Pici
james_wadded my comment to the bug as well14:08
leonardrjames_w: i filed bug 387297 against ubuntu-dev-tools14:24
ubottuLaunchpad bug 387297 in ubuntu-dev-tools "manage-credentials should not ask for Launchpad password directly" [Undecided,New] https://launchpad.net/bugs/38729714:24
sinzuibarry_: ping14:39
barry_sinzui: pong14:39
=== barry_ is now known as barry
sinzuibarry: I don't think you are on #launchpad-code, are you ready for our standup?14:40
barrysinzui: yep. could be irc disconnected me14:40
* RenatoSilva thinks that +jungle would be better than +junk.14:55
=== MaWaLe is now known as MosquitoOo
RenatoSilva I tagged a specific revision, but when I commit or push, it stands that there's nothing to change. Why?15:20
RenatoSilvaIt seems that new tags are not considered as changes15:20
kikoRenatoSilva, I'm not entirely sure, hmm15:24
kikoabentley, what do you think of the above?15:24
abentleykiko, RenatoSilva: tags aren't part of revisions, which is the main thing "push" considers when it emits that message.  I'll have to check whether they're pushed anyway in that case.15:26
RenatoSilvaI was talking in #bzr. Tags are pushed anyway.15:26
RenatoSilvaI just can't find them in Launchpad tough.15:27
leonardrjames_w: i just had a talk with flacoste and mars about bug 38729715:27
ubottuLaunchpad bug 387297 in ubuntu-dev-tools "manage-credentials should not ask for Launchpad password directly" [Medium,Triaged] https://launchpad.net/bugs/38729715:27
leonardri'm writing an update15:27
james_wcool15:28
RenatoSilvait seems a loggerhead issue15:29
RenatoSilvaabentley, kiko: bug 24673915:36
ubottuLaunchpad bug 246739 in loggerhead "tags are not available" [Wishlist,Triaged] https://launchpad.net/bugs/24673915:36
=== Guest88583 is now known as EdwinGrubbs
kikoRenatoSilva, are tags visible from anywhere on launchpad itself?15:45
=== Guest88583 is now known as EdwinGrubbs
RenatoSilvakiko: I don't think so15:47
didrockscan somebody create gtkhtml3.14 project in LP please? (it differs from gkthml)16:17
=== dpm_ is now known as dpm
=== matsubara is now known as matsubara-lunch
ftadidrocks, can't you do it yourself?16:55
didrocksfta: I think, but the process was to ask to jcastro (I don't know if he setup particular things like upstream bug) and as he is busy, he told me to ask here :)16:58
ftaoh, ok then. i thought it was open to anyone.16:59
ftaripps, is https://edge.launchpad.net/~ripps818/+archive/staging fully automatic now?17:00
ftaoops, wrong channel17:00
rippsfta: Having put it in a cron job yet, but it still works everytime I run the script so far.17:01
ripps*Haven't17:01
ftaexcellent17:01
kikodidrocks, go ahead and create it and I can do any admin stuff on it that is necessary17:02
didrockskiko: I just don't know what can of admin stuff jorge is doing, if he does :). I will ask him later, when he will be less busy17:03
kikowell, just show me -- it's likely to be checking the project, linking it to any ubuntu packages, reassigning it to ~registry etc17:04
didrockskiko: ok, I created https://edge.launchpad.net/gtkhtml3.1417:08
didrocksthis has to be related to this package: https://edge.launchpad.net/ubuntu/+source/gtkhtml3.1417:08
kikolet me check17:08
didrocksI tried to set the maintainer to "Registry Administrators", but as I'm not part of the team, I can't17:09
didrockskiko: if you want a recent example jcastro has done, you can check there: https://edge.launchpad.net/libgtop17:09
kikodidrocks, can you confirm they use the gnome bug tracker?17:18
didrockskiko: I'm looking, maybe pedro knows this17:22
didrockskiko: I'm not sure if they use gtkhtml as a product, or gtkhtml2... I prefer to ask to pedro first17:23
ahasenackhi guys, the landscape "later" milestone is still timing out in LP (production and edge), any news about that? It has 287 bugs, most of them private, and from previous discussions I understand this is the issue (the security check)17:28
=== matsubara-lunch is now known as matsubara
=== soeb is now known as soeb|afk
=== soeb|afk is now known as soeb
kikoahasenack, that's interesting! do you have an OOPS ID for us?18:01
=== salgado is now known as salgado-afk
=== salgado-afk is now known as salgado-lunch
stefanlsdFrom the Launchpad API, what does 'Link to a file resource. ' mean?18:04
intellectronicastefanlsd: it's a link to a file, hosted on the launchpadlibrarion18:06
stefanlsdintellectronica: in this case, i would like to attach a file to a bug report...18:07
intellectronicastefanlsd: you can use the addAttachment (iirc) method on Bug18:08
stefanlsdintellectronica: yeah. I am looking at the API doc for it, although the one required field is  'Link to a file resource'. I've tried a python file resource, but doesnt seem to work18:09
intellectronicastefanlsd: i think you just pass the data itself when using launchpadlib18:11
Scurzhi18:27
ScurzI've created a new mailing list on launchpad and would like to know who (if these personn are presents) accepts or refuses the new mailing lists ?18:28
beunoScurz, approved18:29
Scurzbeuno: oh, thanks to you !18:30
Scurzhmm, I have a question, can I subscribe someone to the mailing list who has no account on launchpad ?18:33
=== ripps_ is now known as ripps
beunoScurz, no, only launchpad memebers can subscribe18:50
Scurzbeuno: ok19:05
vadi2Where can I go to unsubcribe from bug mail from a particular project?19:06
=== salgado-lunch is now known as salgado
vadi2ah, got it. wasn't really intuitive to me, I looked everywhere in my personal preferences first, and 'Subscribe to bug mail' when I want to unsubscribe is eh :)19:12
=== thekorn_ is now known as thekorn
aboudreaultemm...19:35
aboudreaultI selected "Copy binaries ..." in launchpad and my package is "waiting to be built"19:36
aboudreaultAnd that build should fails at the upload ... it's the second time I got a similar error19:36
aboudreaultDoes that bug is known ?19:37
kikoaboudreault, it's more likely that there's something wrong with the package19:37
aboudreaultWhat could be wrong ?19:38
kikoaboudreault, you can try asking cprov for help, or at least paste-bin the build failure so others can see it19:38
kikoit /could/ be a bug -- there is a bug around that is related to binary copies indeed -- Ursinha or matsubara can find the number for us19:38
cprovaboudreault: point me to the PPA page, I can take a look19:39
aboudreaultthe packge built successfully.... for jaunty. Then I just wanted to copy binaries to intrepid. And ... a rebuild is "forced" or something...19:39
aboudreaulthttps://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable19:39
aboudreaultYou can see the package gdal-ecw , which has a failure for intrepid19:39
aboudreaultand I'm absolutly sure that I've selected "copy binaries" and not the rebuild option.19:40
aboudreaultoff course, I can solve this by creating a package-1-1~intrepid1 version... just wanted to report it.19:41
cprovaboudreault: fear not, I'm checking.19:44
aboudreaultOk, will wait19:45
cprovaboudreault: did you get an copy error before it succeed ?19:51
cprovaboudreault: which forced you to re-select the source you wanted to copy  ...19:52
aboudreaultnot for intrepid. it has been copied without error. after, tried to copy the package from jaunty to hardy, and get the error that the package was building for intrepid.19:52
cprovaboudreault: that's weird, let me play more with it in my ppa. You can just delete the intrepid copy and copy again from jaunty with binaries.19:57
aboudreaultOk... will try to recopy19:59
=== soeb_ is now known as soeb
cprovaboudreault: okay, let me know if it works or crashes this time. Sorry for the inconvenience.20:01
aboudreaultthe build status of the old one is set to the new copy.20:03
cprovaboudreault: yes, that's a side-effect of having a built in intrepid that shouldn't be there, although the repository will be sane now20:05
cprovaboudreault: i.e, jaunty and intrepid will have the same binaries (the ones built on jaunty)20:05
aboudreaultOk, so the package will be published as normal ?20:07
=== soeb is now known as soeb|afk
cprovaboudreault: yes, that's what we can find out in 3 minutes20:08
aboudreaultall right. thx20:09
cprovaboudreault: np.20:09
aboudreaultcprov: same problem with hardy20:12
aboudreaultwill do the same thing after the build fail20:12
cprovaboudreault: but you copied it while we were talking ?20:12
aboudreaultI just tried to copy it 2 minutes ago20:13
aboudreaultwhen the intrepid one was marked as "published"20:13
cprovaboudreault: I'm trying to reproduce it in my PPA and I can't, copy fails20:14
cprovwhat kind of race condition is that ...20:15
aboudreaultjust a guess, try selecting the "Copy binaries" option before selecting the destination serie.20:15
cprovaboudreault: found it, 'copy binaries' before there are any binaries published.20:18
aboudreaulthmm20:19
aboudreaultOk, will copy the binaries as soon as they are uploaded in the future20:19
cprovaboudreault: the backend thinks the source has failed in the series it was previously uploaded and retries it in the destination series.20:20
aboudreaultOk. my package for intrepid is marked "Published   14 minutes ago" but can't get it with apt-get update && install. I think I have to reupload a modified version.20:21
cprovaboudreault: that's the source, not the binaries.20:22
aboudreaultOk, will wait a while.20:23
aboudreaultbut if the build status is a failure, the binaries will not be published, no?20:27
cprovaboudreault: no, not this simple, your binaries are indeed not published. Let me digg more.20:28
aboudreaultall right.20:29
eagle00789how to fix the Cannot find svn repository root. problem??20:36
sinzuibarry:  ping20:37
barrysinzui: pong20:38
sinzuibarry I think you fell off #launchpad-code20:38
barrysinzui: irc sucks20:38
sinzuibarry: barry I'm reading https://bugs.edge.launchpad.net/launchpad-registry/+bug/35039020:38
ubottuLaunchpad bug 350390 in launchpad-registry "Duplicate Messages Across System" [Undecided,New]20:38
cprovaboudreault: the binaries are not being copied to the other series (the UI might be saying that, only one record in the information-message rendered after the copy)20:39
cprovaboudreault: are you selecting the jaunty published record to copy over the other series ?20:43
aboudreaultyes20:44
aboudreaultjaunty to intrepid,hardy20:44
cprovaboudreault: the copy works on https://edge.launchpad.net/~cprov/+archive/sandbox, despite of the fact the builds are broken, the binaries end up being published20:44
cprovaboudreault: in your case there are only binaries for jaunty.20:45
aboudreaultk, so for that time, I'll have to reupload a modified version of the package20:45
cprovaboudreault: if you can wait few minutes more, the binaries can be copied.20:47
aboudreaultUnfortunately, I gtg. I'll let the repository like it is... and reupload a new version (if needed) tomorrow morning.20:48
aboudreaultIf you have more info, keep me informed in private please. (to be sure I'll see the message)20:49
aboudreaultThanks again for your help.20:49
cprovaboudreault: deal.20:50
=== soeb|afk is now known as soeb
eagle00789how to fix the Cannot find svn repository root. problem??20:56
eagle00789this is my import url: svn://smartass.webhop.info:443/share/HDA_DATA/svn/ToolbarKiller21:03
eagle00789can someone check please what i did wrong so i can have launchpad do an import of the code??21:03
eagle00789anyone??21:11
eagle00789i'm struggling with this problem for days now...21:11
fta{code,bazaar}.lp should display the svn rev-ids when a branch is imported from svn. the bzr revs have no value upstream and are causing confusion. at least, the two should be display, like in bzr log21:14
fta+ed21:15
eagle00789and how to fix it??21:15
eagle00789the problem is that this still is a initial import wich doesn't run...........21:17
eagle00789this is the last problem i have to get launchpad working for me....21:29
=== afk is now known as mthaddon
thumpereagle00789: ask a question on launchpad-code project and include a link to the import branch21:51
eagle00789àlready done about 2 days ago. still no answer...21:52
eagle00789sorry, has been 4 days already21:53
eagle00789last post: https://answers.launchpad.net/launchpad-code/+question/7393021:55
Saviqhi all, any word on https://answers.launchpad.net/launchpad/+question/73756 ?22:02
eagle00789don't waste your breath here. i'm also still waiting for an answer on one of my questions22:30
Saviqyeah it seems there's not enough staff working @ launchpad recently22:33
eagle00789if there is any staff working at launchpad at al.22:34
eagle00789they are currently spending way to much time on open sourcing launchpad... (don't know how they can call it that, when the most used features of launchpad will remain closed source)22:35
exarkunenjoy your whine-fest22:40
eagle00789i'm not whining. it's just frustrating...22:40
eagle00789each and every question i ask everywhere lately is neglected. even Experts Exchange. have a question there open for more then 2 weeks now without ANY responce...22:41
Saviqeagle00789: still, this kind of attention won't get you any good22:46
eagle00789i know... you are right22:46
jkakarBug folks: thanks for adding the lp: to the beginning of branch URLs.  It makes pasting them a little bit easier, which adds up when you do it 20 times a day.23:13
RenatoSilvaHey guys, do you remember our talk about branches and projects?23:15
RenatoSilvaCan I create a project called "branches"?23:15
wgrantRenatoSilva: Why would you want to do that?23:16
wgrantUnless you have some software named 'branches', that seems like a bad idea.23:16
RenatoSilvawgrant: it's a meta project, just an alternative for +junk23:19
wgrantRenatoSilva: If you want bugs for your branch, you should probably just create a project for that branch.23:20
wgrantAnything else is probably going to be very ugly.23:20
RenatoSilvaa place to put non-project branches which aren't junk either23:20
wgrantRenatoSilva: If it is non-project, it is by definition junk.23:21
RenatoSilvawgrant: actually, bugs is secondary, the main thing is to publish code23:21
wgrantRenatoSilva: What is the benefit of having that project, rather than just using +junk?23:22
RenatoSilvawgrant: junk is a strong word, it sounds like old stuff, gabbage23:22
wgrantRenatoSilva: That's not the intended meaning here.23:22
wgrantAnd you don't work around bad terminology by creating hacks.23:22
RenatoSilvawgrant: main benefit is the label23:22
RenatoSilvawgrant: I just think it's a better neutral level, I can't avoid associating +junk with sand boxes or so. Maybe it's not the sense, but the word is strong.23:24
wgrantRenatoSilva: File a bug, perhaps. But creating projects with the same purpose as +junk isn't right.23:24
RenatoSilvas/level/label23:24
RenatoSilvawgrant: I do have some stuff here that 'junk' fits well, for example learning_java or so... but other stuff is more than junk, and less than project...23:27
wgrantRenatoSilva: Why is it less than a project?23:27
wgrantA project has no minimum size.23:27
RenatoSilvawgrant: I think it's annoying, imagine 50 projects of single files23:39
RenatoSilvasome code just do a litte but useful work, I think it's weird calling them proooojects23:40
RenatoSilvacan I really set up many projects of little stuff? Won't you find it annoying?23:41
RenatoSilvawgrant: bug 38755223:59
ubottuLaunchpad bug 387552 in launchpad "+junk is a bad label" [Undecided,New] https://launchpad.net/bugs/38755223:59

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