Add oauth2_clients migration for Owncloud#30276
Merged
Merged
Conversation
artonge
requested review from
ChristophWurst,
miaulalala and
tcitworld
as code owners
December 15, 2021 09:50
artonge
force-pushed
the
feature/add_oauth2_migration
branch
from
December 15, 2021 09:51
832c2f3 to
6526703
Compare
artonge
marked this pull request as draft
December 15, 2021 09:52
artonge
marked this pull request as ready for review
December 15, 2021 09:52
artonge
force-pushed
the
feature/add_oauth2_migration
branch
3 times, most recently
from
December 16, 2021 15:43
5bea261 to
ae95a7c
Compare
artonge
force-pushed
the
feature/add_oauth2_migration
branch
from
December 16, 2021 15:44
ae95a7c to
5613ff3
Compare
artonge
force-pushed
the
feature/add_oauth2_migration
branch
from
December 16, 2021 15:46
09a097f to
eb57a60
Compare
artonge
requested review from
a team,
ArtificialOwl,
CarlSchwan and
come-nc
and removed request for
a team
December 16, 2021 15:58
ChristophWurst
requested changes
Dec 16, 2021
| } | ||
|
|
||
| public function run(IOutput $output) { | ||
| $schema = new SchemaWrapper($this->db); |
Member
There was a problem hiding this comment.
Maybe I just haven't seen any such code before, but building those migrations by hand and outside of regular migrations feels like something is off.
Why is this not done in a regular migration?
Collaborator
Author
There was a problem hiding this comment.
It is not a regular migration but a repair step. I took inspiration from existing ones: https://github.com/nextcloud/server/tree/master/lib/private/Repair/Owncloud. Should we use another approach?
artonge
force-pushed
the
feature/add_oauth2_migration
branch
from
December 20, 2021 12:01
eb57a60 to
f4c6e0f
Compare
Collaborator
Author
|
/backport to stable23 |
Collaborator
Author
|
/backport to stable22 |
Collaborator
Author
|
Limiting backport to stable22 for now. Should we backport this to older versions too? Not sure if the migration path is |
artonge
force-pushed
the
feature/add_oauth2_migration
branch
from
December 29, 2021 12:55
f4c6e0f to
eca0e17
Compare
artonge
force-pushed
the
feature/add_oauth2_migration
branch
from
December 29, 2021 13:41
eca0e17 to
77e360e
Compare
Collaborator
Author
|
/rebase |
nextcloud-command
force-pushed
the
feature/add_oauth2_migration
branch
from
January 4, 2022 16:33
77e360e to
3932baf
Compare
artonge
force-pushed
the
feature/add_oauth2_migration
branch
3 times, most recently
from
January 19, 2022 17:48
c6e8614 to
24c4db9
Compare
Collaborator
Author
|
/rebase |
nextcloud-command
force-pushed
the
feature/add_oauth2_migration
branch
from
March 24, 2022 10:42
24c4db9 to
cc9f240
Compare
PVince81
reviewed
Mar 24, 2022
artonge
force-pushed
the
feature/add_oauth2_migration
branch
2 times, most recently
from
March 24, 2022 17:06
0c2e4fe to
2f5ad65
Compare
Signed-off-by: Louis Chemineau <louis@chmn.me>
artonge
force-pushed
the
feature/add_oauth2_migration
branch
from
March 24, 2022 17:08
2f5ad65 to
c572286
Compare
Pytal
approved these changes
Mar 24, 2022
This was referenced Mar 28, 2022
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handy script to test the migration. Use it from a nextcloud root directory containing the migration.