Recipe requires sourcepackagename before upload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Paul Hummer |
Bug Description
Currently, the schema for sourcepackagerecipe (and build) requires a reference to a sourcepackagename, but I think this assumes the package that the recipe is to build and upload has already been uploaded in the past, so that the sourcepackagename exists.
We could create the sourcepackagename records if they don't exist when the recipe is created, but it might pollute the namespace before an actual upload has happened. Could we instead store the proposed *string* sourcepackagename on the recipe (and recipe build)? This would enable the current infrastructure to find-or-create the sourcepackagename record when the upload is processed as normal.
Update: as per comment 6 below, we no-longer need to be asking for the source package name when creating a recipe.
summary: |
- Recipe has sourcepackagename before upload + Recipe requires sourcepackagename before upload |
tags: | added: recipe |
Changed in launchpad-code: | |
status: | New → In Progress |
assignee: | nobody → Paul Hummer (rockstar) |
importance: | Undecided → High |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
I don't really see why that is a bad thing.
As the mocked up UI seems to involve treating the recipe as an annotation to the 'base' branch of the recipe (hmm... that's an idea that sets off some interesting thoughts...), won't we know there's already a sourcepackagename?
(There's the separate issue that you can't create a sourcepackagename by pushing a branch, but we'll need to fix that sooner or later).