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

Ensure g:a:v: and g:a::m work as endpoints #53

Open
ctrueden opened this issue Aug 13, 2019 · 1 comment
Open

Ensure g:a:v: and g:a::m work as endpoints #53

ctrueden opened this issue Aug 13, 2019 · 1 comment
Assignees
Milestone

Comments

@ctrueden
Copy link
Member

The x:y:z endpoint triple is ambiguous: is z a version or a main class? (Or a classifier, or...?) To avoid the ambiguity, it would be great if endpoints could be padded with empty strings, so e.g. g:a::m would unambiguously mean g:a:RELEASE:m and g:a:v: would unambiguously mean the same thing as g:a:v (i.e. detect the main class from the JAR manifest) no matter what pattern the v takes, so that jgo does not need to use a regex heuristic to know that a version is what is meant.

@ctrueden ctrueden added this to the 1.0.0 milestone Aug 13, 2019
@ctrueden ctrueden self-assigned this Aug 13, 2019
@hanslovsky
Copy link
Member

I really like this, simple and elegant.

@imagejan imagejan changed the title Ensure g:a:v: and g:a::m work as endpoints Ensure g:a:v: and g:a::m work as endpoints Nov 8, 2022
@ctrueden ctrueden modified the milestones: 1.0.0, unscheduled Nov 15, 2022
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

No branches or pull requests

2 participants