-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add glob 'cleanup_pattern' to remove obsolete resources #253
Conversation
This is great thanks! I'll try to review it today or tomorrow and either give feedback or merge it. Thanks again! |
Looks great, thanks again! |
Hi, you are welcome, though there's not much to thank for. We needed ourselves and pull request did not cause a lot of extra work. I am working on several modifications of Getdown as per list below, that I will push to my fork. If you think those are interesting, I can create pull requests as well.
|
That all sounds great. I'm sure everyone will appreciate those improvements. |
Hi all, unfortunately, with latest commit (332f7f1) , the feature works only for Versioned updates. Unversioned updates will never clean the resource. I'd rather have the cleanup possible for both Versioned and Unversioned, but as soon as there was some update on the getdown.txt file. |
Hej @serge-xav, you are right. I moved this snip
and I think this should be better! Greetz, |
Hi, thanks for your commit, I'll test it on my side but it should be OK from my point of view. BR |
Hello,
We noticed that over time obsolete resources accumulate in Getdown folder. This PR allows to define optional list of Glob patterns in Getdown.txt, like:
Glob patterns are defined relative to 'getdown' folder.
In this case Getdown would collect list for files from the patterns, that is cross-check against resources specified in Getdown.txt. Then only the files that are not in getdown resource list, will be removed.
Potentially closes #183