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

phabricator: Simplify repo create#39487

Merged
ryanslade merged 1 commit into
mainfrom
rs/refactor-phabricator-create
Jul 27, 2022
Merged

phabricator: Simplify repo create#39487
ryanslade merged 1 commit into
mainfrom
rs/refactor-phabricator-create

Conversation

@ryanslade

@ryanslade ryanslade commented Jul 27, 2022

Copy link
Copy Markdown
Contributor

We no longer need to perform a remote call from repo-updater in order to
create a Phabricator repo, we can simply call the DB directly. This
removes the need for an internal handler in frontend to talk to the DB
as well as the client code to call this handler.

Part of https://github.com/sourcegraph/sourcegraph/issues/36290

Test plan

All tests still pass

We no longer need to perform a remote call from repo-updater in order to
create a Phabricator repo, we can simply call the DB directly. This
removes the need for an internal handler in frontend to talk to the DB
as well as the client code to call this handler.
@cla-bot cla-bot Bot added the cla-signed label Jul 27, 2022
@ryanslade ryanslade marked this pull request as ready for review July 27, 2022 12:55
@ryanslade ryanslade requested review from a team, eseliger and keegancsmith July 27, 2022 12:55
@ryanslade ryanslade changed the title phabricator: Simply repo create phabricator: Simplify repo create Jul 27, 2022
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff a2a661f...0ee0d6a.

Notify File(s)
@indradhanush internal/repos/phabricator.go
@sashaostrikov internal/repos/phabricator.go
@tsenart internal/repos/phabricator.go

@eseliger eseliger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice! This finally closes the ticket, right?

@ryanslade

Copy link
Copy Markdown
Contributor Author

Nice! This finally closes the ticket, right?

Yep! 🎉

@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!

@ryanslade ryanslade merged commit 29a26f8 into main Jul 27, 2022
@ryanslade ryanslade deleted the rs/refactor-phabricator-create branch July 27, 2022 13:10
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.

4 participants