series release glob must verify it is a glob

Bug #394400 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Curtis Hovey

Bug Description

There are lots or error in the prf log because the series' release glob does not contain a glob. The user in the example set the desired release for downloading in the glob location. The value should have been validated, and an error should have told the user he must specify a '*' for the part of the name that changes with each release.

    2009-06-30 19:25:31 ERROR could not retrieve directory listing for /sourceforge/gsolaar/GSolaar-0.4.0.tar.gz/

Note that the glob cannot be the only character after the last slash, the file name must contain at least one other character to match the file.

    2009-06-30 21:30:37 INFO
        ftp://ftp.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge
        /l/lu/lubi/APP-AND-DOCS-AT-UNETBOOTIN.SF.NET-README.html matches trunk glob
        (ftp://ftp.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/l/lu/lubi/*)

     2009-06-30 21:30:37 ERROR
        Unable to parse version from
        ftp://ftp.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/l/lu/lubi/APP-AND-DOCS-AT-UNETBOOTIN.SF.NET-README.html

Note that http and ftp are supported, https is not.

Curtis Hovey (sinzui)
description: updated
Curtis Hovey (sinzui)
description: updated
Curtis Hovey (sinzui)
tags: added: story-product-release-finder
Revision history for this message
Curtis Hovey (sinzui) wrote :

The interfaces.productseries.validate_release_glob claims HTTPS is supported. The HTTPWalker also claims it is supported. This is clearly not true looking at the error. urllib2.HTTPSHandler is missing from the list of handlers. This will be tracked as a separate bug.

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

Fixed in launchpad devel r8867.

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

Fixed released in Launchpad 2.2.7.

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.