-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Update OAuth App to Use The RemoteRepositoryRelation Model #7675
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
Merged
humitos
merged 24 commits into
readthedocs:remote-repository-normalization
from
saadmk11:update-oauth-services
Dec 1, 2020
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
307a1cb
Add Initial Modeling with Through Model and Data Migration for Remote…
saadmk11 7bd1a5f
Improve data migration performance
saadmk11 9476a36
Logging, performance optimization for data migration
saadmk11 1bd03c7
Use TimeStampedModel model and follow django docs for migrating throu…
saadmk11 c3592eb
Updated data migrations to only migrate RemoteRepositories of recentl…
saadmk11 c6699fb
Do not remove fields from RemoteRepository Model
saadmk11 bf5c6b1
Do not Migrate Active Field
saadmk11 d90ecad
Rename RemoteRelation model to RemoteRepositoryRelation
saadmk11 2c74027
Merge pull request #7536 from saadmk11/remote-repo-normalization
humitos 9f30059
Update oauth services to use the RemoteRepositoryRelation model
saadmk11 42a516d
Use remote relations on update_webhook function
saadmk11 48114e6
Lint fix
saadmk11 421bcae
Fix tests
saadmk11 afc7af0
lint fix
saadmk11 28c6a18
Add TODO for removing json field from RemoteRepository serializer
saadmk11 37d89af
Optimize remote_relations query
saadmk11 8d126db
Filter remote_relations according to loggedin user on update_webhook
saadmk11 dff138e
Only delete RemoteRepositoryRelation objects on remote repository sync
saadmk11 5d7c56f
Change RemoteRepositoryRelation related_name to remote_repository_rel…
saadmk11 c194ac7
Delete remote repository relation on sync without filtering with proj…
saadmk11 76eff0d
Make remoterepository and account unique together
saadmk11 77c1777
Fix sync_delete test
saadmk11 e714315
Merge branch 'remote-repository-normalization' into update-oauth-serv…
saadmk11 bf8a167
Rename oauth migrations
saadmk11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
This won't probably be required in the end as we may resync everything (pull down from VCS providers) a week in advance, but we can create a note and remove it later if needed.