Skip to end of metadata
Go to start of metadata

Untar the base git repo to your home directory:

$ tar xvf /path/to/ooi_repo<date +"%Y%m%d">.tgz

Check the 001 OOI bundle

$ cd ooi

$ git status

$ git bundle verify /path/to/001_ooi.bundle

Apply the 001 OOI bundle

$ git pull /path/to/001_ooi.bundle refs/heads/master

$ git status
# On branch master

# Your branch is ahead of 'origin/master' by 6 commits.

#

# Changed but not updated:

#   (use "git add <file>..." to update what will be committed)

#   (use "git checkout -- <file>..." to discard changes in working directory)

#

# modified:   submodules/ogc (new commits)

#

Check the 002 OOI bundle

$ git bundle verify /path/to/002_ooi.bundle

Apply the 002 OOI bundle

$ git pull /path/to/002_ooi.bundle refs/remotes/origin/master

$ git status
# On branch master

# Your branch is ahead of 'origin/master' by 10 commits.

#

# Changed but not updated:

#   (use "git add <file>..." to update what will be committed)

#   (use "git checkout -- <file>..." to discard changes in working directory)

#

# modified:   submodules/ogc (new commits)

#

no changes added to commit (use "git add" and/or "git commit -a")

Updated submodule (ogc)

$ cd submodules/<submodule>

$ git bundle verify /path/to/ogc.bundle
The bundle contains 1 ref

1826b0b0ac26875e82674b1f3ad1ec5efa9a0e74 refs/heads/tmp

The bundle requires these 1 ref

bcc4af7334e4ecef58d9515a3807e5c740e7fc26 OOI #1 Fixing some issues for the latest AWIPS2
$ git fetch /path/to/submodule.bundle <ref> (ref here is tmp)

$ git checkout <hash from verify>

New submodule (ooi-foss)

$ cd submodules

$ git bundle verify /path/to/foss.bundle

$ git clone /path/to/bundle <submodule>

$ cd <submodule>

$ git checkout <hash from verify>

$ cd ..

$ mv <submodule>/.git ../.git/modules/submodules/<submodule>

Edit .git file:

$ vi <submodule>/.git

Insert the following, save, & exit:

gitdir: ../../.git/modules/submodules/<submodule>

Apply instrument_agent bundle

$ cd ooi

$ git bundle verify /path/to/instrument_agent.bundle

$ git branch instrument_agent

$ git checkout instrument_agent

$ git pull /path/to/instrument_agent.bundle refs/heads/instrument_agent

$ git submodule update --init edex/com.raytheon.uf.ooi.plugin.instrumentagent

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.