Skip to content

Drop proposed mappings from the files#278

Draft
OroArmor wants to merge 1 commit intoQuiltMC:masterfrom
OroArmor:drop-proposed-mappings
Draft

Drop proposed mappings from the files#278
OroArmor wants to merge 1 commit intoQuiltMC:masterfrom
OroArmor:drop-proposed-mappings

Conversation

@OroArmor
Copy link
Copy Markdown
Member

No description provided.

@eristhea eristhea added enhancement new feature or request backend affects the enigma backend cli affects the enigma command-line interface labels Aug 13, 2025
@eristhea eristhea self-requested a review August 13, 2025 01:22
// continue;
// }

if (proposedMapping.getValue().sourcePluginId().equals("quiltmc:name_proposal/delegate_params")) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this should preserve fallback-proposed names as well
also why do delegate params need an exception?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I believe this was a work around until we figure out why we are getting the massive spooky diffs,

Copy link
Copy Markdown
Member

@supersaiyansubtlety supersaiyansubtlety Sep 13, 2025

Choose a reason for hiding this comment

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

ah, ok
it could be a useful to have an arg for proposer plugin ids to exclude

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

potentially, but i also feel like that defeats a bit of the purpose of this feature, which is to make sure that no more proposed names are left in the mappings. If the proposer is fragile enough to break with this, its probably not written very well.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

true
I wouldn't expect it to be used often
maybe it would be better not to have an arg; if a proposer is having issues it can just be set to fallback as a workaround

return this.secondaryTree.get(entry);
}

if (main.tokenType().equals(TokenType.OBFUSCATED) && this.secondaryTree.contains(entry)) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@ix0rai what is your opinion on this? it allows for javadocs to be on empty mappings, but get a name from a proposer

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

just making sure you know i'm not ignoring you, i'm pretty busy rn and i want to look into javadoc support on obf mappings a bit deeper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend affects the enigma backend cli affects the enigma command-line interface enhancement new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants