Merge lp:~abentley/launchpad/push-creates-package into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 13690 | ||||
Proposed branch: | lp:~abentley/launchpad/push-creates-package | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
543 lines (+162/-40) 15 files modified
lib/canonical/launchpad/xmlrpc/configure.zcml (+3/-0) lib/canonical/launchpad/xmlrpc/faults.py (+11/-0) lib/lp/code/tests/helpers.py (+14/-0) lib/lp/code/xmlrpc/codehosting.py (+11/-0) lib/lp/code/xmlrpc/tests/test_codehosting.py (+25/-5) lib/lp/codehosting/inmemory.py (+21/-8) lib/lp/codehosting/tests/test_acceptance.py (+19/-9) lib/lp/codehosting/vfs/branchfs.py (+2/-5) lib/lp/codehosting/vfs/tests/test_branchfs.py (+13/-2) lib/lp/registry/errors.py (+5/-0) lib/lp/registry/interfaces/person.py (+4/-8) lib/lp/registry/model/person.py (+1/-1) lib/lp/registry/model/sourcepackagename.py (+8/-1) lib/lp/registry/tests/test_person.py (+1/-1) lib/lp/registry/tests/test_sourcepackagename.py (+24/-0) |
||||
To merge this branch: | bzr merge lp:~abentley/launchpad/push-creates-package | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+71366@code.launchpad.net |
Commit message
Push creates source package names.
Description of the change
= Summary =
Fix bug #386596: pushing to a packaging branch can't create a new package
== Proposed fix ==
Support creating new source package names in createBranch
== Pre-implementation notes ==
None
== Implementation details ==
In the xmlrpc-backed version, catch NoSuchSourcePac
In the memory-backed version, create the sourcepackagename if not already present.
In both cases, SourcePackageNa
createBranch translates InvalidName to the new InvalidSourcePa
The vfs transport converts InvalidSourcePa
== Tests ==
bin/test -t test_createBran
== Demo and Q/A ==
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/