Merge lp:~jelmer/launchpad/bug471148-ui into lp:launchpad/db-devel
| Status: | Merged |
|---|---|
| Approved by: | Jelmer Vernooij on 2010-03-04 |
| Approved revision: | no longer in the source branch. |
| Merge reported by: | Jelmer Vernooij |
| Merged at revision: | not available |
| Proposed branch: | lp:~jelmer/launchpad/bug471148-ui |
| Merge into: | lp:launchpad/db-devel |
| Diff against target: |
328 lines (+145/-14) (has conflicts) 9 files modified
database/schema/patch-2207-35-0.sql (+1/-1) database/schema/security.cfg (+2/-2) lib/lp/soyuz/browser/archive.py (+3/-2) lib/lp/soyuz/configure.zcml (+4/-0) lib/lp/soyuz/interfaces/archive.py (+3/-0) lib/lp/soyuz/model/archive.py (+35/-0) lib/lp/soyuz/tests/test_archive.py (+53/-0) lib/lp/soyuz/tests/test_processor.py (+2/-0) lib/lp/soyuz/tests/test_publishing.py (+42/-9) Text conflict in lib/lp/soyuz/configure.zcml |
| To merge this branch: | bzr merge lp:~jelmer/launchpad/bug471148-ui |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Nelson (community) | ui | Approve on 2010-02-26 | |
| Abel Deuring (community) | code | 2010-02-26 | Approve on 2010-02-26 |
|
Review via email:
|
|||
Commit Message
Add a button in the archive admin form to allow or disallow builds on ARM.
| Jelmer Vernooij (jelmer) wrote : | # |
| Abel Deuring (adeuring) wrote : | # |
(14:46:44) adeuring: jelmer: could you add doc strings to _get_arm_
(14:47:36) adeuring: jelmer: sorry... i mean _set_arm_
(14:47:54) jelmer: adeuring: ok
(14:48:34) abentley [~<email address hidden>] hat den Raum betreten.
(14:49:15) adeuring: jelmer: there is an "elif" in set_arms_
(14:51:04) adeuring: jelmer: and (sorry about all these nitpick for one method...): The comment "a link is required but it is present" is a bit enigmatic, at least for me. What about sonething like "Arms builds are already enabled"?
(14:51:41) jelmer: adeuring: Sure, that's more sensible indeed.
| Michael Nelson (michael.nelson) wrote : | # |
So just an update of the label text for now (other tiny improvements possible and outlined below, but can be made later).
16:43 < jelmer> noodles: Could you perhaps do a quick UI review?
16:44 < noodles> yeah, I'm just trying to get the 7th branch in my pipe through too.
16:44 < jelmer> We've just added a checkbox
16:44 < noodles> Sure.
16:44 < jelmer> http://
16:44 < edbot> Bug 471148 is private
16:44 < jelmer> I'm uploading a screenshot
16:44 < noodles> Great.
16:45 < noodles> Have you got an MP ready? (You can make it a "work in progress" one).
16:46 < jelmer> https:/
16:46 < edbot> Bug 471148 is private
16:46 < jelmer> abel has already reviewed the code
16:50 < noodles> jelmer: you guys are aware of the conflict right?
16:51 < noodles> oh, it's not in the diff...
16:51 < noodles> ah, yes it is :)
16:52 < noodles> Just a conflict with bigjools' configure changes from yesterday.
16:52 < jelmer> ah
16:52 < jelmer> I'll have a look
16:52 < jelmer> thanks
16:53 < bigjools> noodles: where are you seeing a conflict notified?
16:53 < noodles> bigjools: on jelmer's MP
16:53 < bigjools> oh - lol :)
16:53 < bigjools> thought it was db_lp
16:58 < jelmer> noodles: Muharem is uploading the screenshot, my launchpad instance is b0rked for some reason
16:59 < noodles> jelmer: I've merged it locally, so I'll run it here.
16:59 < noodles> But the screenshot will still be handy.
17:00 < al-maisan> noodles: here you go: https:/
17:00 < edbot> Bug 471148 is private
17:00 < noodles> Ta
17:03 < bigjools> fixed, thanks :)
17:04 < noodles> al-maisan, jelmer, wording-wise, I think "Allow ARM builds for this archive" (note: without a period) would be more consistent?
17:05 < al-maisan> hm .. hm .. OK
17:06 < noodles> If you've got other thoughts, just shout them out, I'm just comparing to the other checkboxes on that form (and looking for other examples).
17:07 * jelmer fix0rs
17:07 < noodles> And oh, would you mind cleaning up the capitalization on that form, there's lots of Headline Case for all the labels, that should be
17:07 < noodles> eg
17:07 < noodles> Require Virtualized Builder, Buildd Secret etc.
17:08 < noodles> (they probably have never been updated since we had the UIwording guidelines).
17:09 < noodles> But I'll understand if you don't want to risk test breakages etc. this late on Fri. afternoon.
17:09 < bigjools> hehe jelmer changed his gravatar again :)
17:09 < jelmer> bigjools: I just uploaded a bunch of images and gravatar makes it very easy to switch :-)
17:09 < bigjools> you need a floaty head!
17:09 < jelmer> noodles: Yeah, it'd be nice if we could just land this for now
17:09 < noodles> so ui=me just with the updated label for your checkbox.
17:09 < noodles> Yep.
17:10 < jelmer> noodles: I've made the wording change on the checkbox label
17:10 < noodles> Great.
17:10 < jelmer> noodles: Thanks!
17:10 < noodles> NP.

Add a button in the archive admin form to allow or disallow builds on ARM. This uses the previously added infrastructure (lp:~jelmer/launchpad/bug471148, lp:~al-maisan/launchpad/restricted-ui) that provide generic support for restricting architectures to certain PPA's.
Because of time constraints we have only added a checkbox for ARM in the UI for now, since there is an immediate need for that.