This repository was archived by the owner on Sep 30, 2024. It is now read-only.
batches: Surface commitSigningConfiguration on BatchChangesCodeHost type#52733
Merged
st0nebreaker merged 30 commits intoJun 5, 2023
Merged
Conversation
Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com> Co-authored-by: Milan Freml <kopancek@users.noreply.github.com> close #52264
Closes #52270 Exposes new `domain` property from #52268 ## Test plan - Make sure there is a GitHub App on your instance - In the API Console ensure the following query doesn't fail and returns the `domain` property: ``` query { gitHubApps { nodes { name domain } } } ```` --------- Co-authored-by: Milan Freml <kopancek@users.noreply.github.com> Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com> Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Closes [#52346](https://github.com/sourcegraph/sourcegraph/issues/52346) This PR allows the domain to be specified when creating a GitHub app. Right now it's hard coded to only work with the `repos` domain till we figure out the UX for creating a Batch Changes GitHub App. ## Test plan <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles --> * Create a GitHub app. * inspect the `github_apps` table for the newly created GitHub app - the app should have the value of `repos` in the `domain` column.
Collaborator
Bundle size report 📦
Look at the Statoscope report for a full comparison between the commits 74a2524 and 9ee59be or learn more. Open explanation
|
…egraph into batches/commit-signing
703446d to
ef1c773
Compare
st0nebreaker
commented
Jun 1, 2023
Contributor
|
Codenotify: Notifying subscribers in CODENOTIFY files for diff 74767e7...91839f2.
|
Contributor
courier-new
approved these changes
Jun 2, 2023
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
courier-new
reviewed
Jun 2, 2023
courier-new
reviewed
Jun 3, 2023
courier-new
reviewed
Jun 3, 2023
courier-new
left a comment
Contributor
There was a problem hiding this comment.
Added a couple small suggestions around the error handling of the unique batches app check!
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
37a8ec5 to
d64184c
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Closes #52484.
GitHubAppConfigurationproperty onBatchChangesCodeHosttypegithub_app.base_urlbatchesGH Apps on the samebase_urlTest plan
sg migration upsuccessfully adds a trailing/on anygithub_apps.base_urlmissing itif domain == types.ReposDomain {, go through the UI to add a new GitHub App on an existingbase_url, observe it error