Skip to content

Tracker/RFC: Bringing the YAML to PACT#20

Closed
evildarkarchon wants to merge 15 commits intoGuidanceOfGrace:mainfrom
evildarkarchon:yaml-all-the-way
Closed

Tracker/RFC: Bringing the YAML to PACT#20
evildarkarchon wants to merge 15 commits intoGuidanceOfGrace:mainfrom
evildarkarchon:yaml-all-the-way

Conversation

@evildarkarchon
Copy link
Contributor

Inspired by CLASSIC, I decided to convert as much as possible to YAML. I also organized the ignore list by game so that if, for example, a Skyrim and Fallout 4 plugin coincidentally had the same file name, it will only ignore it for the game that PACT is currently being run on.

@evildarkarchon
Copy link
Contributor Author

I hope I got the is_xedit_running change right, it's mostly improv with a little bit of chatbot assistance. I made that change because I wanted to remove an unnecessary regex.

Also moved the lower-case mapped lists to the info dataclass.
@evildarkarchon
Copy link
Contributor Author

Alright, at this point, it will actually run the cleaning loop and stop correctly, and add plugins to their proper ignore sections.

Consolidated the code to identify if a process or file name is xedit or not into a single function. It also uses mapped sets of xedit_list_universal and xedit_list_specific that apply the str.lower() method to all entries.
This way, it doesn't drag other processes that have edit at the end of their file name into the mix.
@evildarkarchon
Copy link
Contributor Author

Superseded by #22

@evildarkarchon evildarkarchon deleted the yaml-all-the-way branch September 10, 2025 05:54
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.

1 participant