Parse errors creating recipe don't show the exception message
Bug #604725 reported by
Tim Penhey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Paul Hummer |
Bug Description
I was trying to create a recipe for wikkid and was getting an error on the page, however all it said was "The recipe text is not a valid bzr-builder recipe."
The exception message gives more helpful error messages which we should show on the page. Also related is bug 604718.
My recipe was:
# bzr-builder format 0.2 deb-version 0.2+{revno}
lp:wikkid
merge lp:~thumper/wikkid/debian
However the merge command needed a "branch name", and should have been:
merge packaging lp:~thumper/wikkid/debian
but as a new recipe user, I had no idea what I had done wrong.
Related branches
lp://staging/~rockstar/launchpad/create-recipe-error-messages
- Jonathan Lange (community): Approve (code)
-
Diff: 46 lines (+17/-4)2 files modifiedlib/lp/code/browser/sourcepackagerecipe.py (+3/-2)
lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+14/-2)
Changed in launchpad-code: | |
assignee: | nobody → Paul Hummer (rockstar) |
milestone: | none → 10.08 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Playing in ec2 now.