Skip to content

Conversation

OroArmor
Copy link
Member

No description provided.

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

if (proposedMapping.getValue().sourcePluginId().equals("quiltmc:name_proposal/delegate_params")) {

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
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
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
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.

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
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
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