... | @@ -308,6 +308,13 @@ although that one doesn't use the proper verb tenses |
... | @@ -308,6 +308,13 @@ although that one doesn't use the proper verb tenses |
|
|
|
|
|
#### TPA part: lock down the repository and add redirections
|
|
#### TPA part: lock down the repository and add redirections
|
|
|
|
|
|
|
|
This part handles the server side of things. It will install a
|
|
|
|
`pre-receive` hook in the Git repository to forbid pushes,
|
|
|
|
redirections in the Git web interfaces, and document the change in
|
|
|
|
gitolite.
|
|
|
|
|
|
|
|
It assumes the repository has already been migrated.
|
|
|
|
|
|
4. make an (executable) `pre-receive` hook in `git-rw` with an exit
|
|
4. make an (executable) `pre-receive` hook in `git-rw` with an exit
|
|
status of `1` warning about the new code location, this can be
|
|
status of `1` warning about the new code location, this can be
|
|
done with this Fabric command:
|
|
done with this Fabric command:
|
... | | ... | |