Skip to content

Commit a457bc6

Browse files
authored
Merge pull request #2 from myii/docs/provide-repo-usage-notes
docs(readme): add initial `Using this repo` section
2 parents 99b8c65 + ebfffcd commit a457bc6

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

docs/README.rst

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ssf-formula
1515
:target: https://github.com/semantic-release/semantic-release
1616

1717
A SaltStack formula that is used to manage other SaltStack formulas,
18-
particularly those that involve `semantic-release`, TOFS and `inspec`-based testing.
18+
particularly those that involve ``semantic-release``, TOFS and/or InSpec-based testing.
1919

2020
.. contents:: **Table of Contents**
2121

@@ -40,6 +40,27 @@ Contributing to this repo
4040

4141
Please see :ref:`How to contribute <CONTRIBUTING>` for more details.
4242

43+
Using this repo
44+
---------------
45+
46+
Due to the nature of the ``git`` operations used by this formula,
47+
there are assumptions made about the local configuration:
48+
49+
#. Each repo has two remotes and tracking branches such as provided by the `git fork
50+
<https://github.com/tj/git-extras/blob/master/Commands.md#git-fork>`_
51+
command (available in the ``git-extras`` package).
52+
53+
#. A GitHub token is available, with the relevant permissions to create pull requests for each formula.
54+
55+
a. This token needs to be provided in the custom script, as mentioned in the `pillar.example
56+
<https://github.com/myii/ssf-formula/blob/99b8c659aeacca1f5b3e60736fe496be1de97d76/pillar.example#L41-L44>`_
57+
file.
58+
#. The custom script is defined in the pillar/config.
59+
60+
However, pull requests (for each formula) should not be submitted until the changes are reviewed and merged here first.
61+
When testing changes locally, use the pillar/config settings as `recommended
62+
<https://github.com/myii/ssf-formula/blob/99b8c659aeacca1f5b3e60736fe496be1de97d76/pillar.example#L28-L31>`_.
63+
4364
Available states
4465
----------------
4566

0 commit comments

Comments
 (0)