anitya
anitya copied to clipboard
folder/custom doesn't get rc versions?
See: https://release-monitoring.org/project/459/
This is the default regex used for varisous backends
default_regex = """
%(name)s(?:[-_]?(?:minsrc|src|source))?[-_]([^-/_\\s]+?)(?i)(?:[-_]
(?:minsrc|src|source|asc|release))?\\.(?:tar|t[bglx]z|tbz2|zip)
"""
If it doesn't match your project, try custom backend, where you can set your own regex.
That should be changed to get rcs, too? See: https://release-monitoring.org/project/6501/ https://kernel.org
Yes, but it doesn't match every project version scheme.
You can try it by yourself, just try to run the regex on the source of the web page used for checking and see if this matches it.