support non-versioned release files in the product-release finder

Bug #412015 reported by Curtis Hovey
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Some project release their files under the code name, not the version,. The product release finder cannot match these files to a version to pull add the files to a release.

lib/lp/registry/scripts/productreleasefinder/finder.py could be smarter.
The extract_version() returns early because there is no parsable version.
We could have a get_version_from_code_name() function that
    * Creates a match pattern from the series milestone code_names
    * If there is a match on the file path, use the code_name's version
    * return the version

The extract_version() could fallback to get_version_from_code_name if the version is none.

Luke Faraone (lfaraone)
Changed in launchpad-registry:
assignee: nobody → Luke Faraone (lfaraone)
Curtis Hovey (sinzui)
tags: added: product-release-finder
removed: story-product-release-finder
William Grant (wgrant)
Changed in launchpad:
assignee: Luke Faraone (lfaraone) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.