Changelog version updated twice on upload

Bug #727626 reported by Javier Collado on 2011-03-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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
Javier Collado (javier.collado) wrote :

Fix committed in lp:packager (rev. 54)

Changed in packager:
status: Triaged → Fix Committed
Javier Collado (javier.collado) wrote :

Fix released in packager 0.2-0ubuntu1~rev54

Changed in packager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers