|
META TOPICPARENT |
name="WebHome" |
|
|
< < | -- Will Breaden Madden - 2015-02-14 |
> > | -- Will Breaden Madden - 2015-02-16 |
|
|
|
Git is better than Subversion. |
|
< < | The CERN central Git service is at https://git.cern.ch/ . The CERN Information Technology Department page on the service is https://information-technology.web.cern.ch/services/git-service . The CERN Service Portal Knowledge Base articles for the Git service are here https://cern.service-now.com/service-portal/faq.do?se=git-service . |
> > | CERN provides access-controlled Git repositories. In a nutshell, a repository is created usually for an individual project and its access permissions are controlled by e-groups. So, the access and editing permissions for users of the repository are inherited from an e-group. For a quick start, a recommended procedure is as follows:
- Request a new e-group.
- Become not only an owner of the e-group, but also a member.
- Request a new repository (perhaps one for testing initially).
- Wait for a time (anything from 20 minutes to 17 hours) for the e-group permissions to propagate to the repository.
- Clone your new repository using Kerberos authentication.
- Fuck shit up.
- Push to the central repository.
|
| |
|
< < | The access and editing permissions of CERN Git repositories are controlled using e-groups. |
> > | links
The CERN central Git service is at https://git.cern.ch/ . The CERN Information Technology Department page on the service is https://information-technology.web.cern.ch/services/git-service . The CERN Service Portal Knowledge Base articles for the Git service are here https://cern.service-now.com/service-portal/faq.do?se=git-service . |
|
web representation of repositories |
|
owners and administrators |
|
< < | There is one owner and can be multiple administrators of an e-group. Ownership can be transferred. Owners and administrators have the same usage rights of the e-group. When an e-group is deleted, the owner only can recreate a group with the same name 30 days afterwards. |
> > | There is one owner and there can be multiple administrators of an e-group. Ownership can be transferred. Owners and administrators have the same usage rights of the e-group. When an e-group is deleted, the owner only can recreate a group with the same name 30 days afterwards. |
|
posting restrictions |
| A recommended workflow for generating the README in general development (i.e. following the git-hooks setup etc.) is as follows:
- Edit the Markdown README file "README.md".
|
|
< < |
- Compile the Markdown README file to a HTML file suitable for inclusion in a DIV of a CERN Gitweb summary page and compile the Markdown README file to a standalone HTML file (perhaps suitable for CERN SVN repositories) using the script "compile_documentation.py" (noting that the program Pandoc must be available as a dependency of this script).
|
> > |
- Compile the Markdown README file to a HTML file suitable for inclusion in a DIV of a CERN Gitweb summary page and to a standalone HTML file (perhaps suitable for CERN SVN repositories) using the script "compile_documentation.py" (noting that the program Pandoc must be available as a dependency of this script -- as must be the Python module docopt).
|
|
%CODE{"bash"}%
wget https://raw.githubusercontent.com/wdbm/CERN-projects/master/compile_documentation.py |