Merge lp:~julian-edwards/launchpad/enable-publish-ui-bug-520520 into lp:launchpad
Proposed by
Julian Edwards
Status: | Merged |
---|---|
Approved by: | Julian Edwards |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~julian-edwards/launchpad/enable-publish-ui-bug-520520 |
Merge into: | lp:launchpad |
Diff against target: |
100 lines (+19/-8) 4 files modified
lib/lp/soyuz/browser/archive.py (+1/-1) lib/lp/soyuz/configure.zcml (+1/-1) lib/lp/soyuz/interfaces/archive.py (+4/-4) lib/lp/soyuz/stories/ppa/xx-ppa-workflow.txt (+13/-2) |
To merge this branch: | bzr merge lp:~julian-edwards/launchpad/enable-publish-ui-bug-520520 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | code | Approve | |
Review via email: mp+20151@code.launchpad.net |
Commit message
Enable the archive +edit form to set the 'publish' flag
To post a comment you must log in.
= Summary =
Enable the archive +edit form to set the 'publish' flag
== Proposed fix ==
Simple addition to the form fields on the +edit page.
== Pre-implementation notes ==
== Implementation details ==
It's trivial!
== Tests ==
bin/test -cvvt xx-ppa-workflow.txt
== Demo and Q/A ==
= Launchpad lint =
This lint is all crack. I'm ignoring it. We really need to fix the linter.
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/stories/ ppa/xx- ppa-workflow. txt soyuz/interface s/archive. py soyuz/configure .zcml soyuz/browser/ archive. py
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ soyuz/interface s/archive. py declarations' (No module named fields' (No module named newPackagesetUp loader] Operator not preceded
40: [F0401] Unable to import 'lazr.enum' (No module named enum)
53: [F0401] Unable to import 'lazr.restful.
restful)
59: [F0401] Unable to import 'lazr.restful.
restful)
444: [C0322, IArchivePublic.
by a space
packageset= Reference( _("Explicit" ), required=False))
^
Interface, title=_("Package set"), required=True),
explicit=Bool(
title=
@export_ factory_ operation( Interface, []) loader( person, packageset, explicit=False): getUploadersFor Packageset] Operator not Reference( permissions= Bool(
def newPackagesetUp
468: [C0322, IArchivePublic.
preceded by a space
packageset=
^
Interface, title=_("Package set"), required=True),
direct_
title=_("Ignore package set hierarchy"), required=False))
@operation_ returns_ collection_ of(Interface) read_operation( ) Packageset( packageset, direct_ permissions= True): deletePackagese tUploader] Operator not
@export_
def getUploadersFor
490: [C0322, IArchivePublic.
preceded by a space
packageset= Reference( _("Explicit" ), required=False)) write_operation () tUploader( person, packageset, explicit=False): getPackagesetsF orSourceUploade r] Operator not Reference( schema= IPerson) )
^
Interface, title=_("Package set"), required=True),
explicit=Bool(
title=
@export_
def deletePackagese
525: [C0322, IArchivePublic.
preceded by a space
person=
^
@operation_ returns_ collection_ of(Interface) read_operation( ) orSourceUploade r(sourcepackage name, person): getPackagesetsF orSource] Operator not preceded permissions= Bool(
@export_
def getPackagesetsF
554: [C0322, IArchivePublic.
by a space
direct_
^
title=_("Ignore package set hierarchy"), required=False))
@operation_ returns_ collection_ of(Interface) read_operation( ) orSource( gename, direct_ permissions= True): isSourceUploadA llowed] Operator not preceded Reference( schema= IPerson) , s=Reference(
@export_
def getPackagesetsF
sourcepacka
583: [C0322, IArchivePublic.
by a space
title=_("Source package name"), required=True),
^
person=
distroserie
Interface, read_operation( ) llowed( sourcepackagena me, person, distroseries=None):
title=_("The distro series"), required=False))
@export_
def isSourceUploadA
654: [C0322, IArch...