launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #18373
[Merge] lp:~wgrant/launchpad/archive-export into lp:launchpad
William Grant has proposed merging lp:~wgrant/launchpad/archive-export into lp:launchpad.
Commit message:
Export Archive's build_debug_symbols, publish_debug_symbols, and permit_obsolete_series_uploads on the webservice.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~wgrant/launchpad/archive-export/+merge/257396
Export Archive's build_debug_symbols, publish_debug_symbols, and permit_obsolete_series_uploads on the webservice.
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wgrant/launchpad/archive-export into lp:launchpad.
=== modified file 'lib/lp/soyuz/interfaces/archive.py'
--- lib/lp/soyuz/interfaces/archive.py 2015-04-10 11:43:29 +0000
+++ lib/lp/soyuz/interfaces/archive.py 2015-04-24 14:31:14 +0000
@@ -521,18 +521,22 @@
readonly=False, description=_(
"Only build the archive's packages on virtual builders.")))
- build_debug_symbols = Bool(
- title=_("Build debug symbols"), required=False,
- description=_(
- "Create debug symbol packages for builds in the archive."))
- publish_debug_symbols = Bool(
- title=_("Publish debug symbols"), required=False,
- description=_(
- "Publish debug symbol packages in the apt repository."))
+ build_debug_symbols = exported(Bool(
+ title=_("Build debug symbols"), required=False, readonly=False,
+ description=_(
+ "Create debug symbol packages for builds in the archive.")),
+ as_of='devel')
+ publish_debug_symbols = exported(Bool(
+ title=_("Publish debug symbols"), required=False, readonly=False,
+ description=_(
+ "Publish debug symbol packages in the apt repository.")),
+ as_of='devel')
- permit_obsolete_series_uploads = Bool(
+ permit_obsolete_series_uploads = exported(Bool(
title=_("Permit uploads to obsolete series"), required=False,
- description=_("Allow uploads targeted to obsolete series."))
+ readonly=False,
+ description=_("Allow uploads targeted to obsolete series.")),
+ as_of='devel')
authorized_size = exported(
Int(
=== modified file 'lib/lp/soyuz/stories/webservice/xx-archive.txt'
--- lib/lp/soyuz/stories/webservice/xx-archive.txt 2014-07-24 09:37:03 +0000
+++ lib/lp/soyuz/stories/webservice/xx-archive.txt 2015-04-24 14:31:14 +0000
@@ -41,6 +41,7 @@
... "/~cprov/+archive/ubuntu/ppa", api_version='devel').jsonBody()
>>> pprint_entry(cprov_archive_devel)
authorized_size: 1024
+ build_debug_symbols: False
dependencies_collection_link: u'http://.../~cprov/+archive/ubuntu/ppa/dependencies'
description: u'packages to help my friends.'
displayname: u'PPA for Celso Providelo'
@@ -49,7 +50,9 @@
external_dependencies: None
name: u'ppa'
owner_link: u'http://.../~cprov'
+ permit_obsolete_series_uploads: False
private: False
+ publish_debug_symbols: False
reference: u'~cprov/ubuntu/ppa'
relative_build_score: 0
require_virtualized: True
Follow ups