Re: [ANITYA] easy way to strip suffix from version
Am 14.10.2016 um 12:28 schrieb Pierre-Yves Chibon: On Fri, Oct 14, 2016 at 12:10:25PM +0200, Björn "besser82" Esser wrote: Am 14.10.2016 um 11:54 schrieb Pierre-Yves Chibon: On Fri, Oct 14, 2016 at 10:41:15AM +0200, Björn "besser82" Esser wrote: Hello together, is there an easy solution, maybe by regex, to strip a suffix, e.g. '.orig', from the version-string found by Anitya / release-monitoring? The easiest is likely to just edit the regex to account for it. Thank you! Do you have a quick example for me? Do you have the URL to the project in anitya? The default regex is documented at: https://release-monitoring.org/about under the list of backends but some backends have their own regex. Pierre Thank you again! Problem solved! =) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: [ANITYA] easy way to strip suffix from version
On Fri, Oct 14, 2016 at 12:10:25PM +0200, Björn "besser82" Esser wrote: > Am 14.10.2016 um 11:54 schrieb Pierre-Yves Chibon: > > On Fri, Oct 14, 2016 at 10:41:15AM +0200, Björn "besser82" Esser wrote: > > > Hello together, > > > > > > is there an easy solution, maybe by regex, to strip a suffix, e.g. > > > '.orig', > > > from the version-string found by Anitya / release-monitoring? > > The easiest is likely to just edit the regex to account for it. > > > > Thank you! Do you have a quick example for me? Do you have the URL to the project in anitya? The default regex is documented at: https://release-monitoring.org/about under the list of backends but some backends have their own regex. Pierre ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: [ANITYA] easy way to strip suffix from version
Am 14.10.2016 um 11:54 schrieb Pierre-Yves Chibon: On Fri, Oct 14, 2016 at 10:41:15AM +0200, Björn "besser82" Esser wrote: Hello together, is there an easy solution, maybe by regex, to strip a suffix, e.g. '.orig', from the version-string found by Anitya / release-monitoring? The easiest is likely to just edit the regex to account for it. Pierre Thank you! Do you have a quick example for me? ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: [ANITYA] easy way to strip suffix from version
On Fri, Oct 14, 2016 at 10:41:15AM +0200, Björn "besser82" Esser wrote: > Hello together, > > is there an easy solution, maybe by regex, to strip a suffix, e.g. '.orig', > from the version-string found by Anitya / release-monitoring? The easiest is likely to just edit the regex to account for it. Pierre ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org