diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-25 15:07:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-25 15:07:15 +0300 |
commit | df65129ab40540728d4b391fc1a21d5a1de87b9c (patch) | |
tree | 70537d61226dcb2b330e76cbdf2b3c6f77fd6c62 /doc | |
parent | ef62043981093451b8ad3113d57c227251646f9f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/geo/disaster_recovery/index.md | 1 | ||||
-rw-r--r-- | doc/update/deprecations.md | 18 | ||||
-rw-r--r-- | doc/user/project/repository/branches/index.md | 15 |
3 files changed, 34 insertions, 0 deletions
diff --git a/doc/administration/geo/disaster_recovery/index.md b/doc/administration/geo/disaster_recovery/index.md index d6f6211ed4c..2f636dc6ba4 100644 --- a/doc/administration/geo/disaster_recovery/index.md +++ b/doc/administration/geo/disaster_recovery/index.md @@ -88,6 +88,7 @@ Note the following when promoting a secondary: - If you encounter an `ActiveRecord::RecordInvalid: Validation failed: Name has already been taken` error message during this process, for more information, see this [troubleshooting advice](../replication/troubleshooting.md#fixing-errors-during-a-failover-or-when-promoting-a-secondary-to-a-primary-site). +- You should [point the primary domain DNS at the newly promoted site](#step-4-optional-updating-the-primary-domain-dns-record). Otherwise, runners must be registered again with the newly promoted site, and all Git remotes, bookmarks, and external integrations must be updated. #### Promoting a **secondary** site running on a single node running GitLab 14.5 and later diff --git a/doc/update/deprecations.md b/doc/update/deprecations.md index 8fa9cb1168f..c36203ee492 100644 --- a/doc/update/deprecations.md +++ b/doc/update/deprecations.md @@ -239,6 +239,24 @@ the aliasing for the `CiRunnerUpgradeStatusType` type will be removed. <div class="deprecation breaking-change" data-milestone="17.0"> +### Container Registry support for the Swift and OSS storage drivers + +<div class="deprecation-notes"> +- Announced in GitLab <span class="milestone">16.6</span> +- Removal in GitLab <span class="milestone">17.0</span> ([breaking change](https://docs.gitlab.com/ee/update/terminology.html#breaking-change)) +- To discuss this change or learn more, see the [deprecation issue](https://gitlab.com/gitlab-org/container-registry/-/issues/1141). +</div> + +The container registry uses storage drivers to work with various object storage platforms. While each driver's code is relatively self-contained, there is a high maintenance burden for these drivers. Each driver implementation is unique and making changes to a driver requires a high level of domain expertise with that specific driver. + +As we look to reduce maintenance costs, we are deprecating support for OSS (Object Storage Service) and OpenStack Swift. Both have already been removed from the upstream Docker Distribution. This helps align the container registry with the broader GitLab product offering with regards to [object storage support](https://docs.gitlab.com/ee/administration/object_storage.html#supported-object-storage-providers). + +OSS has an [S3 compatibility mode](https://www.alibabacloud.com/help/en/oss/developer-reference/compatibility-with-amazon-s3), so consider using that if you can't migrate to a supported driver. Swift is [compatible with S3 API operations](https://docs.openstack.org/swift/latest/s3_compat.html), required by the S3 storage driver as well. + +</div> + +<div class="deprecation breaking-change" data-milestone="17.0"> + ### DAST ZAP advanced configuration variables deprecation <div class="deprecation-notes"> diff --git a/doc/user/project/repository/branches/index.md b/doc/user/project/repository/branches/index.md index 30ddf8d3230..2b6858ab4f7 100644 --- a/doc/user/project/repository/branches/index.md +++ b/doc/user/project/repository/branches/index.md @@ -389,3 +389,18 @@ To fix this problem: Git versions [2.16.0 and later](https://github.com/git/git/commit/a625b092cc59940521789fe8a3ff69c8d6b14eb2), prevent you from creating a branch with this name. + +### Find all branches you've authored + +To find all branches you've authored in a project, run this command in a Git repository: + +```shell +git for-each-ref --format='%(refname:short) %(authoremail)' | grep $(git config --get user.email) +``` + +To get a total of all branches in a project, sorted by author, run this command +in a Git repository: + +```shell +git for-each-ref --format='%(authoremail)' | sort | uniq -c | sort -g +``` |