your friendly github + gitea bot
Charles Reid a0cbff98c1 add gitignore file 1 week ago
.gitignore add gitignore file 1 week ago
README.md update readme 1 week ago
create_issue.py add script to create issue and associated requirements.txt 1 week ago
requirements.txt add script to create issue and associated requirements.txt 1 week ago

README.md

b-windex

Windex is your friendly github and gitea bot.

Windex uses PyGitea.

Getting Started

You will need a Gitea instance to be up and running.

Generate a personal access token for your Gitea account.

See this documentation page for instructions on how to do that: https://docs.gitea.io/en-us/api-usage/

Now you should have an access token. Put it in the file secret.py (which is in the .gitignore file) like this:

access_token = 'XXXXXXXXXXXXXXX'

Then import it into scripts like so:

from secret import access_token

Utilities

Repository actions:

  • Extract a list of issues for each repository (user/org/site)
  • Extract a ist of all of a user’s repositories
  • Create a new repository
  • Tidy existing repository (don’t step on web hooks toes)

(Example: license bot)

Issues:

  • Create a new issue
  • Modify an existing issue (comment/tag)
  • Close an issue
  • Extract a list of issues for a given repository