No description
  • PHP 92.8%
  • Shell 7.2%
Find a file
Joas Schilling a6c655e4b0
Merge pull request #161 from nextcloud/dependabot/composer/milestonemover/guzzlehttp/psr7-2.11.0
build(deps): bump guzzlehttp/psr7 from 2.5.0 to 2.11.0 in /milestonemover
2026-06-12 09:58:34 +02:00
.github build(deps): bump actions/checkout from 6.0.2 to 6.0.3 2026-06-03 00:05:31 +00:00
brancher feat: Add office as shipped app 2026-05-27 16:00:52 +02:00
changelog fix(changelog): fix new-app stdout pollution and wrong release title 2026-06-09 14:48:51 +02:00
collaboration-checker fix(collaboration): Report maintainer role even with write permissions 2024-02-01 08:20:00 +01:00
label-updater feat: Add office as shipped app 2026-05-27 16:00:52 +02:00
milestonemover build(deps): bump guzzlehttp/psr7 in /milestonemover 2026-06-11 18:01:02 +00:00
milestoneupdater Update milestones after 2026-06-02 releases 2026-06-03 11:03:33 +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-fork-repository feat(repo): Add script for gmbh forks 2025-12-12 10:02:45 +01:00
spdx-convertor Merge pull request #112 from nextcloud/ShGKme-patch-2 2024-07-23 19:03:39 +02:00
tagger feat: Add office as shipped app 2026-05-27 16:00:52 +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