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
Remote cleanups #138
Comments
Thank you very much! Remote cleanups would be a nice addition to In my opinion there are two valid ways to implement remote cleanups. <sync type="dropbox">
<!-- ... -->
<option name="path" value="foo/bar"/>
<option name="cleanup.type" value="size"/>
<option name="cleanup.limit value="50g"/> This is likely to bloat the The second one would be to create a new <cleanupRemote type="size">
<option name="sync" value="my-dropbox"/>
<option name="limit" value="50g"/>
</cleanupRemote> This way the configuration is more like the local cleanup configuration. But it has other disadvantages. What do you think? |
I definitely vote for the first variant, cause it's more flexible. |
So, I've checked the code and have following points. Sure, you know your code better than me, so please make comments.
I continue to investigate |
You are right!
So in code: create extract cleaning logic to Thanks again for looking in to this. |
I think a generic |
Yes, I've also noticed this question too. As we have only local cleaning up, it works fine. But with remotes I guess that In common:
What do you think? |
Also in this case we have to place api clients as class property for reusing it. |
That would be awesome. |
@sebastianfeldmann I've finished my work and have the following:
|
Some points:
So, wait you feedback! |
Wow that was fast. Here are my 50 cents
Will have a more detailed look at it, when I return from the movies it's Avengers time ;) |
So:
I'll do changes shortly |
I've updated my code. Did the following:
My next roadmap (if we won't dramatically change architecture):
|
Awesome job! I hate to bring this up, I know how annoying I can be with stuff like this, but could you please move the following.
Thanks you so much ;) |
I have just noticed one more thing. If a remote cleanup is configured it would be nice if the |
Thank you for the feedback! I’ll fix all stuff a bit later today! :) Oh yeah, I forgot about simulate! How much information to show on simulate section? |
I think as a first step it would be enough if it states that a remote cleanup would be executed. |
This is done :) |
Hi, you have developed great product that used at almost all my projects. But impossibility of automatic cleaning up remotes really disappointing me. I have to write own tools for checking size and limiting amount of remote backups.
As I can see it’s not so complicated to implement remote clean. Yes I know that we could have different remote structure, but we could use settings in sync settings. And we have to implement receiving remote files in all presented adapters. But it’s not so difficult I guess.
The only question is about how to structure this in the configuration and you as owner should decide this.
If we’ll find a consensus about this feature I could help you with this implementation
The text was updated successfully, but these errors were encountered: