Question on versioning PPAs and wiki instructions

Asked by decora on 2009-09-16

I was reading
 https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#versioning

and I couldn't figure out how to 'change the version' of my package. But I happened to find someone who posted about using dch -v, so... is it like this? The original is myapp_1.0-1, so you go...

dch -v "myapp_1.0-2~ppa1~intrepid1"

.... from the top level directory of the source package?

Is this the proper way to do 'versioning'? If so, then I think it would be most helpful to add it to the wiki ( i would add it myself but i dont want to add information that is wrong ).

Also im thinking in ubuntu, the original name will be something like

myapp_1.0-2ubuntu9

...and so the ppa woud be named with...

dch -v "myapp_1.0-2ubuntu10~ppa1~jaunty"

... is that correct?

Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2009-09-16
Last reply:
2009-09-18
William Grant (wgrant) said : #1

To change the version, you need to add a new changelog entry to the top of debian/changelog. As you found, the easiest way to do this is to use "dch -v".

Your suggested versioning scheme is valid and should not cause problems, although I would consider replacing "ppa1" with "wgrant1" to make it more obvious from where a package has come.

Can you help with this problem?

Provide an answer of your own, or ask decora for more information if necessary.

To post a message you must log in.