Filip Pytloun | 2b6014f | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | |
| 2 | =========== |
| 3 | Git formula |
| 4 | =========== |
| 5 | |
| 6 | Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. |
| 7 | |
| 8 | Sample pillars |
| 9 | ============== |
| 10 | |
Filip Pytloun | 2b6014f | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 11 | Simplest GIT setup |
| 12 | |
Ales Komarek | 581f2b2 | 2017-01-10 22:19:35 -0800 | [diff] [blame] | 13 | .. code-block:: yaml |
| 14 | |
Filip Pytloun | 2b6014f | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 15 | git: |
| 16 | client: |
| 17 | enabled: true |
| 18 | |
| 19 | GIT with user setup |
| 20 | |
| 21 | .. code-block:: yaml |
| 22 | |
| 23 | git: |
| 24 | client: |
| 25 | enabled: true |
| 26 | user: |
| 27 | - user: |
| 28 | name: jdoe |
| 29 | email: j@doe.com |
| 30 | |
Botond Zoltán | f73f48a | 2017-09-07 12:55:31 +0200 | [diff] [blame] | 31 | GIT with user and SSL setup |
| 32 | |
| 33 | .. code-block:: yaml |
| 34 | |
| 35 | git: |
| 36 | client: |
| 37 | disable_ssl_verification: True |
| 38 | enabled: true |
| 39 | user: |
| 40 | - user: |
| 41 | name: jdoe |
| 42 | email: j@doe.com |
| 43 | |
Filip Pytloun | 2b6014f | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 44 | Reclass with GIT with user setup |
| 45 | |
| 46 | .. code-block:: yaml |
| 47 | |
| 48 | git: |
| 49 | client: |
| 50 | enabled: true |
| 51 | user: |
| 52 | - user: ${linux:system:user:jdoe} |
| 53 | |
Botond Zoltán | f73f48a | 2017-09-07 12:55:31 +0200 | [diff] [blame] | 54 | Reclass with GIT with user and SSL setup |
| 55 | |
| 56 | .. code-block:: yaml |
| 57 | |
| 58 | git: |
| 59 | client: |
| 60 | disable_ssl_verification: True |
| 61 | enabled: true |
| 62 | user: |
| 63 | - user: ${linux:system:user:jdoe} |
| 64 | |
Richard Felkl | 66375d8 | 2017-10-09 11:26:23 +0200 | [diff] [blame] | 65 | Reclass with GIT over HTTP server setup. Requires web server. |
| 66 | |
| 67 | .. code-block:: yaml |
| 68 | |
| 69 | git: |
| 70 | server: |
| 71 | directory: /srv/git |
| 72 | repos: |
Richard Felkl | 1eb9c7c | 2017-12-05 15:21:41 +0100 | [diff] [blame] | 73 | - name: custom-repo-1 |
| 74 | - name: custom-repo-2 |
| 75 | |
| 76 | Reclass with GIT over HTTP server setup. Requires web server. Mirrored upsream repos example. |
| 77 | |
| 78 | .. code-block:: yaml |
| 79 | |
| 80 | git: |
| 81 | server: |
| 82 | directory: /srv/git |
| 83 | repos: |
Richard Felkl | 66375d8 | 2017-10-09 11:26:23 +0200 | [diff] [blame] | 84 | - name: gerritlib |
| 85 | url: https://github.com/openstack-infra/gerritlib.git |
| 86 | - name: jeepyb |
| 87 | url: https://github.com/openstack-infra/jeepyb.git |
| 88 | |
Botond Zoltán | f73f48a | 2017-09-07 12:55:31 +0200 | [diff] [blame] | 89 | |
Filip Pytloun | 2b6014f | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 90 | Read more |
| 91 | ========= |
| 92 | |
| 93 | * http://git-scm.com/ |
| 94 | * http://git-scm.com/book/en/Customizing-Git-Git-Configuration |
| 95 | * https://github.com/nesi/puppet-git/tree/master/manifests |
Filip Pytloun | e8c1eb2 | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 96 | |
| 97 | Documentation and Bugs |
| 98 | ====================== |
| 99 | |
| 100 | To learn how to install and update salt-formulas, consult the documentation |
| 101 | available online at: |
| 102 | |
| 103 | http://salt-formulas.readthedocs.io/ |
| 104 | |
| 105 | In the unfortunate event that bugs are discovered, they should be reported to |
| 106 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 107 | formula: |
| 108 | |
| 109 | https://github.com/salt-formulas/salt-formula-git/issues |
| 110 | |
| 111 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 112 | use Launchpad salt-formulas project: |
| 113 | |
| 114 | https://launchpad.net/salt-formulas |
| 115 | |
| 116 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 117 | |
| 118 | https://launchpad.net/~salt-formulas-users |
| 119 | |
| 120 | Developers wishing to work on the salt-formulas projects should always base |
| 121 | their work on master branch and submit pull request against specific formula. |
| 122 | |
| 123 | https://github.com/salt-formulas/salt-formula-git |
| 124 | |
| 125 | Any questions or feedback is always welcome so feel free to join our IRC |
| 126 | channel: |
| 127 | |
| 128 | #salt-formulas @ irc.freenode.net |