Skip to content

mgpm.yml

Tristan Lins edited this page Dec 12, 2016 · 6 revisions
github:
  token: abcdef0123456789...

repositories:
  -
    # generic git repository
    type: git
    name: acme # name of the directory
    path: example # (optional) sub-path inside working directory
    url: http://example.com/acme.git

  -
    # cgit provider
    type: cgit
    baseUrl: http://cgit.my.host # base url (index) to your cgit
    pathPrefix: /projects/acme/ # path prefix of scrapped repositories
    path: example # (optional) sub-path inside working directory

  -
    # github provider
    type: github
    owner: acme # name of the owner
    name: 'foo|bar' # (optional) name of projects, regexp pattern are allowed
    path: example # (optional) sub-path inside working directory

  -
    # gitlab provider
    type: gitlab
    url: http://example.com/gitlab # the domain for gitlab, if necessary with deployment path
    token: abcdef0123456789... # the users private token
    namespace: acme # name of the namespace, usually a user or group name
    project: 'foo|bar' # (optional) name of projects, regexp pattern are allowed
    archived: true # (optional) include archived projects, default is false
    path: example # (optional) sub-path inside working directory

Clone this wiki locally