sourcegraph/lib
Robert Lin e2c646ad92
feat/enterpriseportal: all subscriptions APIs use enterprise portal DB (#63959)
This change follows
https://github.com/sourcegraph/sourcegraph/pull/63858 by making the
_all_ subscriptions APIs read and write to the Enterprise Portal
database, instead of dotcomdb, using the data that we sync from dotcomdb
into Enterprise Portal.

With this PR, all initially proposed subscriptions APIs are at least
partially implemented.

Uses https://github.com/hexops/valast/pull/27 for custom `autogold`
rendering of `utctime.Time`

Closes https://linear.app/sourcegraph/issue/CORE-156
Part of https://linear.app/sourcegraph/issue/CORE-158

## Test plan

- [x] Unit tests on API level
- [x] Adapters unit testing
- [x] Simple E2E test:
https://github.com/sourcegraph/sourcegraph/pull/64057
2024-08-09 17:26:18 -07:00
..
accesstoken chore: Expose ParsePersonalAccessToken publicly for src-cli (#62587) 2024-05-10 19:32:14 +08:00
api enterprise: Move last directory out (#57392) 2023-10-05 20:15:40 +00:00
background feat/cody-gateway: use Enterprise Portal for actor/productsubscriptions (#62934) 2024-06-07 11:46:01 -07:00
batches batches: use "keyword" as default pattern type (#63613) 2024-07-09 10:35:01 +02:00
cliutil sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
codeintel feat(search): Add support to all Apex language extensions (#64194) 2024-08-01 10:58:59 -04:00
enterpriseportal feat/enterpriseportal: all subscriptions APIs use enterprise portal DB (#63959) 2024-08-09 17:26:18 -07:00
errors chore(codenav): Resolve repo and commit in common code (#63072) 2024-06-07 21:58:36 +08:00
gitservice bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
iterator ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
limitedgzip fix/frontend/httpapi: improve request reader (#63923) 2024-07-19 19:10:41 +01:00
managedservicesplatform fix/enterpriseportal/importer: disable query tracing when importing (#64352) 2024-08-07 23:14:02 +00:00
output fix(local): fix race in sg_start_test.go (#63642) 2024-07-04 19:11:10 +02:00
pointers feat/sg: add 'sg enterprise' commands for Cody Analytics (#63414) 2024-06-21 16:29:31 -07:00
process fix/sg: fix mangled log output from sg start and sg run (#63405) 2024-06-20 16:07:27 -07:00
redislock enterprise-portal: implement basic MSP IAM and RPCs (#63173) 2024-06-19 21:46:48 -04:00
servicecatalog servicecatalog: remove searcher dep on database (#64247) 2024-08-05 09:55:49 +02:00
telemetrygateway chore(worker): move llm token counter to worker (#64008) 2024-07-24 10:03:33 +02:00
buf.yaml lib/enterpriseportal: initial service API for RFC 885 (#62263) 2024-05-15 12:58:55 -07:00
go.mod feat/lib/telemetrygateway: expose simple Dial (#63810) 2024-07-15 10:45:10 -07:00
go.sum feat/lib/telemetrygateway: expose simple Dial (#63810) 2024-07-15 10:45:10 -07:00
README.md lib: Introduce non-enterprise lib directory (#18992) 2021-03-10 19:41:33 -06:00
tools.go bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00

Sourcegraph lib module

This directory is the root of a separate go module from the primary module rooted at sourcegraph/sourcegraph. This module exists to hold code that we want to reuse outside of the sourcegraph/sourcegraph repo.

Code in this module should not import from sourcegraph/sourcegraph or from other Sourcegraph repositories to avoid complicated dependency relationships. Instead consider moving code from elsewhere into this module.