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

Bug #456525 reported by Curtis Hovey on 2009-10-20
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
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) on 2009-10-25
Changed in launchpad-registry:
status: Triaged → In Progress
Curtis Hovey (sinzui) wrote :

Fixed in launchpad devel r9777.

Changed in launchpad-registry:
status: In Progress → Fix Committed

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  Edit
Everyone can see this information.

Other bug subscribers