This started as a git svn clone of http://svn.cacert.org/CAcert/Policies/ This is not an official repository yet, just a base for discussion
Find a file
2024-02-24 14:03:16 +01:00
Agreements policy images 2013-03-17 21:45:17 +00:00
code simpler shell script 2010-09-30 01:33:24 +00:00
images policy images 2013-03-17 21:45:17 +00:00
OrganisationAssurancePolicy add DRAFT reference, 2013-03-10 00:37:43 +00:00
AssurancePolicy.html shifting images and dropping XHTML checker icon, only 2010-08-30 13:18:43 +00:00
CAcertBookshelf.html added bookshelf 2008-09-23 08:54:24 +00:00
CAcertBookshelf.pdf added bookshelf 2008-09-23 08:54:24 +00:00
CAcertBookshelf.xml Added DocBook 5.0 bookshelf, policy manual and OA subpolicy for europe 2008-09-16 11:54:51 +00:00
CAcertCommunityAgreement_20140708.html git-svn-id: http://svn.cacert.org/CAcert/Policies@2566 14b1bab8-4ef6-0310-b690-991c95c89dfd 2014-07-08 22:09:57 +00:00
CAcertPolicyManual.html added policy manuals 2008-09-23 08:47:41 +00:00
CAcertPolicyManual.pdf added policy manuals 2008-09-23 08:47:41 +00:00
CAcertPolicyManual.xml added policy manuals 2008-09-23 08:47:41 +00:00
CertificationPracticeStatement.html Converted existing CPS 2023-11-03 11:10:00 +01:00
CertificationPracticeStatement.md Converted existing CPS 2023-11-03 11:10:00 +01:00
ConfigurationControlSpecification.html shifting images and dropping XHTML checker icon, only 2010-08-30 13:18:43 +00:00
ControlledDocumentList.html updated ControlledDocumentList from policy officer 2015-01-11 17:58:02 +00:00
DesertSeedingPolicy.html written by PD, access still not available to others 2009-08-14 11:53:37 +00:00
DisputeResolutionPolicy-p20130116.html DRP update for transfer to www.cacert.org/policy including recent policy decisions update: p20130116 2013-02-15 22:27:25 +00:00
DisputeResolutionPolicy.html p20130116 carried 2013-01-31 23:29:01 +00:00
DisputeResolutionPolicy_p20121213.html PoP link update according to https://bugs.cacert.org/view.php?id=1131 2012-12-21 18:31:59 +00:00
DocumentsPolicy.html Some minor changes to bring it into line with later decisions: 2008-02-25 13:29:01 +00:00
Makefile added bookshelf 2008-09-23 08:54:24 +00:00
NucleusAssurancePolicy.html added, as the previous line has some variation possible 2013-03-25 08:49:30 +00:00
Policy.odt Added policy doc as initiated by Ian. Now commented by teus. 2009-01-28 16:05:30 +00:00
policy_group_decisions_summary.html updated with 2 decisions 2013-03-11 19:36:52 +00:00
PolicyOnFoundations.html moving these all into Policies so that they can be managed from 2008-01-28 00:01:03 +00:00
PolicyOnGovernance.html shifting images and dropping XHTML checker icon, only 2010-08-30 13:18:43 +00:00
PolicyOnJuniorAssurersMembers.html https://wiki.cacert.org/PolicyDecisions#p20130222 2013-03-09 13:05:47 +00:00
PolicyOnPolicy.html reference to last fix 20130310 (removing /wiki/ from links) 2013-03-09 23:41:51 +00:00
PrivacyPolicy.php moving these all into Policies so that they can be managed from 2008-01-28 00:01:03 +00:00
PrivacyPolicy.txt Changed address to that indicated by public officer. 2012-11-12 06:27:34 +00:00
README.md Add Git workflow documentation 2024-02-24 14:03:16 +01:00
RemoteAssurancePolicy.html images only 2010-08-30 13:31:05 +00:00
RemoteVerificationPolicy.html shifting images and dropping XHTML checker icon, only 2010-08-30 13:18:43 +00:00
SecurityPolicy.html URLs only 2010-06-28 14:03:17 +00:00
transtab.utf Added table for ISO transliteration to simples coding. 2008-06-30 17:48:01 +00:00
TTPAssistedAssurancePolicy-20130211.html TTP-assisted-assurance policy transfer from SVN to main CAcert website 2013-02-11 15:05:17 +00:00
TTPAssistedAssurancePolicy.html ug 2010-10-03 11:18:37 +00:00
TVerifyAssurancePolicy.html git-svn-id: http://svn.cacert.org/CAcert/Policies@1495 14b1bab8-4ef6-0310-b690-991c95c89dfd 2009-05-04 22:02:10 +00:00
WebDataPrivacyPolicy.html add WebDataPrivacyPolicy 2014-03-31 22:42:53 +00:00
X509ImplementationPolicy.html shifting images and dropping XHTML checker icon, only 2010-08-30 13:18:43 +00:00

The CAcert policy repository

This repository contains work in progress policy documents for CAcert.

Getting started using Git

We use Git for working with this repository. Git is a free and open source distributed version control system.

Installing Git

To work with Git you need a piece of client software. Git is available for all major operating systems. On Linux systems Git is available from your distribution's package manager and can be installed using something like

# install Git on Debian based systems
sudo apt install git

or

# install Git on Fedora based systems
sudo dnf install git

For Windows or MacOS you should use the binary installers from the Git Download Page.

First steps with Git

Open a Terminal window (Linux and MacOS have default terminal applications, on Windows you might want to use the Git bash that comes bundled with the Git client installation).

Tell Git who you are and what email address you would like to use. This information will be put in commits you will do later.

# Tell Git who you are
git config --global user.name "Your Full Name"
git config --global user.email "yourname@cacert.org"

Get a clone of this repository

A local working copy is called a clone in Git terminology. Run

cd $HOME/where-your-projects-live
git clone https://code.cacert.org/cacert/cacert-policies.git

to get your local copy.

Update your local copy

If you have not worked on your copy for a while you can update it with the following commands:

cd $HOME/where-your-projects-live/cacert-policies
git pull -r

Making changes

If you want to make changes to the content of the repository, working on a Git branch is recommended. You can have multiple branches in your local Git clone and can switch between these.

cd $HOME/where-your-projects-live/cacert-policies
# create a branch for your work
git checkout -b some-topic-you-will-work-on

You can then make changes in the files in your working copy as you like. You can also add new files. When you are satisfied with what you have, you can add the changes to Git's staging area (in some documents this is also called the index):

git add .

You can show the status of your local copy using

git status

If you would like to remove a file you can run

git rm the-file-you-do-not-want-anymore

To publish your changes for review you need to create a commit and push your branch to the origin repository.

Please make yourself familiar with how to write good Git commit messages. It will make the life of your future self and of other contributors a lot better.

# Make a commit
git commit -m "Add inspiration quotes

Fixes #1"
# Push your branch to the origin repository
git push origin some-topic-you-will-work-on

You may repeat the edit, commit, push cycle multiple times and finally create a pull request by clicking on the link in the output of the git push command.

Switching to another branch

If you wait for a review on your pull request or want to work on a different topic you can switch to the main branch and start a new branch from there as described above.

git switch main

Git comes with a very comprehensive built-in help. Help can be retrieved using

# get help for Git as a whole
git help
# get help for a specific command, in this case git switch
git help switch

If you would like to dive deeper into Git you can read the free Pro Git book on the Git website.