Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The local repository for a JS7 top-level folder is created when a user performs the checkout or  clone operation for the Git repository via the JOC Cockpit.
  • The local repository is persistent and is updated from the JOC Cockpit database (store operation) and from the remote Git repository (pull operation).
  • The remote Git repository is updated from the local repository by use of the push operation.
  • The JS7 - Cleanup Service removes any local repositories if the JS7 top-level folder no longer exists, i.e. if a top-level folder has been dropped from the JOC Cockpit.

The following operations are available:

  • git-./inventory/repository/git/checkout
    • checks out a specific branch or tag from the Git repository to the local repository
  • git-./inventory/repository/git/clone
    • initially clones a Git repository to a local repository
  • git-./inventory/repository/git/add
    • adds or updates (stages) a all new or modified scheduling object on the file system to the local repository
  • git-reset
    • un-stages a modification from the local repository, the modified file in the file system remains unchanged and still contains the modification
  • git-delete
    • removes an already added scheduling object from the local repository
  • ./inventory/repository/git/commit
    • commits all
    git-commit
    • commits newly staged scheduling objects to a local repository
  • git-./inventory/repository/git/push
    • pushes changes from the local repository to the remote Git repository

...

The following operations are available:

  • git-tag
    • JS7 REST Web Service API not implemented yet
    • tags a commit with a version label
  • git-./inventory/repository/git/push
    • see above

Rollout

Rollout between JS7 instances is performed using the Git functionality. The JS7 REST Web Service API manages the processes for checkout and cloning.

The following operations are available:

  • git-./inventory/repository/git/checkout
    • checks out a specific branch or tag from the remote repository to on the local repository
  • git-./inventory/repository/git/clone
    • initially clones a remote repository to a local repository
  • git-./inventory/repository/git/pull
    • pulls recent changes from the remote repository to the local repository

...