Changelog version updated twice on upload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
packager |
Fix Released
|
Medium
|
Javier Collado |
Bug Description
When uploading packages to launchpad, changelog version is updated twice which may cause some side effects such as the revision number being appended twice.
This is because changelog is used as a way to pass parameters to the dodo file to let it know when to upload a package for different distros. This worked in the past when regular expressions where used because the regular expressions didn't match the second time and the transformation happened only once. However, with the new way to do the transformation with a sed script, this method doesn't work anymore.
A way to solve this would be to modify changelog file only once it's copied to the package directory, not in the bzr branch itself. An alternative strategy to pass parameters to doit would be to use environment variables (using current distro by default).
Related branches
Changed in packager: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Javier Collado (javier.collado) |
milestone: | none → 0.2 |
Fix committed in lp:packager (rev. 54)