2024-04-09 19:48:55 +00:00
# tools for fep facilitators
2023-07-16 07:43:02 +00:00
Please follow the steps in configuration before following "Merge a FEP".
## Merge a FEP
Merge the Pull Request in [https://codeberg.org/fediverse/fep/pulls ](https://codeberg.org/fediverse/fep/pulls )
and note the slug.
``` bash
2024-11-15 11:22:01 +00:00
./scripts/create_issue.py $SLUG
2023-07-16 07:43:02 +00:00
```
2023-09-06 17:59:44 +00:00
creates the tracking issue and updates the FEP with the information.
Then run
2023-07-16 07:43:02 +00:00
``` bash
2024-11-15 11:22:01 +00:00
./scripts/create_readme.py
2023-07-16 07:43:02 +00:00
```
to update the table in `README.md` . You are now ready to commit the
2024-05-17 19:33:25 +00:00
changes to the FEP (added `trackingIssue` to frontmatter) and README.md,
2023-07-16 07:43:02 +00:00
added the new FEP.
## Configuration
Add a file `config.json` to the directory `scripts` with content
``` json
{
"repo" : "fep" ,
"owner" : "fediverse" ,
"token" : "CODEBERG_API_TOKEN"
}
```
2023-09-06 17:59:44 +00:00
The API token can be obtained by visiting [https://codeberg.org/user/settings/applications ](https://codeberg.org/user/settings/applications ) and generating one with scope `write:issue` .
2023-07-16 07:43:02 +00:00
## Setup for running pytest
Ensure dependencies (use a virtualenv)
``` bash
pip install pytest
```
Check validity
``` bash
pytest
```