Skip to content

Commit

Permalink
doc/tools: document gitea-cli configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nodiscc committed Sep 1, 2022
1 parent ee51343 commit 230e61e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,16 @@ test_kvm_uefi:

# Update TODO.md by fetching issues from the main gitea instance API
# requirements: sudo apt install git jq
# gitea-cli config defined in ~/.config/gitearc
# gitea-cli config defined in ~/.config/gitearc:
# GITEA_USER=user
# GITEA_API_TOKEN=token
# GITEA_URL=https://git.example.org
# # Allow self-signed certs
# curl() { command curl --insecure "$@"; }
# gitea.issues() {
# split_repo "$1"
# auth curl --silent "${GITEA_URL%/}/api/v1/repos/$REPLY/issues"
# }
update_todo:
git clone https://github.com/bashup/gitea-cli gitea-cli
echo '<!-- This file is automatically generated by "make update_todo" -->' >| doc/md/TODO.md
Expand Down

0 comments on commit 230e61e

Please sign in to comment.