/srv/irclogs.ubuntu.com/2006/10/31/#launchpad-meeting.txt

=== poolie [n=mbp@ppp112-44.static.internode.on.net] has joined #launchpad-meeting
=== jamesh [n=james@203-59-208-48.dyn.iinet.net.au] has left #launchpad-meeting ["Client]
=== lifeless [n=robertc@ppp245-86.static.internode.on.net] has joined #launchpad-meeting
=== lifeless [n=robertc@ppp245-86.static.internode.on.net] has joined #launchpad-meeting
=== ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad-meeting
=== jamesh [n=james@203-59-208-48.dyn.iinet.net.au] has joined #launchpad-meeting
ddaawow! colors in the pending branches summary!12:20
ddaalooking at the diff now12:21
ddaahttps://devpad.canonical.com/~jamesh/pending-reviews/tim/launchpad/spec-branches/full-diff12:21
ddaaso... one of the things we agreed on with tim12:22
ddaawas _not_ to make spec branches look like bugbranches12:22
jameshokay12:22
ddaain particular, the rule of thumb was "no YAGNI"12:22
ddaaso, no bugbranch status12:22
ddaauh12:22
ddaano specbranch lifecycle12:22
ddaaspecificationbranch.summary was added on poolie's request12:23
ddaawe also decided to make the specbranch page a form12:23
jameshso this would be used for comments related to the connection as opposed to spec.whiteboard or branch.whiteboard12:24
ddaayes12:24
ddaathe sort of thing you'd display in body of the spec page and the branch page12:25
ddaaso, unlike the rest of launchpad, where every object has one read-only _page_ and a number of forms, we decided to have a single form for spec branch that allows editing the details _and_ deleting the spec-branch.12:25
jameshso, the main things needed is the browser code, then?12:25
=== ddaa goes back at the diff
ddaaright... the form declaration in the zcml is commented out12:27
ddaanote that defaultView is +status12:27
jameshso who should be able to edit what?12:28
ddaano comment on specificationbranch.summary too12:28
ddaamh12:28
jamesh+      <require12:28
jamesh+          permission="launchpad.AnyPerson"12:28
jamesh+          set_attributes="summary" />12:28
ddaaI guess the answer would be something "who has the right to edit spec details"12:28
jameshis that accurate?12:28
ddaabut I'm at a complete loss with the spec permission scheme...12:28
ddaamh...12:30
ddaait's fine with me12:30
ddaado you have a better suggestion?12:30
jameshif the idea is to have a single form, and be able to delete the link from there, that sounds fine12:31
jameshno need to handle changing the branch or spec fields of the link12:31
ddaaright12:31
jameshIt does leave the question of who should be allowed to delete the link though12:32
ddaathe same as who is allowed to create it :)12:32
ddaajust "any authenticated user" seems fine to me12:32
jameshdo we base that on the specification permissions then?12:33
ddaaI have do not grok spec permissions12:33
ddaaI guess that to preserve the current level of permission it should be "whoever is able to edit the spec whiteboard"12:33
jameshyep12:34
jameshspec.whiteboard has launchpad.AnyPerson permission12:34
=== ddaa longs for a more expressive permission system
ddaathen go for it12:35
ddaaTo add a spec-branch, we also need at least one form. We have a branch vocabulary that can be restricted per product. I'm in favour of using the unrestricted branch vocabulary.12:36
ddaaand put the form in the context of the spec12:36
ddaathe add form should redirect to the context object (not the specbranch form), and allow setting the summary directly.12:38
ddaawhile you are at it, it would be nice if the branch vocabulary could be extended to recognise the canonical url of branches in launchpad.12:38
jameshyou mean the bazaar.launchpad.net ones?12:39
ddaainitially, we do not need the ability to create a spec-branch from the branch page12:39
ddaajamesh: I mean launchpad.net/people ones12:39
ddaaso people can find branches by browsing around, and copy-paste the url of the page, I remember I tried it myself in the past :)12:40
ddaabut that's arguably an orthogonal change12:40
ddaaThat all I can think of right now.12:41
ddaaKeep it as simple as possible, and maybe a bit more simple than that if you can get away with it.12:41
ddaaAny question?12:42
jameshnope.  I think that covers it12:45
ddaaOkay. Thank you for your help.12:46
=== _thumper_ [n=tim@tpsoft.gotadsl.co.uk] has joined #launchpad-meeting

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