-
Notifications
You must be signed in to change notification settings - Fork 118
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
Provide a way to remove old commits #619
Closed
Closed
Commits on Jul 16, 2021
-
Provide a way to remove old commits
Motivation: Central Dogma uses jGit to store data. Due to the nature of Git that stores unlimited history, Central Dogma will eventually get in trouble managing disk usage. We can handle this by maintaing the primary and secondary Git repository internally. This works in this way: 1 Commits are pushed to the primary Git repository. 2 If the number of commits exceed the threshold (`minRetentionCommits`), then the secondary Git repository is created. 3 Commits are pushed to the both primary and secondary Git repositories. 4 If the secondary Git repository has the number of commits more than the threshold; - The secondary Git repository is promoted to the primary Git repository. - The primary Git repository is removed completely. - Another secondary Git repository is created. 5 Back to 3. Modifications: - TBD Result: - Close 575 - TBD Todo: - Provide a way to set `minRetentionCommits` and `minRetentionDay` for each repository. - Support mirroring from CD to external Git.
Configuration menu - View commit details
-
Copy full SHA for b38014d - Browse repository at this point
Copy the full SHA b38014dView commit details
Commits on Sep 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9d5e250 - Browse repository at this point
Copy the full SHA 9d5e250View commit details
Commits on Sep 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c0bafb3 - Browse repository at this point
Copy the full SHA c0bafb3View commit details
Commits on Sep 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2f8e107 - Browse repository at this point
Copy the full SHA 2f8e107View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96fd44c - Browse repository at this point
Copy the full SHA 96fd44cView commit details
Commits on Sep 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e0a78f8 - Browse repository at this point
Copy the full SHA e0a78f8View commit details
Commits on Dec 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d241167 - Browse repository at this point
Copy the full SHA d241167View commit details
Commits on Dec 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1c5185a - Browse repository at this point
Copy the full SHA 1c5185aView commit details
Commits on Jan 3, 2022
-
Introduce CreateRollingRepository command to create the rolling repos…
…itory by the leader
Configuration menu - View commit details
-
Copy full SHA for 7b21b1a - Browse repository at this point
Copy the full SHA 7b21b1aView commit details
Commits on Jan 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 958e7a9 - Browse repository at this point
Copy the full SHA 958e7a9View commit details
Commits on Feb 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cd622e4 - Browse repository at this point
Copy the full SHA cd622e4View commit details
Commits on Feb 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9fef35d - Browse repository at this point
Copy the full SHA 9fef35dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a40a22d - Browse repository at this point
Copy the full SHA a40a22dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.