EnglishFrenchSpanish

OnWorks favicon

grok-pull - Online in the Cloud

Run grok-pull in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command grok-pull that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


GROK-PULL - Clone or update local git repositories

SYNOPSIS


grok-pull -c /path/to/repos.conf

DESCRIPTION


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.

OPTIONS


--version
show program's version number and exit

-h, --help
show this help message and exit

-v, --verbose
Be verbose and tell us what you are doing

-n, --no-mtime-check
Run without checking manifest mtime.

-f, --force
Force full git update regardless of last-modified times. Also useful when
repos.conf has changed.

-p, --purge
Remove any git trees that are no longer in manifest.

-y, --pretty
Pretty-print the generated manifest (sort repos and add indentation). This is
much slower, so should be used with caution on large collections.

-r, --reuse-existing-repos
If any existing repositories are found on disk, set new remote origin and reuse

-c CONFIG, --config=CONFIG
Location of repos.conf

EXAMPLES


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.

Use grok-pull online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    formkiq-core
    formkiq-core
    FormKiQ Core is an Open Source Document
    Management System (DMS), available to
    run as a headless software or with a
    web-based client, deployed to your
    Amazon We...
    Download formkiq-core
  • 2
    Blackfriday
    Blackfriday
    Blackfriday is a Markdown processor
    implemented in Go. It is paranoid about
    its input (so you can safely feed it
    user-supplied data), it is fast, it
    supports c...
    Download Blackfriday
  • 3
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 4
    deep-clean
    deep-clean
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 5
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 6
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • More »

Linux commands

Ad