diff options
author | Eric Wong <e@80x24.org> | 2021-09-17 11:00:23 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-09-17 21:49:41 +0000 |
commit | 876e74283ff36462607626dec2105e28f2db9bb7 (patch) | |
tree | b18140d56f7acc429c2ccf684a79046f5094a80c /Documentation/public-inbox-fetch.pod | |
parent | fe1b11bf5a752743167018f77e2826304ba0aa0e (diff) | |
download | public-inbox-876e74283ff36462607626dec2105e28f2db9bb7.tar.gz |
This will eventually be useful for maintaing partial mirrors. Keeping inline with the original public-inbox-fetch philosophy, there are no additional config files to manage: the user merely needs to remove write permissions to an $N.git directory to prevent it from being updated. Re-enabling updates just requires restoring write permission.
Diffstat (limited to 'Documentation/public-inbox-fetch.pod')
-rw-r--r-- | Documentation/public-inbox-fetch.pod | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Documentation/public-inbox-fetch.pod b/Documentation/public-inbox-fetch.pod index 28d5638d..833df862 100644 --- a/Documentation/public-inbox-fetch.pod +++ b/Documentation/public-inbox-fetch.pod @@ -19,7 +19,19 @@ It does not run L<public-inbox-index(1)>, making it suitable for maintaining git-only backups. For v2 inboxes, it will maintain C<$INBOX_DIR/manifest.js.gz> -file to speed up future invocations. +file to speed up future invocations. It always safe to remove +manifest.js.gz, it is merely an optimization and will be +restored on the next invocation. + +To prevent fetches on any v2 epoch, use L<chmod(1)> to remove +write permissions to the top-level of the epoch. For example, +to disable fetches on epoch 4: + + chmod a-w $INBOX_DIR/git/4.git + +If you wish to re-enable fetches to the epoch: + + chmod u+w $INBOX_DIR/git/4.git =head1 OPTIONS |