git-in-sync

command module
v0.0.0-...-def3303 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 6 Imported by: 0

README

git-in-sync

Synopsis

git-in-sync parses flags, reads ~/.gisrc.json then configures directories and repositories as configured.

Overview

  1. ~/.gisrc.json outlines directories and their repos as bundles and zones:

{json block showing configuration}

  1. Modes are set with -m:

{Here is where the modes go}

  1. Additional options can also be set:

{Here is where the additional options go}

  1. .gisrc.json unmarshalled to Config struct
type Config struct {
	Zones []struct {
		Path    string `json:"path"`
		Bundles []struct {
			User     string   `json:"user"`
			Remote   string   `json:"remote"`
			Division string   `json:"division"`
			Repos    []string `json:"repositories"`
		} `json:"bundles"`
	} `json:"zones"`
}
  1. The default mode is verify. In this mode:
  • Verifies directory structure
  • Verifies repositories existence [highlight that it's async]
  • Gets Git information for each repository
  1. If the repository is complete, it's marked as such. Otherwise the user is prompted to confirm the next step

    {Steps go here}

  2. Once all actions have been cued...final approval...actions dispatched

Getting Started

Documentation

Overview

Package gis is the main package of git-in-sync.

Directories

Path Synopsis
Package atp manages test environments for git-in-sync packages.
Package atp manages test environments for git-in-sync packages.
Package conf implements access to gisrc.json files.
Package conf implements access to gisrc.json files.
Package emoji adds emoji to git-in-sync.
Package emoji adds emoji to git-in-sync.
Package flags add Mode and Config flags to git-in-sync.
Package flags add Mode and Config flags to git-in-sync.
Package repo implements support for Git repositories.
Package repo implements support for Git repositories.
Package repos collects Git repositories as Repo structs.
Package repos collects Git repositories as Repo structs.
Package stat tracks stats as the run progress.
Package stat tracks stats as the run progress.

Jump to

Keyboard shortcuts

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