Creating releases named “1.4.14” instead of “1.4.14-src” from openafs-1.4.14-src.tar.gz?

Asked by Anders Kaseorg

https://launchpad.net/openafs/1.4 has the release URL pattern set as http://www.openafs.org/dl/openafs/1.4.*/openafs-1.4.*-src.tar.gz . Unfortunately, this causes releases with names like “1.4.14-src” to be automatically generated. Is it possible to make Launchpad strip off the -src from the detected version number?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benji York (benji) said :
#1

It's not currently possible to strip the "-src" from the version number. The version number extraction code assumes that anything before the dot is part of the version number. When versions numbers that include "-alpha" or "-rc1" it is important to include those portions in the version number.

It would be nice to provide either a way to mark part of the URL as not part of the version number or let users give a regular expression that would correctly extract the version number.

I created bug 818215 to track this issue.

Can you help with this problem?

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

To post a message you must log in.