No description
  • PHP 95.9%
  • Shell 4.1%
Find a file
Joas Schilling 1f0010a526
Merge pull request #152 from nextcloud/fix/tagger-branch
fix(tagger): do not specify --branch when cloning default branch
2026-05-08 13:54:07 +02:00
.github build(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 2026-04-10 16:43:05 +00:00
brancher enh: files_lock will be shipped as of NC 34 2026-05-06 18:05:08 +02:00
changelog feat(changelog): add status icons on pending PRs 2026-01-08 13:04:44 +01:00
collaboration-checker fix(collaboration): Report maintainer role even with write permissions 2024-02-01 08:20:00 +01:00
label-updater enh: files_lock will be shipped as of NC 34 2026-05-06 18:05:08 +02:00
milestonemover fix(milestonemover): only move opened issues 2025-10-02 11:28:14 +02:00
milestoneupdater enh: files_lock will be shipped as of NC 34 2026-05-06 18:05:08 +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 fix(tagger): do not specify --branch when cloning default branch 2026-05-08 13:00:42 +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