Add remotebranch attributes to temporarily workaround jiri

Jiri added a feature that will complain if you specify a revision that
is not on the same remotebranch that you specify.  This helps uncover
nonsensical configurations.  However, in the case where no remotebranch
is specified, `master` is assumed.

https://github.com/vanadium/issues/issues/1161

Change-Id: I82ba05c8867abbad1a85b140e5c75a7dcbc90a6b
1 file changed
tree: 01dd3c3db428adda91573234dd26ecc2a3be41ac
  1. git-hooks/
  2. android
  3. buildtools
  4. LICENSE
  5. minimal
  6. mojo
  7. README.md
README.md

mojo-manifest

Contains the jiri manifest for the Mojo project

Creating a new checkout

Mojo uses the jiri tool to manage repositories https://github.com/vanadium/go.jiri. This tool manages a set of repositories specified by a manifest. The bootstrap procedure requires that you have Go 1.4 or newer and Git installed and on your PATH. To create a new Mojo checkout in a directory called ‘mojo’ run the following commands. The ‘mojo’ directory should not exist before running these steps.

curl -s https://raw.githubusercontent.com/vanadium/go.jiri/master/scripts/bootstrap_jiri | bash -s mojo
export PATH=`pwd`/mojo/.jiri_root/scripts:`pwd`/mojo/depot_tools:$PATH
cd mojo
jiri import mojo https://mojo.googlesource.com/mojo-manifest
jiri update

Setting up your environment

Mojo requires several libraries and tools to build and run. Many are placed within the checkout and updated whenever jiri update runs, but some must be installed on the system. Run

mojo/src/build/install-build-deps.sh

to install these packages.

See https://github.com/domokit/mojo for instructions on building and running tests for Mojo.

Submitting changes

To submit a patch in the Mojo repo do the following

cd mojo/src
# write some awesome stuff, commit to local branch
git checkout -b branch_name
vim some_file ...
git commit ...

# upload the patch to gerrit
jiri cl mail