Skip to content
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

File Versioning #268

Open
ajiragroup opened this issue Nov 2, 2024 · 2 comments
Open

File Versioning #268

ajiragroup opened this issue Nov 2, 2024 · 2 comments

Comments

@ajiragroup
Copy link

Document versioning is a great feature.

Requesting versioning for uploaded files as well. (Like in Google Drive)

@uhrjun
Copy link
Contributor

uhrjun commented Nov 11, 2024

Definitely, looked into this not that, the closest solution I could find was using something like https://pypi.org/project/bsdiff4/#description. To create binary patches of the difference between two versions of files. And only storing the patch.

So if you want to revert to an older version. We just apply the storage, effectively saving a lot of storage space. But this method proves to be too memory intensive.

Keeping this open as a valid feature request.

@ajiragroup
Copy link
Author

Good to know this is under thought.

For the first stage, may be only tracking file versioning could be implemented.

For ex.
-> User right clicks on a file to select "Control Version". Which takes them to a popup.
-> User selects "Upload next version". The file is uploaded and stored.
-> For comparison let users do that manually for now. They must be allowed to download each versions.
-> They should be able to apply which version to use.

Not quite familiar to this though:

using something like https://pypi.org/project/bsdiff4/#description. To create binary patches of the difference between two versions of files. And only storing the patch.

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

No branches or pull requests

2 participants