1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 19:55:46 +00:00
Files
fep/scripts
silverpill 53fdf001f3 Revert "Adjust create_readme to new path structure (#233)" (#238)
This reverts commit 2c04513d60.

Codeberg has been updated. Resolves #231

cc @helge

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/238
Reviewed-by: helge <helge@noreply.codeberg.org>
Co-authored-by: silverpill <silverpill@firemail.cc>
Co-committed-by: silverpill <silverpill@firemail.cc>
2024-01-19 20:22:52 +00:00
..
2023-07-16 07:43:02 +00:00
2023-07-16 07:43:02 +00:00
2023-10-30 07:56:24 +01:00
2023-09-21 09:56:02 +02:00
2023-07-16 07:43:02 +00:00
2023-07-16 07:43:02 +00:00
2023-09-06 17:59:44 +00:00
2023-07-16 07:43:02 +00:00

tools for fep editors

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 and note the slug.

python scripts/create_issue.py $SLUG

creates the tracking issue and updates the FEP with the information. Then run

python scripts/create_readme.py

to update the table in README.md. You are now ready to commit the changes to the FEP (added discussionsTo to frontmatter) and README.md, added the new FEP.

Run

python scripts/create_topic.py $SLUG

and following the instructions to create a topic on SocialHub to discuss the FEP.

Finally, add the link to the SocialHub topic to the tracking issue, created above.

Configuration

Add a file config.json to the directory scripts with content

{
  "repo": "fep",
  "owner": "fediverse",
  "token": "CODEBERG_API_TOKEN"
}

The API token can be obtained by visiting https://codeberg.org/user/settings/applications and generating one with scope write:issue.

Setup for running pytest

Ensure dependencies (use a virtualenv)

pip install pytest

Check validity

pytest