Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[full-ci] prepare release, bump version #5156

Merged
merged 1 commit into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions changelog/2.0.0_2022-11-25/mount-ids.md

This file was deleted.

75 changes: 0 additions & 75 deletions changelog/2.0.0_2022-11-25/update-web-6.0.0-rc.6.md

This file was deleted.

88 changes: 0 additions & 88 deletions changelog/2.0.0_2022-11-25/update-web-6.0.0-rc.8.md

This file was deleted.

34 changes: 34 additions & 0 deletions changelog/2.0.0_2022-11-30/mount-ids.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Bugfix: Make storage users mount ids unique by default

The mount ID of the storage users provider needs to be unique by default. We made this value configurable and added it to ocis init to be sure that we have a random uuid v4. This is important for federated instances.

> **Warning**
>BREAKING Change: In order to make every ocis storage provider ID unique by default, we needed to use a random uuidv4 during ocis init. Existing installations need to set this value explicitly or ocis will terminate after the upgrade.
> To upgrade from 2.0.0-rc.1 to 2.0.0-rc.2, 2.0.0 or later you need to set `GATEWAY_STORAGE_USERS_MOUNT_ID` and `STORAGE_USERS_MOUNT_ID` to the same random uuidv4.
>
>You can also add
>```
>storage_users:
> mount_id: some-random-uuid
>gateway:
> storage_registry:
> storage_users_mount_id: some-random-uuid
>```
>to the ocis.yaml file which was created during initialisation
>
>Changing the ID of the storage-users provider will change all
>- WebDAV Urls
>- FileIDs
>- SpaceIDs
>- Bookmarks
>- and will make all existing shares invalid.
>
>The Android, Web and iOS clients will continue to work without interruptions. The Desktop Client sync connections need to be deleted and recreated.
>Sorry for the inconvenience 😅
>
>WORKAROUND - Not Recommended: You can avoid this by setting
>`GATEWAY_STORAGE_USERS_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009157` and
>`STORAGE_USERS_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009157`
>But this will cause problems later when two ocis instances want to federate.

https://github.com/owncloud/ocis/pull/5091
15 changes: 5 additions & 10 deletions changelog/CHANGELOG.tmpl
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
{{ $allVersions := . }}
{{- range $index, $changes := . }}{{ with $changes -}}
{{ $version := .Version -}}
{{/* ocis beta program */ -}}
{{ if eq .Version "2.0.0" -}}
{{ $version = (printf "%v-%v" $version "rc.2") -}}
{{ end -}}
{{ if gt (len $allVersions) 1 -}}
# Changelog for [{{ $version }}] ({{ .Date }})
# Changelog for [{{ .Version }}] ({{ .Date }})

The following sections list the changes for {{ $version }}.
The following sections list the changes for {{ .Version}}.

{{/* creating version compare links */ -}}
{{ $next := add1 $index -}}
{{ if ne (len $allVersions) $next -}}
{{ $previousVersion := (index $allVersions $next).Version -}}
{{ if eq .Version "unreleased" -}}
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master
[{{ .Version}}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master

{{ else -}}
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ $version }}
[{{ .Version}}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ .Version}}

{{ end -}}
{{ end -}}
Expand All @@ -29,7 +24,7 @@ The following sections list the changes for {{ $version }}.

{{ end -}}
{{ else -}}
# Changes in {{ $version }}
# Changes in {{ .Version}}

{{ end -}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: 2.0.0-rc.2
OCIS_DOCKER_TAG: 2.0.0
OCIS_DOMAIN: ocis.ocis-keycloak.released.owncloud.works
KEYCLOAK_DOMAIN: keycloak.ocis-keycloak.released.owncloud.works
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
Expand Down
Loading