hasii2011 / versionoverlord

Help manage Pyut versions
GNU Affero General Public License v3.0
0 stars 0 forks source link

Update CreateSpecification Command #20

Closed hasii2011 closed 7 months ago

hasii2011 commented 7 months ago

Currently, the above command inspects a project's requirements.txt file to find the current version numbers.

However, it only handles the patterns '==' and '~='

Update TemplateHandler class to use the MATCH_PATTERNS list that IHandler uses

Additionally, use a smarter regex pattern to search the entire file in a single pass, rather than traversing it line by line

hasii2011 commented 7 months ago

I will manually test this

hasii2011 commented 7 months ago

Done on the 🤡 master 🤡 branch