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.
Remote Repository and Remote Organization Normalization #7949
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
Remote Repository and Remote Organization Normalization #7949
Changes from 97 commits
307a1cb
7bd1a5f
9476a36
1bd03c7
c3592eb
c6699fb
bf5c6b1
d90ecad
2c74027
9f30059
42a516d
48114e6
421bcae
afc7af0
28c6a18
37d89af
8d126db
dff138e
5d7c56f
c194ac7
76eff0d
77c1777
076fe93
3376795
9f7924d
b375696
c463880
f72a220
cff0bfd
2df6a4e
e714315
bf8a167
69df3d8
e1f4ac7
570e064
ac0c863
8354b66
41bebc9
7230e01
1d48b93
8df0032
bddaca2
3575d5c
8b89483
15ddb3d
42e1d52
ef99b33
6c0b22d
56682ae
eb4c625
5c1fd68
3e97c21
fde005b
018dc6b
bae9166
9b8e829
39cd6fa
b8d3c09
2c830e5
7950ca5
e748df6
c0a9a16
0c04f9f
feeb903
53d8f75
3ec81be
d6c5948
7b64f37
58973c9
ab7e093
e36719e
88d896d
629f355
055138a
578008f
233ac8e
9d41148
53d705b
7726375
89960c3
be8282a
8dcdd42
3489bca
e9619cd
f275bbb
097ba39
705cded
1e5dd5e
6b2f38a
6f7eefd
dc40044
265cde0
ec7729c
a718e78
cea826b
29c437e
920db54
d7a0445
76604af
349ba5a
36dd7fe
12e6f64
5317c80
99cbb6f
a449fd8
08a4641
17621bc
7fe6116
1eea07f
f5e01a6
53a1b95
20549f5
73c0447
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is
own
here? Could probably use a better nameThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why it's called
own
here, I think it refers to the VCS provider names ('github', 'gitlab' etc). We can change the variable name but the quey param name is for the API V2There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably make a note on this for the APIv3 where these endpoints are not created yet: #7510
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we remove this code? Do we run it somewhere else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not deleting
RemoteOrganization
on user delete as we will only delete theRemoteOrganizationRelation
in this case and that is handled by modelon_delete=CASECADE
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want, we could do a cleanup of organizations/repositories at some point by deleting those that has 0 users connected. I don't think we need this now, tho.