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 the ignore list regex #62

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

Matyrobbrt
Copy link
Member

@Matyrobbrt Matyrobbrt commented Nov 30, 2023

The regex attempts to remove version information from the jar, so that it would go from artifact-name-<version>.jar to artifact-name in the BSL ignore list. But the full name will work as well. See https://github.com/McModLauncher/bootstraplauncher/blob/d1e91742561c9ea37c035c0fec2bd756967a1395/src/main/java/cpw/mods/bootstraplauncher/BootstrapLauncher.java#L70.

And in fact the full name is already being used by fml-core and fml-events (jar names core-<version>.jar and events-<version>.jar) because core is too generic of a prefix to be excluding, and same for event.

It was buggy when paired with versions with classifiers, and is simply not needed. No implementations of maven downloaders will rename the file. So just remove the core/events special cases and the regex altogether.

@Matyrobbrt Matyrobbrt added the bug Something isn't working label Nov 30, 2023
@Matyrobbrt Matyrobbrt closed this Nov 30, 2023
@Technici4n Technici4n reopened this Nov 30, 2023
Copy link
Member

@Technici4n Technici4n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested forgedev, userdev, prod.

@Technici4n Technici4n merged commit ae319cf into neoforged:NG_7.0 Nov 30, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants