From 6e788b45f2f17063c46e2ac1610bc622a5065b74 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 22 2016 15:44:14 +0000 Subject: Include the doc git repo in the migration as well as an example The git repo for the documentation of the project follows the same structure as the git repos for requests and tickets and should therefore be migrated as well. This commit also includes a small shell command that can be used to migrate the git repo into the `forks/` folder. --- diff --git a/UPGRADING.rst b/UPGRADING.rst index 143fc06..fe9e3b1 100644 --- a/UPGRADING.rst +++ b/UPGRADING.rst @@ -49,8 +49,8 @@ So the entire ``forks`` folder is moved under the ``repos`` folder where the other repositories are, containing the sources of the projects. -Git repos for ``tickets`` and ``requests`` will be trickier to move as the -structure changes from: :: +Git repos for ``tickets``, ``requests`` and ``docs`` will be trickier to +move as the structure changes from: :: tickets/ ├── foo.git @@ -75,12 +75,17 @@ to: :: ├── foo.git └── bar.git -Same for the ``requests`` git repos. +Same for the ``requests`` and the ``docs`` git repos. -As you can see in the ``tickets`` and the ``requests`` folders there are two -types of folders, git repos which are folder with a name ending with ``.git``, -and folder corresponding to usernames. These last ones are the ones to be -moved into a subfolder ``forks/``. +As you can see in the ``tickets``, ``requests`` and ``docs`` folders there +are two types of folders, git repos which are folder with a name ending +with ``.git``, and folder corresponding to usernames. These last ones are +the ones to be moved into a subfolder ``forks/``. + +This can be done using something like: :: + + mkdir forks + for i in `ls -1 |grep -v '\.git'`; do mv $i forks/; done * Re-generate the gitolite configuration.