This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pld-gitolite [2012-04-01 05:47] draenog [Web interface] |
pld-gitolite [2016-03-21 10:20] (current) glen [Authentication] |
||
---|---|---|---|
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#rw_access_ussing_ssh_public_keys|Manage your keys]] | ||
+ | ===== 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://github.com/draenog/gitolite|gitolite was forked]] and an option to disable creation of wildcard repositories was added. Instead an [[http://sitaramc.github.com/gitolite/doc/admin-defined-commands.html|admin defined command]] was created for this task: | + | 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://github.com/draenog/gitolite|gitolite was forked]] and an option to disable creation of wildcard repositories was added. Instead an [[http://sitaramc.github.com/gitolite/ADCs.html|admin defined command]] was created for this task: |
ssh draenog@carme.pld-linux.org create <new_repo> | ssh draenog@carme.pld-linux.org create <new_repo> | ||
=====Package deletion===== | =====Package deletion===== | ||
- | People with write access to gitolite-admin repository can use [[http://sitaramc.github.com/gitolite/doc/admin-defined-commands.html|admin defined command]] to move obsoleted packages to attic space: | + | People with write access to gitolite-admin repository can use [[http://sitaramc.github.com/gitolite/ADCs.html|admin defined command]] to move obsoleted packages to attic space: |
ssh draenog@carme.pld-linux.org trash <repo> | ssh draenog@carme.pld-linux.org trash <repo> | ||
| | ||
=====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: | ||
<file> | <file> | ||
- | Subject: [SCM] packages/a branch master created. a575a0acd8e7d9fdfdffbfe3f78b5f33cc819f7a | + | Subject: packages/amanda branch master updated. 29fa1ceae8ca943f79d842b8229d713556a22342 |
- | This is an automated email from the git hooks/post-receive script. It was | + | The branch, master has been updated |
- | generated because a ref change was pushed to the repository containing | + | via 29fa1ceae8ca943f79d842b8229d713556a22342 (commit) |
- | the project "packages/a". | + | from a1d49d8d532329dad9e246d0671c5367d620561c (commit) |
- | The branch, master has been created | + | Those revisions listed above that are new to this repository have |
- | at a575a0acd8e7d9fdfdffbfe3f78b5f33cc819f7a (commit) | + | not appeared on any other notification email; so we list those |
+ | revisions in full, below. | ||
- Log ----------------------------------------------------------------- | - Log ----------------------------------------------------------------- | ||
- | commit a575a0acd8e7d9fdfdffbfe3f78b5f33cc819f7a | + | commit 29fa1ceae8ca943f79d842b8229d713556a22342 |
- | Author: Kacper Kornet <draenog@pld-linux.org> | + | Author: Arkadiusz MiĹ\233kiewicz <arekm@pld-linux.org> |
- | Date: Thu May 26 16:19:28 2011 +0100 | + | Date: Fri Mar 30 15:28:53 2012 +0000 |
- | Second commit | + | - release 3 |
- | diff --git a/f b/f | + | Changed files: |
- | index 7898192..422c2b7 100644 | + | amanda.spec -> 1.221 |
- | --- a/f | + | |
- | +++ b/f | + | |
- | @@ -1 +1,2 @@ | + | |
- | a | + | |
- | +b | + | |
- | commit 3a9172e6deb87fa536a356e2a703d334e63cb6dd | + | diff --git a/amanda.spec b/amanda.spec |
- | Author: Kacper Kornet <draenog@pld-linux.org> | + | index a27eb99..a98e6e6 100644 |
- | Date: Thu May 26 16:19:13 2011 +0100 | + | --- a/amanda.spec |
+ | +++ b/amanda.spec | ||
+ | @@ -10,7 +10,7 @@ Summary: A network-capable tape backup solution | ||
+ | Summary(pl.UTF-8): Sieciowo zorientowany system tworzenia kopii zapasowych | ||
+ | Name: amanda | ||
+ | Version: 3.2.3 | ||
+ | -Release: 2 | ||
+ | +Release: 3 | ||
+ | License: BSD | ||
+ | Group: Networking/Utilities | ||
+ | Source0: http://downloads.sourceforge.net/amanda/%{name}-%{version}.tar.gz | ||
- | 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/post-receive | hooks/post-receive | ||
-- | -- | ||
- | packages/a | + | packages/amanda |
</file> | </file> | ||
Line 122: | Line 125: | ||
=====Web interface===== | =====Web interface===== | ||
A web interface for browsing git repositories can be provided by gitweb. You can see trial setup | A web interface for browsing git repositories can be provided by gitweb. You can see trial setup | ||
- | [[http://carme.pld-linux.org:12|here]]. | + | [[http://carme.pld-linux.org:1234|here]]. |
=====User tools===== | =====User tools===== | ||
==== Modified builder script ==== | ==== Modified builder script ==== |