reposync

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 4 Imported by: 0

README

reposync

A cli tool to mirror/sync many projects onto the local file system (and/or merge content of specific folders to aggregate ie. doc files)

Installation

curl -L -o /usr/local/bin/reposync https://github.com/cidverse/reposync/releases/download/v0.3.0/linux_amd64
chmod +x /usr/local/bin/reposync

Usage

Sync

Sync will check out all defined projects locally in the defined structure, can be grouped to clone specific project groups.

sources:
- url: https://github.com/cidverse/reposync.git
  ref: HEAD
  group:
    - test
  target: ~/source/my-project
Bundle

Bundle is a utility command to merge specific folders of multiple projects, this could for example be used to merge the doc folders from many projects to generate a multi-project documentation.

bundle:
  docs:
    target: ~/source/my-docs
    sources:
      - url: https://github.com/cidverse/reposync.git
        ref: HEAD
        bundle:
          source-prefix: docs
          target-prefix: reposync
          extensions: [".go"]

License

Released under the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL