Merge ~cjwatson/launchpad:fix-oci-show-default-git-repository into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 2c16aa5915b122c7c90e23ee434595fa072d0731 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:fix-oci-show-default-git-repository |
Merge into: | launchpad:master |
Diff against target: |
169 lines (+78/-2) 4 files modified
lib/lp/code/interfaces/gitnamespace.py (+8/-0) lib/lp/code/model/gitnamespace.py (+25/-0) lib/lp/code/xmlrpc/git.py (+4/-2) lib/lp/code/xmlrpc/tests/test_git.py (+41/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tom Wardill (community) | Approve | ||
Review via email: mp+401812@code.launchpad.net |
Commit message
Fix creating /pillar/+oci/name via git push
Description of the change
This is a bit more involved than I'd initially anticipated, because OCI projects don't have owners so there isn't an obvious natural choice for the owner of the new repository. For the time being, use the OCI project admin in the case of distribution-based OCI projects, and otherwise the pillar's owner. I expect this may need to evolve further in future.
To post a comment you must log in.