the product release finder does not strip the flavor info after the ~

Bug #456525 reported by Curtis Hovey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Curtis Hovey

Bug Description

The releases version are incorrect because the ~ that marked the start of the flavor information was converted to a -.

    in: php-fpm-0.6~5.3.1.tar.gz
    out: 0.6

flavor_pattern = re.compile(r"""
    (~ # packaging
     |_[a-z][a-z]_[A-Z][A-Z] # Language version
     |_(%s) # or processor version
     |[\.-](win32|OSX) # or OS version
     |\.(deb|noarch|rpm|dmg|exe) # or packaging version
    ).* # to the end of the string
    """ % processors, re.VERBOSE)

Related branches

Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in launchpad devel r9777.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 456525 Fix released

Fixed released in launchpad-project 3.1.10.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
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.