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

document cleanup #74

Open
skippy opened this issue Dec 15, 2021 · 3 comments
Open

document cleanup #74

skippy opened this issue Dec 15, 2021 · 3 comments

Comments

@skippy
Copy link
Contributor

skippy commented Dec 15, 2021

every month we move some of the draft documents or agenda and replace them with finalized documents.

This leaves garbage with documents left in the repo with nothing pointing to them. we need garbage collection!

In a perfect world, we would do it at time of modification (if document removed and nothing else references it, remove it from git). BUT having looked at the logic and flow, this is probably better served by having a cron job that runs monthly which:

  • scans all the meetings/*.json
  • create a list of all referenced files
  • scan docs/**
  • git rm any docs which aren't referenced and then git commit -m 'removing unreferenced docs

and if we want to get super fancy, we may need/want to --prune the git repo. Honestly, that is dangerous to code... if we need to --prune we should move at least documents to git lfs

@skippy skippy added this to the v3 milestone Dec 15, 2021
@icegulch
Copy link
Collaborator

sure, or maybe OneDrive solves this?

@skippy
Copy link
Contributor Author

skippy commented Dec 24, 2021

this is v3; so lets punt... its more just something to think about. THOUGH after chatting with some folks, I may want to keep the agenda up as well as the final meeting minutes as they aren't always the same.

@skippy
Copy link
Contributor Author

skippy commented Dec 31, 2022

did a manual 'eyeball' scan after a year of running. There are just a handful (3-6) that are orphaned. I would say this should be done BUT it can wait. removing from milestone v3

@skippy skippy removed this from the v3 milestone Dec 31, 2022
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