Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional regexp for dbs2go version tag matching (vXX.YY.ZZ) #652

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vkuznet
Copy link
Contributor

@vkuznet vkuznet commented May 6, 2021

@yuyiguo , in dbs2go I use different set of tagging conventions, like vXX.YY.ZZ. Therefore, to make unit tests match both dbs python tags and dbs2go ones I made this PR.

@yuyiguo
Copy link
Member

yuyiguo commented May 6, 2021

I am confused why you need to match between python and go?

@vkuznet
Copy link
Contributor Author

vkuznet commented May 6, 2021

because I use dbs unit tests against both servers. Otherwise I need to adjust GO code to use your tagging naming convention which I don't use.

@yuyiguo
Copy link
Member

yuyiguo commented May 6, 2021

We are in the middle of DBS py2 to py3. If it is not a big deal to adjust your version schema to be the same as DBS, please do so. We will keep all DBS code as it is for now unless there is a bug to prevent regular use.

@vkuznet
Copy link
Contributor Author

vkuznet commented May 7, 2021

@yuyiguo , it would be mistake for me to change convention of releases since it will break the history. The dbs2go used vXX.YY.ZZ schema for release, while DBS python codebase used X.Y.Z-. As such they should both follow the same path since it keeps history consistent. That is the reason I adjusted unit tests regexp pattern. Once again it is not a big thing but it is useful to make unit test pass, otherwise either code should adapt to another release tagging convention (which I don't think would be correct in either case).

@yuyiguo
Copy link
Member

yuyiguo commented May 7, 2021 via email

@vkuznet
Copy link
Contributor Author

vkuznet commented May 7, 2021

usage of X.Y.Z or XX.YY.ZZ is desired, but use-cases are different. The former is better suitable for codebase with not frequent release cycles, while latter is better for more frequent release cycles. From the start I knew I need more frequent release cycles, and turns out it is true, I already had 159 releases. Putting them into X.Y.Z will make sorting looks ugly. That's the reason I follow when choosing and using specific release schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants