Convert the phabricator store to use the basestore package
View options
- Truncate descriptions
Created by: asdine
-
Rename the
phabricator
store tophabricatorStore
https://github.com/sourcegraph/sourcegraph/blob/fa108c784392d9d57512e88d330bea0ddf735972/internal/db/phabricator.go#L18-L18 -
Convert the store to use the basestore package so that it can be instantiated without using the global db connection https://github.com/sourcegraph/sourcegraph/blob/a547a87f9d3a447be90e2c53760f4792799e8e2c/internal/db/basestore/store.go#L10-L36
Example: https://github.com/sourcegraph/sourcegraph/blob/main/internal/db/repos.go#L55-L73
- Make sure the global phabricator store is usable without initializing it https://github.com/sourcegraph/sourcegraph/blob/e612c34f2e27005928ff3dfdd8e5ead5a0cb1526/internal/db/repos.go#L75-L85

