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

Remove prefix restriction. #307

Merged
merged 5 commits into from
Dec 5, 2019

Conversation

john-tipper
Copy link
Contributor

Prefixes were hitherto restricted from not colliding, i.e. prefixes
pre1 and pre2 were forbidden.
Bumped jacoco version to allow for compilation using JDK8.

Prefixes were hitherto restricted from not colliding, i.e. prefixes
`pre1` and `pre2` were forbidden.
Bumped jacoco version to allow for compilation using JDK8.
@agusmba
Copy link

agusmba commented Dec 4, 2019

Just my 2c, sorry if I'm wrong but the prefix restriction AFAIR was a bit different:

tag prefixes for each module do not overlap, i.e.
!tagA.startsWith(tagB) for each permutation of all tag prefixes

That means prefix projectA and projectAmodB were not allowed.

It seems you are testing a different thing (projectA vs projectB), which should work anyway.

Prefixes were hitherto restricted from not colliding, i.e. prefixes
`pre` and `pre2` were forbidden.
@john-tipper
Copy link
Contributor Author

Ah, I see what you mean, good point. I have changed the test to reflect that, as I want to allow the use of a shared prefix, e.g. module and moduleV2.

Note that the build failure appears to be nothing I have done, it's a failure of Travis to install JDK8.

@coveralls
Copy link

coveralls commented Dec 5, 2019

Coverage Status

Coverage remained the same at 63.675% when pulling fd08cc3 on john-tipper:remove-prefix-restriction into 4676ea8 on allegro:master.

- Expand docs on potential error scenario when tags and version
  separators collide.
- Improve test legibility.
@adamdubiel adamdubiel merged commit 29f9428 into allegro:master Dec 5, 2019
@adamdubiel
Copy link
Collaborator

Done, thanks! :)

@john-tipper john-tipper mentioned this pull request Dec 5, 2019
@john-tipper john-tipper deleted the remove-prefix-restriction branch December 5, 2019 14:11
@adamdubiel adamdubiel added this to the 1.10.3 milestone Dec 30, 2019
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.

4 participants