sourcegraph/lib
Randell Callahan 5a3fda4bd6
executors: Provide more context when the semantic version is invalid (#55024)
The annoying error of `Invalid Semantic Version` tells us nothing and
makes troubleshooting the issue difficult with lots of churn.

I have update Executor usage of `semvar.NewVersion` to wrap the error
with a message that include the actual version that causes the error.
This will help us understand the specific version string that is causing
the error and more quickly determine _why_ the version is getting
injected.

## Test plan

Update/add Go tests.
2023-07-17 13:59:46 -06:00
..
api executors: Provide more context when the semantic version is invalid (#55024) 2023-07-17 13:59:46 -06:00
batches [chore] Refactored to use common pointers helper functions (#53441) 2023-06-14 16:48:44 +02:00
cliutil bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
codeintel bzl: convert go generate + stringer to bazel (#54619) 2023-07-07 17:31:46 +02:00
errors migrator: exit 0 if autoupgrade set on up (#53175) 2023-06-13 20:51:09 +00:00
gitservice ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
iterator ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
output lib/output: Remove Style interface (#54163) 2023-06-26 14:32:23 +00:00
pointers [chore] Refactored to use common pointers helper functions (#53441) 2023-06-14 16:48:44 +02:00
process ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
servicecatalog ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
go.mod go mod: Update scip (#54304) 2023-06-28 13:06:11 -05:00
go.sum go mod: Update scip (#54304) 2023-06-28 13:06:11 -05:00
README.md lib: Introduce non-enterprise lib directory (#18992) 2021-03-10 19:41:33 -06:00
tools.go build with go 1.17 (#24566) 2021-09-03 14:46:55 +00: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.