Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/go.sum
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2020-07-29 09:59:05 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2020-07-29 09:59:05 +0300
commit1050543c235eb636f2371e918a9a3826cb70cf6e (patch)
tree719b2bcdeff1158ed4dd64e2a46f8be4810a1d15 /go.sum
parent00608758def7e556d1cb79d1eca3fbea748a0fc8 (diff)
Makefile: Add build target for libgit2
This adds a build target for libgit2 as a prerequisite dependency for Git2Go. The build is configured as a static archive with minimal dependencies such that the only required shared library is the system's libc. Instead of building libgit2 manually, we could've also gone the way of fetching the Git2Go repository and using its scripts. This has multiple problems though. First, the build scripts aren't flexible and will default to auto-detection of system-provided libraries. As a result, the generated archive will usually have more dependencies than only libc. Second, we'd have to use a "replace" statement for our go.mod file. While that's not a problem by itself, it will cause several targets like e.g. linting, verification and others to depend on the presence of this Git2Go repository. The approach of building libgit2 manually is thus preferable, as it gives us both more flexibility and less dependencies on libgit2 in our build process.
Diffstat (limited to 'go.sum')
-rw-r--r--go.sum3
1 files changed, 3 insertions, 0 deletions
diff --git a/go.sum b/go.sum
index c91a01b46..5c96bf646 100644
--- a/go.sum
+++ b/go.sum
@@ -199,7 +199,10 @@ github.com/labstack/echo/v4 v4.1.11/go.mod h1:i541M3Fj6f76NZtHSj7TXnyM8n2gaodfvf
github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k=
github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0=
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
+github.com/libgit2/git2go v0.0.0-20190104134018-ecaeb7a21d47 h1:HDt7WT3kpXSHq4mlOuLzgXH9LeOK1qlhyFdKIAzxxeM=
github.com/libgit2/git2go v0.0.0-20190104134018-ecaeb7a21d47/go.mod h1:4bKN42efkbNYMZlvDfxGDxzl066GhpvIircZDsm8Y+Y=
+github.com/libgit2/git2go/v30 v30.0.5 h1:gxKqXOslpvYDZNC62f8GV34TAk0qw4wZ++IdYw8V9I4=
+github.com/libgit2/git2go/v30 v30.0.5/go.mod h1:YReiQ7xhMoyAL4ISYFLZt+OGqn6xtLqvTC1xJ9oAH7Y=
github.com/lightstep/lightstep-tracer-go v0.15.6 h1:D0GGa7afJ7GcQvu5as6ssLEEKYXvRgKI5d5cevtz8r4=
github.com/lightstep/lightstep-tracer-go v0.15.6/go.mod h1:6AMpwZpsyCFwSovxzM78e+AsYxE8sGwiM6C3TytaWeI=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=