Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Add repo filtering to Gerrit code host connections#47021

Merged
pjlast merged 8 commits into
pjlast/46622-gerrit-accountfrom
pjlast/gerrit-repo-filtering
Jan 27, 2023
Merged

Add repo filtering to Gerrit code host connections#47021
pjlast merged 8 commits into
pjlast/46622-gerrit-accountfrom
pjlast/gerrit-repo-filtering

Conversation

@pjlast

@pjlast pjlast commented Jan 27, 2023

Copy link
Copy Markdown
Contributor

Adds a Gerrit code host config option to specify specific projects on Gerrit.

Test plan

Add unit tests

@sourcegraph-bot

sourcegraph-bot commented Jan 27, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 1809061...d2df354.

Notify File(s)
@indradhanush internal/repos/gerrit.go
internal/repos/gerrit_test.go
@ryanslade internal/repos/gerrit.go
internal/repos/gerrit_test.go
@sashaostrikov internal/repos/gerrit.go
internal/repos/gerrit_test.go

@sashaostrikov sashaostrikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Added a couple of questions about naming and unused property.

Comment thread internal/repos/gerrit.go Outdated
Comment thread internal/repos/gerrit.go Outdated
@sg-e2e-regression-test-bob

sg-e2e-regression-test-bob commented Jan 27, 2023

Copy link
Copy Markdown

Bundle size report 📦

Initial size Total size Async size Modules
0.00% (0.00 kb) 0.02% (+2.87 kb) 0.02% (+2.87 kb) 0.00% (0)

Look at the Statoscope report for a full comparison between the commits 1a2b5fd and 5af62f4 or learn more.

Open explanation
  • Initial size is the size of the initial bundle (the one that is loaded when you open the page)
  • Total size is the size of the initial bundle + all the async loaded chunks
  • Async size is the size of all the async loaded chunks
  • Modules is the number of modules in the initial bundle

@sashaostrikov sashaostrikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM [2]! Noticed all naming fixes, left a couple of comments in tests.

Comment thread internal/repos/gerrit_test.go Outdated
Comment thread internal/repos/gerrit_test.go Outdated
Comment thread internal/repos/gerrit_test.go
Comment thread internal/repos/gerrit_test.go Outdated
Comment thread schema/gerrit.schema.json
@pjlast pjlast merged this pull request into pjlast/46622-gerrit-account Jan 27, 2023
@pjlast pjlast deleted the pjlast/gerrit-repo-filtering branch January 27, 2023 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants