Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 67 lines (43 sloc) 2.594 kB
72080fe @kiorky default permissions
kiorky authored
1 Contributing Addons
2 ----------------------
3 Pyramid give you a repository where everyone can commit and share their addons.
4
5
6 “Rules” on github/collective
7 +++++++++++++++++++++++++++++++
8
9 - Every member gets Github’s Pull and Push permission to all repositories.
10 - Each repository has owners (team of repository owners) which have Administrative rights to it.
11 - Abuse should be reported by opening a ticket in the pyramid-collective.github.com repository.
12
13 How to get access
14 ++++++++++++++++++++
15
16 - File a ticket that you want permission here:
17
18 https://github.com/pyramid-collective/pyramid-collective.github.com/issues
19
77c5531 @kiorky default permissions
kiorky authored
20 - Or fork
21 `pyramid-collective.github.com <https://github.com/pyramid-collective/pyramid-collective.github.com>`_
22 repository, edit permissions.cfg file, commit and push it and send us a Pull Request (see section below for details).
72080fe @kiorky default permissions
kiorky authored
23
24
25 How to manage permissions and repositories
26 +++++++++++++++++++++++++++++++++++++++++++
27 Overview
28 ***********
77c5531 @kiorky default permissions
kiorky authored
29 Permissions are stored in permissions.cfg file in `pyramid-collective.github.com <https://github.com/pyramid-collective/pyramid-collective.github.com>`_.
72080fe @kiorky default permissions
kiorky authored
30
31 Fork the pyramid-collective.github.com repository and then edit the permissions.cfg. If you’re done commit, push and create a pull request.
32
33 We scheduled a script that runs every 10min and checks for differences and updates them.
34
35 Inside permissions.cfg file you have a list of teams and repositories. Team are sections starting with team: and repository is a section starting with repo:.
36
37 Instructions on editing permissions.cfg
38 ******************************************
39
40 - Existing repository, but not owner any more
41 You created a repository in past and now youre not owner anymore? Add yourself to the owners = of the existing repository section.
42 Fork an existing repository from another github user or organization
43 Add a new section
44
45 ::
46
47 [repo:REPOSITORYNAME]
48 fork = FROM_USERNAME_OR_ORGANISATIONNAME/REPOSITORYNAME
49 teams = contributors
50 owners = MY_USERNAME
51
52 - Create a new repository
53 Add a new section ::
54
55 [repo:NEW_REPOSITORY_NAME]
56 teams = contributors
57 owners = MY_USERNAME
58
59 - Add yourself to the contributors (or any other team)
60
61 Find the section [team:contributors] and append your username to the end.
62
63 Please not use the button on github website to create new repositories, otherwise the admin team has to edit the permissions.cfg file manually because of your laziness
506eacc @kiorky default permissions
kiorky authored
64
65
66 .. _pyramid-colleciive.github.com: https://github.com/pyramid-collective/pyramid-collective.github.com
Something went wrong with that request. Please try again.