e1eb5eeaa6
Improve config readability by removing unnecessary fields and adding omitempty
2025-08-08 09:58:03 +02:00
2a2e11d8e0
Add more examples to the configuration file generator
2025-08-08 09:52:47 +02:00
6eb4f31127
Implement regexes, an entry option allow for same modification to apply to multiple regexes and variables that can be referenced in lua
2025-08-08 09:50:31 +02:00
4b58e00c26
Hallucinate some logs
...
Hallucinate more logs
fix(utils/db.go): handle auto migration errors gracefully
fix(utils/modifycommand.go): improve file matching accuracy
fix(processor/regex.go): improve capture group deduplication logic
fix(utils/db.go): add logging for database wrapper initialization
feat(processor/regex.go): preserve input order when deduplicating capture groups
fix(utils/modifycommand.go): add logging for file matching skips
feat(processor/regex.go): add logging for capture group processing
feat(main.go): add trace logging for arguments and parallel workers
fix(main.go): add trace logging for file content
fix(utils/db.go): add logging for database opening
fix(main.go): add trace logging for file processing
fix(utils/modifycommand.go): improve file matching by using absolute paths
feat(modifycommand.go): add trace logging for file matching in AssociateFilesWithCommands
feat(main.go): add per-file association summary for better visibility when debugging
2025-08-08 08:10:51 +02:00
8ffd8af13c
Use atomic values instead of mutexes
2025-08-01 16:38:31 +02:00
67861d4455
Now only save CHANGED files to database (before changes of course)
2025-08-01 16:34:48 +02:00
299e6d8bfe
Fix glob matching when backslashes are used as separators
2025-07-30 14:41:38 +02:00
388822e90a
Create example yml even when no args are provided
...
ie. invalid usage
2025-07-30 14:38:29 +02:00
91993b4548
Improve error handling in ResetAllFiles function by logging warnings for failed file writes instead of returning errors
2025-07-27 12:47:21 +02:00
bb69558aaa
Fix issue where invalid isolate commands would prevent other isolate commands from running
2025-07-21 21:28:12 +02:00
052c670627
Add a simple trim to lua
2025-07-21 21:00:11 +02:00
67fd215d0e
Don't stroke out when backup doesn't exist in db
2025-07-20 11:48:55 +02:00
9ecbbff6fa
Implement special flags for dump and reset db
2025-07-20 11:47:45 +02:00
774ac0f0ca
Implement proper "reset" that reads snapshots from database
2025-07-20 11:43:25 +02:00
b785d24a08
Implement saving snapshots to a database
2025-07-20 11:38:08 +02:00
22f991e72e
Clean up shop a bit
2025-07-20 11:20:19 +02:00
5518b27663
Remove deprecated flags and rename filter to f
2025-07-20 11:12:58 +02:00
0b899dea2c
Add Disabled flag to ModifyCommand
2025-07-19 11:08:51 +02:00
3424fea8ad
Dump a basic "config" to example usage on failed command
2025-07-19 01:15:48 +02:00
ddc1d83d58
Fix file associations
...
It was fucked because we were removing the static path and then cramming
that into assications
v5.2.3
2025-04-22 10:53:25 +02:00
4b0a85411d
From cook FILE - F I L E - FILEEEEE
...
This is the 4th time I make the SAME fix
2025-04-22 10:46:03 +02:00
46e871b626
Fix flag collision with logger
2025-04-22 10:45:11 +02:00
258dcc88e7
Fix reference to utils
v5.2.1
2025-04-18 12:48:24 +02:00
75bf449bed
Remove logger and replace it with a library
v5.2.0
2025-04-18 12:47:47 +02:00
58586395fb
Add file util for later
2025-04-13 21:31:19 +02:00
c5a68af5e6
PROPERLY implement doublestar
2025-04-13 21:29:18 +02:00
b4c0284734
Add rimworld cook file
v5.0.1
2025-04-09 09:47:53 +02:00
c5d1dad8de
Rename project to "cook" and ditch loading fgrom args, now files exclusively
2025-04-09 09:47:53 +02:00
4ff2ee80ee
And fix the god damn backslashes fuck windows
v3.5.2
v3.6.0
2025-04-01 11:29:57 +02:00
633eebfd2a
Support ~ in globs
v3.5.1
2025-04-01 11:29:02 +02:00
5a31703840
Implement per command logger
v3.5.0
2025-03-29 17:29:21 +01:00
162d0c758d
Fix some tests
2025-03-29 17:29:21 +01:00
14d64495b6
Add deduplicate flag
2025-03-29 17:29:21 +01:00
fe6e97e832
Don't deduplicate (yet)
2025-03-29 17:23:21 +01:00
35b3d8b099
Reduce some of the reads and writes
...
It's really not necessary
v3.4.1
2025-03-28 23:39:11 +01:00
2e3e958e15
Fix some tests and add some logs
2025-03-28 23:31:44 +01:00
955afc4295
Refactor running commands to separate functions
2025-03-28 16:59:22 +01:00
2c487bc443
Implement "Isolate" commands
...
Commands that run alone one by one on reading and writing the file
This should be used on commands that will modify a large part of the
file (or generally large parts)
Since that can fuck up the indices of other commands when ran together
2025-03-28 16:56:39 +01:00
b77224176b
Add file lua value
2025-03-28 16:47:21 +01:00
a2201053c5
Remove some random ass fmt printf
v3.3.4
v3.4.0
2025-03-28 13:24:12 +01:00
04cedf5ece
Fix the concurrent map writes
2025-03-28 11:35:38 +01:00
ebb07854cc
Memoize the match table
2025-03-28 11:31:27 +01:00
8a86ae2f40
Add filter flag
2025-03-28 11:20:44 +01:00
e8f16dda2b
Housekeeping
2025-03-28 02:14:27 +01:00
513773f641
Again
2025-03-28 01:26:26 +01:00
22914fe243
Add a lil log
v3.3.1
2025-03-28 01:24:23 +01:00
2d523dfe64
Rename pattern to regex
v3.3.0
2025-03-28 01:08:48 +01:00
2629722f67
Minor fixes and tweaks
2025-03-28 01:03:27 +01:00
1f6c4e4976
Fix up the tests and some minor bugs
2025-03-28 00:51:26 +01:00
bfd08e754e
Replace old tests with asserts
2025-03-28 00:40:53 +01:00