pld-gitolite
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pld-gitolite [2012-01-10 23:50] – Links to pld-git changed to pld-github glen | pld-gitolite [2016-03-21 10:20] (current) – [Authentication] glen | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| Authentication is based on ssh keys. People whose keys are in SSH-keys in PLD repository should have access. | Authentication is based on ssh keys. People whose keys are in SSH-keys in PLD repository should have access. | ||
| + | [[howto-git# | ||
| + | ===== Changes to Developer ===== | ||
| + | |||
| + | Changes to developer can be seen from [[cvs2git]] page. | ||
| ===== Access control===== | ===== Access control===== | ||
| ==== Assumptions: | ==== Assumptions: | ||
| Line 52: | Line 56: | ||
| ===== New package creation ===== | ===== New package creation ===== | ||
| - | In upstream version of gitolite, new package is created by cloning of no existing repo (if the access rules allow for it). However I think that it is too error prone. So [[https:// | + | In upstream version of gitolite, new package is created by cloning of no existing repo (if the access rules allow for it). However I think that it is too error prone. So [[https:// |
| ssh draenog@carme.pld-linux.org create < | ssh draenog@carme.pld-linux.org create < | ||
| =====Package deletion===== | =====Package deletion===== | ||
| - | People with write access to gitolite-admin repository can use [[http:// | + | People with write access to gitolite-admin repository can use [[http:// |
| ssh draenog@carme.pld-linux.org | ssh draenog@carme.pld-linux.org | ||
| | | ||
| =====Restrictions on committed files==== | =====Restrictions on committed files==== | ||
| It is possible to prevent the commits of large files or archives. Currently every file must pass the following tests: | It is possible to prevent the commits of large files or archives. Currently every file must pass the following tests: | ||
| - | * its size is smaller then 1 MB or its name matches one of patterns: *.spec, *.patch, *.diff | + | * its size is smaller then 200kb or it is a text file smaller then 2Mb or its name matches one of patterns: *.spec, *.patch, *.diff |
| * it is not a zip or compressed file | * it is not a zip or compressed file | ||
| * it is not a tar archive | * it is not a tar archive | ||
| Line 69: | Line 73: | ||
| The example email: | The example email: | ||
| < | < | ||
| - | Subject: | + | Subject: packages/amanda |
| - | This is an automated email from the git hooks/ | + | The branch, master has been updated |
| - | generated because a ref change was pushed to the repository containing | + | via 29fa1ceae8ca943f79d842b8229d713556a22342 (commit) |
| - | the project " | + | |
| - | The branch, master has been created | + | Those revisions listed above that are new to this repository have |
| - | | + | not appeared on any other notification email; so we list those |
| + | revisions in full, below. | ||
| - Log ----------------------------------------------------------------- | - Log ----------------------------------------------------------------- | ||
| - | commit | + | commit |
| - | Author: | + | Author: |
| - | Date: Thu May 26 16:19:28 2011 +0100 | + | Date: Fri Mar 30 15:28:53 2012 +0000 |
| - | | + | |
| - | diff --git a/f b/f | + | Changed files: |
| - | index 7898192..422c2b7 100644 | + | |
| - | --- a/f | + | |
| - | +++ b/f | + | |
| - | @@ -1 +1,2 @@ | + | |
| - | a | + | |
| - | +b | + | |
| - | commit 3a9172e6deb87fa536a356e2a703d334e63cb6dd | + | diff --git a/ |
| - | Author: Kacper Kornet <draenog@pld-linux.org> | + | index a27eb99..a98e6e6 100644 |
| - | Date: Thu May 26 16:19:13 2011 +0100 | + | --- a/ |
| + | +++ b/ | ||
| + | @@ -10,7 +10,7 @@ Summary: | ||
| + | | ||
| + | Name: | ||
| + | | ||
| + | -Release: 2 | ||
| + | +Release: | ||
| + | | ||
| + | | ||
| + | | ||
| - | First commit | + | ----------------------------------------------------------------------- |
| - | diff --git a/f b/f | + | Summary of changes: |
| - | new file mode 100644 | + | amanda.spec | 2 +- |
| - | index 0000000..7898192 | + | 1 file changed, 1 insertion(+), 1 deletion(-) |
| - | --- /dev/null | + | |
| - | +++ b/f | + | |
| - | @@ -0,0 +1 @@ | + | |
| - | +a | + | |
| - | + | ||
| - | ----------------------------------------------------------------------- | + | |
| hooks/ | hooks/ | ||
| -- | -- | ||
| - | packages/a | + | packages/amanda |
| </ | </ | ||
| Line 120: | Line 123: | ||
| git clone git:// | git clone git:// | ||
| + | =====Web interface===== | ||
| + | A web interface for browsing git repositories can be provided by gitweb. You can see trial setup | ||
| + | [[http:// | ||
| =====User tools===== | =====User tools===== | ||
| ==== Modified builder script ==== | ==== Modified builder script ==== | ||
pld-gitolite.1326235815.txt.gz · Last modified: 2012-01-10 23:50 by glen