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

Add utilities and documentation on how to deal with files lost #214

Merged
merged 4 commits into from
Mar 19, 2023

Conversation

nemunaire
Copy link
Collaborator

Hi!

I made two small utils:

  • the first one history2git15 will read a .root.history file to make a git repository with each commit representing a tree generation. This doesn't include the whole files, but only the tree hierarchy (in doctree file) and the cache (in tree file). This allows to view what files have changed between 2 generations.
  • the second one relinkfile15 is able to reinsert in the root index a file referenced in a previous root index.

I made some crappy modifications in the library to be able to expose some functions. Please let me know if you see better implementation alternatives.

This is also possible to ignore and close this PR: the problem I faced should not be recurrent and those tools will stay in a branch in case of a future need.

@ddvk ddvk merged commit 1bbf2ce into ddvk:master Mar 19, 2023
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.

2 participants