|
1 | | -# repo-template |
2 | | -Generic repo template for Plus3IT repositories |
3 | | - |
4 | | -To use this template: |
5 | | - |
6 | | -1. Select the green "Use this template" button, or [click here](https://github.com/plus3it/repo-template/generate). |
7 | | -2. Select the repo Owner, give the repo a name, enter a description, select Public or Private, and click "Create repository from template". |
8 | | -3. Clone the repository and create a new branch. |
9 | | -4. Configure the following settings on your new repo. |
10 | | - * `GENERAL` |
11 | | - * `Features` |
12 | | - * Turn off Wikis, Sponsorships, Discussions, and Projects |
13 | | - * `Pull Requests` |
14 | | - * Turn off Squash Merging |
15 | | - * Turn off Rebase Merging |
16 | | - * Turn on Allow Auto-Merge |
17 | | - * Turn on Automatically delete head branches |
18 | | - * `Pushes` |
19 | | - * Limit how many branches can be updated in a single push: 2 |
20 | | - * `COLLABORATORS and TEAMS` |
21 | | - * `Manage Access` |
22 | | - * Add relevant team roles, for example |
23 | | - * `tardigrade-admins` (Admin) |
24 | | - * `terraform` (Write) |
25 | | - * `releasebot` (Write) |
26 | | - * `Branches` |
27 | | - * `Create Branch Protection rule` for `main` |
28 | | - * Turn on Require pull request before merging |
29 | | - * Turn on Require approvals |
30 | | - * Turn on Dismiss stale pull requests... |
31 | | - * `Required Status Checks` |
32 | | - * As relevant to projects, for example |
33 | | - * WIP |
34 | | - * lint/actionlint |
35 | | - * lint/tardigradelint |
36 | | - * test / mockstacktest |
37 | | - * Turn on Do not allow bypassing the above settings |
38 | | -5. Edit the following files to customize them for the new repository: |
39 | | - * `LICENSE` |
40 | | - * Near the end of the file, edit the date and change the repository name |
41 | | - * `CHANGELOG.template.md` |
42 | | - * Rename to `CHANGELOG.md`, replacing the repo-template changelog |
43 | | - * Edit templated items for the new repo |
44 | | - * `.bumpversion.cfg` |
45 | | - * Edit the version number for the new repo, ask team if not sure what to |
46 | | - start with |
47 | | - * `README.md` |
48 | | - * Replace contents for the new repo |
49 | | - * `.github/` |
50 | | - * Inspect dependabot and workflow files in case changes are needed for |
51 | | - the new repo |
52 | | -6. Commit the changes and open a pull request |
| 1 | +# notepad-plusplus-formula |
| 2 | + |
| 3 | +A Saltstack formula designed to install and configure the [Notepad++](https://notepad-plus-plus.org/) text-editor (and to uninstall it later). |
| 4 | + |
| 5 | +It is primarily expected that this formula will be run via [P3](https://www.plus3it.com/)'s "[watchmaker](https://watchmaker.readthedocs.io/en/stable/)" framework. |
| 6 | + |
| 7 | +This formula is able to install and configure the Notepad++ text-editor on Windows-based systems. Linux functionality would also have been provided, but there's currently no Linux variant from the same makers. |
| 8 | + |
| 9 | +## Available states |
| 10 | + |
| 11 | +- [notepad-plusplus](#notepad-plusplus) |
| 12 | +- [notepad-plusplus.clean](#notepad-plusplus.clean) |
| 13 | +- [notepad-plusplus.package](#notepad-plusplus.package) |
| 14 | +- [notepad-plusplus.package.clean](#notepad-plusplus.package.clean) |
| 15 | +- [notepad-plusplus.config](#notepad-plusplus.config) |
| 16 | +- [notepad-plusplus.config.clean](#notepad-plusplus.config.clean) |
| 17 | + |
| 18 | +### notepad-plusplus |
| 19 | + |
| 20 | +Executes the `package` and `config` states to install and configure the Notepad++ editor. This includes the editor binaries, as well as some Windows Registry settings and user-configuration template files. |
| 21 | + |
| 22 | +### notepad-plusplus.clean |
| 23 | + |
| 24 | +Executes the `package` and `config` states' `clean` actions to fully uninstall the Notepad++ editor and associated registry entries |
| 25 | + |
| 26 | +### notepad-plusplus.package |
| 27 | + |
| 28 | +Executes _just_ the `package` state to install the Notepad++ package. |
| 29 | + |
| 30 | +### notepad-plusplus.package.clean |
| 31 | + |
| 32 | +Executes _just_ the `package` state's `clean` module to uninstall the Notepad++ binaries. |
| 33 | + |
| 34 | +### notepad-plusplus.config |
| 35 | + |
| 36 | +Executes _just_ the `config` state to install registry-keys and other configuration-items to support the healthy running of the Notepad++ application |
| 37 | + |
| 38 | +### notepad-plusplus.config.clean |
| 39 | + |
| 40 | +Executes _just_ the `config` state's `clean` module to uninstall the Notepad++ application's registry keys and other configuration-items set up during a prior, formula-managed installation. |
0 commit comments