Git repositories
****************
Multiple Git repositories can be imported. The XML syntax is:
.. sourcecode:: xml
...
...
Contributors
...
...
project_members
...
Contributors
...
project_admins
...
...
...
...
- A single ```` tag containing:
- An optional ```` tag containing:
- One or more ```` containing the ugroup name. Note that the project administrators
ugroup will always be part of the git administrators.
- An optional ```` tag containing:
- One or more ```` containing the jenkins server URL name.
.. attention::
This tag needs that the plugin ``hudson_git`` is installed and available.
- One or more ```` tag containing:
- The attribute ``bundle-path`` which references a bundle file generated by
``git bundle create --all``
- The attribute ``name`` to specify the name of the repository. Note that it accepts a "path" notation
(see the repository list in the git plugin)
- The attribute ``description`` containing the description of the repository
- The tag ```` containing one or multiple ```` tags. It allows to give the
different permissions of the repository to the given repository. The ```` tag must contain only
one ugroup name.
.. attention::
Git service does not export forked repositories.
Another synthax exists for the git XML import:
.. sourcecode:: xml
...
...
Contributors
...
project_members
...
Contributors
...
project_admins
...
Contributors
...
project_admins
...
Contributors
...
project_admins
...
...
...
...
The big change is in the ```` tag:
- The tag ```` containing ```` and an optional tag named ````
- The tag ```` containing one or multiple ```` tags. It allows to give the
different permissions of the repository to the given repository. The ```` tag must contain only
one ugroup name.
- The tag ```` containing one or multiple ```` tag.
- The attribute ``enabled`` which defines if this permission option is used for the repository or not
- The attribute ``use_regexp`` which defines if patterns with regexp are authorized or not
- The tag ```` containing ```` tags.
- The attribute ``value`` which defines the gitolite path checked by the pattern
- The attribute ``type`` which defines if this permission is a branch or a tag permission. The possible values are ``tag`` and ``branch``