GROK-PULL(1) | GROK-PULL(1) |
GROK-PULL - Clone or update local git repositories
This utility runs from a cronjob and downloads the latest manifest from the grokmirror master. If there are new repositories or changes in the existing repositories, grok-pull will perform the necessary git commands to clone or fetch the required data from the master.
At the end of its run, grok-pull will generate its own manifest file, which can then be used for further mirroring.
Locate repos.conf and modify it to reflect your needs. The default configuration file is heavily commented.
Add a cronjob to run as frequently as you like. For example, add the following to /etc/cron.d/grokmirror.cron:
# Run grok-pull every minute as user "mirror" * * * * * mirror /usr/bin/grok-pull -p -c /etc/grokmirror/repos.conf
Make sure the user "mirror" (or whichever user you specified) is able to write to the toplevel, log and lock locations specified in repos.conf.
Please send support requests to the mailing list:
http://lists.kernel.org/mailman/listinfo/grokmirror
mricon@kernel.org
License: GPLv3+
The Linux Foundation and contributors
2013-08-22 | 0.4 |