No description
  • PHP 93%
  • Shell 7%
Find a file
Joas Schilling 22990b217f
Merge pull request #188 from nextcloud/dependabot/composer/changelog/composer-da93e76c56
build(deps): bump guzzlehttp/guzzle in /changelog
2026-07-11 13:58:45 +02:00
.github ci(dependabot): Fix missing property 2026-07-06 15:30:18 +02:00
brancher feat: Add office as shipped app 2026-05-27 16:00:52 +02:00
changelog build(deps): bump guzzlehttp/guzzle in /changelog 2026-07-11 01:08:47 +00:00
collaboration-checker build(deps): bump guzzlehttp/guzzle in /changelog 2026-07-11 01:08:47 +00:00
label-updater build(deps): bump guzzlehttp/guzzle in /changelog 2026-07-11 01:08:47 +00:00
milestonemover build(deps): bump guzzlehttp/guzzle in /changelog 2026-07-11 01:08:47 +00:00
milestoneupdater build(deps): bump guzzlehttp/guzzle in /changelog 2026-07-11 01:08:47 +00: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(tagger): use gh CLI for fast tagging via API 2026-05-28 21:21:27 +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