From 38266f45c63bfaaf0ad84fd1450ec8b1ccdd6edb Mon Sep 17 00:00:00 2001 From: Jon Hadfield Date: Wed, 13 Mar 2024 20:13:40 +0000 Subject: [PATCH] update README.md. --- CHANGELOG.md | 4 ++++ README.md | 14 ++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dac4867..78dce36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 1.2.12 release 2024-03-13 + +- Enable limiting GitHub repo backups to user owned + ### 1.2.11 release 2024-03-10 - Add support for Azure DevOps respositories diff --git a/README.md b/README.md index 5e8ad8c..e0407b1 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ $ docker run --rm -v ./soba-backups:/backups -e GITHUB_TOKEN= -e GIT ## latest updates +### 1.2.12 release 2024-03-13 + +- Enable limiting GitHub repo backups to user owned + ### 1.2.11 release 2024-03-10 - Add support for Azure DevOps respositories @@ -50,10 +54,6 @@ $ docker run --rm -v ./soba-backups:/backups -e GITHUB_TOKEN= -e GIT - Adds new feature to enable publishing to [ntfy](https://ntfy.sh/) topic on completion -### 1.2.8 release 2024-02-14 - -- Adds new feature to enable sending webhooks on completion - See full changelog [here](./CHANGELOG.md). ## supported OSes @@ -363,6 +363,11 @@ list of organisations in the environment variable: GITHUB_ORGS. By default, all users' repositories will be backed up, even when specifying organisations. To skip user repositories set environment variable: GITHUB\_SKIP\_USER_REPOS to true. +#### Limit user repo backups to those owned by the user + +By default, all repositories a user is affiliated with, e.g. a collaborator on, are included for backup. +To limit these to only those owned by the user, set environment variable: GITHUB\_LIMIT\_USER\_OWNED to true. + #### GitHub Repo/Bundle comparison method Environment variable: GITHUB_COMPARE @@ -439,6 +444,7 @@ This process is far quicker than cloning but should only be used if the followin - **variable** GITHUB_TOKEN **Value** - **variable** GITHUB_ORGS **Value** (Optional - comma separated list of organisations) - **variable** GITHUB\_SKIP\_USER\_REPOS **Value** (Optional - defaults to false) + - **variable** GITHUB\_LIMIT\_USER\_OWNED **Value** (Optional - defaults to false) - **variable** GITHUB_BACKUPS **Value** (Number of backups to keep for each repo) - **variable** GITLAB_TOKEN **Value** - **variable** GITLAB_BACKUPS **Value** (Number of backups to keep for each repo)