No description
Find a file
Joas Schilling 9b15d044c4
Merge pull request #142 from nextcloud/dependabot/github_actions/peter-evans/create-pull-request-8.0.0
build(deps): bump peter-evans/create-pull-request from 7.0.11 to 8.0.0
2025-12-12 09:49:05 +01:00
.github build(deps): bump peter-evans/create-pull-request from 7.0.11 to 8.0.0 2025-12-10 17:21:56 +00:00
brancher chore: add app_api to github_helper tools (branch, tag, milestone) 2024-10-04 14:06:59 +03:00
changelog feat: improve changelog formatting 2025-06-06 14:47:50 +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
milestonemover fix(milestonemover): only move opened issues 2025-10-02 11:28:14 +02:00
milestoneupdater Update milestones (erratum) 2025-12-11 11:59:48 +01: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 feat(tagger): Tag nextcloud/documentation 2025-10-10 08:25:15 +02:00
.gitignore feat: add milestone mover 2025-08-25 11:49:08 +02:00
credentials.dist.json Provide a changelog script 2018-03-13 18:12:24 +01:00
README.md allow fetching pending PRs for first beta 2021-10-13 15:23:50 +02:00

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