πŸ‘· little helper scripts to handle GitHub milestones and labels
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
Arthur Schiwon 1c0cfa33a9
milestone updates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-17 14:27:47 +02:00
.github docs: correct version number 2024-07-23 17:14:02 +02:00
brancher chore: add app_api to github_helper tools (branch, tag, milestone) 2024-10-04 14:06:59 +03:00
changelog fix: undefined array key warning 2024-04-11 11:14:33 +02:00
collaboration-checker fix(collaboration): Report maintainer role even with write permissions 2024-02-01 08:20:00 +01:00
label-updater feat(apps): add files_downloadlimit 2024-03-06 21:38:36 +01:00
milestoneupdater milestone updates 2024-10-17 14:27:47 +02:00
sensitive-issue-searcher Bump guzzlehttp/psr7 from 1.9.0 to 1.9.1 in /sensitive-issue-searcher 2023-04-19 21:19:42 +00:00
setup-releases-repository do not require MSGH blob, clone in temp dir and cleanup thereof 2022-04-12 13:26:02 +02:00
spdx-convertor Merge pull request #112 from nextcloud/ShGKme-patch-2 2024-07-23 19:03:39 +02:00
tagger chore: add app_api to github_helper tools (branch, tag, milestone) 2024-10-04 14:06:59 +03:00
.gitignore Add milestone updater 2016-09-14 17:58:30 +02:00
README.md allow fetching pending PRs for first beta 2021-10-13 15:23:50 +02:00
credentials.dist.json Provide a changelog script 2018-03-13 18:12:24 +01:00

README.md

Github helper scripts

This is a little collection of useful helper scripts.

credentials.json

All the scripts inside this repo need a credentials.json in their home folder (e.g. brancher/ ). The content should be a JSON object with username (your github account name) and apikey (generate one in Settings > Developer settings > Personal access tokens), e.g.:

{
  "username": "nickvergessen",
  "apikey": "1234567890abcdef1234567890abcdef12345678"
}

Changelog generator

  • provide the credentials by placing a copy of credentials.dist.json as credentials.json in the root of this folder
  • go into changelog/
  • install composer dependencies: composer install

Generate changelog command

Syntax:

php index.php generate:changelog $repoName $base $head --format=$format

The format setting has the following options:

  • Github (default)
  • forum (--format=forum - Markdown with absolute links)
  • changelog page on our website (--format=html - HTML list with absolute links)

E.g. to generate the changelog for the upcoming 13.0.1 server release. This script automatically derives the milestone from the first argument "v13.0.0" will mean that the milestone "13.0.1" will be checked for pending pull requests:

php index.php generate:changelog server v13.0.0 stable13

E.g. generate the changelog for the upcoming 3.3.0 Android release:

php index.php generate:changelog android stable-3.3.0 stable-3.3.x

E.g. to generate the pending PRs for a very first beta of a major release run (mind, the vxx.0.0beta0 tag is expected NOT to exist)):

php index.php generate:changelog server v42.0.0beta0 master