command
module
Version:
v0.0.0-...-def3303
Opens a new window with list of versions in this module.
Published: Aug 13, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
git-in-sync
Synopsis
git-in-sync
parses flags, reads ~/.gisrc.json
then configures directories and
repositories as configured.
Overview
~/.gisrc.json
outlines directories and their repos as bundles
and zones
:
{json block showing configuration}
- Modes are set with
-m
:
{Here is where the modes go}
- Additional options can also be set:
{Here is where the additional options go}
- .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"`
}
- 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
-
If the repository is complete, it's marked as such. Otherwise the user is prompted
to confirm the next step
{Steps go here}
-
Once all actions have been cued...final approval...actions dispatched
Getting Started
Documentation
¶
Package gis is the main package of git-in-sync.
Source Files
¶
Directories
¶
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. |
Click to show internal directories.
Click to hide internal directories.