Upstreams clowder.yml example

See also: clowder.yml syntax reference

name: upstreams-clowder

defaults:
  git:
    recursive: true

sources:
  chromium:
    url: chromium.googlesource.com
    protocol: https
  sourceforge:
    url: git.code.sf.net
    protocol: https

projects:
  - name: dropbox/djinni
    remote: upstream
    fork:
      name: JrGoodle/djinni
  - name: external/gyp
    source: chromium
    remote: upstream
    fork:
      name: JrGoodle/gyp
      branch: fork-branch
  - name: p/sox/code
    path: sox
    remote: upstream
    source: sourceforge
    fork:
      name: JrGoodle/sox

defaults:
  git:
    recursive: true

All projects will recursively init and update submodules by default.

sources:
  chromium:
    url: chromium.googlesource.com
    protocol: https
  sourceforge:
    url: git.code.sf.net
    protocol: https

The protocol is set specifically to https for repositories where the user may not have the ability to clone via ssh.

- name: dropbox/djinni
  remote: upstream
  fork:
    name: JrGoodle/djinni

The original repository will be cloned with a remote named upstream. The fork uses the default remote origin.

- name: external/gyp
  source: chromium
  remote: upstream
  fork:
    name: JrGoodle/gyp
    branch: fork-branch

The user’s fork will track fork-branch.

- name: p/sox/code
  path: sox
  remote: upstream
  source: sourceforge
  fork:
    name: JrGoodle/sox

The project is cloned to to the sox directory, rather than code.