Changeset 36729


Ignore:
Timestamp:
2013-05-26T19:28:11+02:00 (5 years ago)
Author:
jow
Message:

scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/dl_cleanup.py

    r35645 r36729  
    8888 
    8989versionRegex = ( 
    90         (re.compile(r"(.+)[-_]([0-9a-fA-F]{40,40})"), parseVer_GIT),            # xxx-GIT_SHASUM 
    9190        (re.compile(r"(.+)[-_](\d+)\.(\d+)\.(\d+)\.(\d+)"), parseVer_1234),     # xxx-1.2.3.4 
    9291        (re.compile(r"(.+)[-_](\d\d\d\d)-?(\d\d)-?(\d\d)"), parseVer_ymd),      # xxx-YYYY-MM-DD 
     92        (re.compile(r"(.+)[-_]([0-9a-fA-F]{40,40})"), parseVer_GIT),            # xxx-GIT_SHASUM 
    9393        (re.compile(r"(.+)[-_](\d+)\.(\d+)\.(\d+)(\w?)"), parseVer_123),        # xxx-1.2.3a 
    9494        (re.compile(r"(.+)[-_](\d+)_(\d+)_(\d+)"), parseVer_123),               # xxx-1_2_3 
Note: See TracChangeset for help on using the changeset viewer.