Skip to content

Commit

Permalink
devel/go-git: Update to 5.4.2 from new upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Jehops committed Aug 26, 2021
1 parent 92a74ce commit 0c46bce
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 70 deletions.
27 changes: 3 additions & 24 deletions devel/go-git/Makefile
@@ -1,37 +1,16 @@
PORTNAME= go-git
DISTVERSIONPREFIX= v
DISTVERSION= 4.10.0
PORTREVISION= 1
DISTVERSION= 5.4.2
CATEGORIES= devel

MAINTAINER= ports@FreeBSD.org
COMMENT= Highly extensible git implementation in pure Go
COMMENT= Highly extensible git library in pure Go

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= src-d
GH_TUPLE= golang:crypto:505ab14:crypto/vendor/golang.org/x/crypto \
golang:net:04a2e54:net/vendor/golang.org/x/net \
golang:text:f21a4df:golangtext/vendor/golang.org/x/text \
pelletier:go-buffruneio:v0.2.0:gotoml/vendor/github.com/pelletier/go-buffruneio \
pkg:errors:v0.8.0:errors/vendor/github.com/pkg/errors \
sergi:go-diff:v1.0.0:godiff/vendor/github.com/sergi/go-diff \
gliderlabs:ssh:v0.1.1:ssh/vendor/github.com/gliderlabs/ssh \
google:go-cmp:v0.2.0:gocmp/vendor/github.com/google/go-cmp \
emirpasic:gods:v1.9.0:gods/vendor/github.com/emirpasic/gods \
jbenet:go-context:d14ea06fba99:gocontext/vendor/github.com/jbenet/go-context \
jessevdk:go-flags:v1.4.0:goflags/vendor/github.com/jessevdk/go-flags \
mitchellh:go-homedir:v1.0.0:gohomedir/vendor/github.com/mitchellh/go-homedir \
xanzy:ssh-agent:v0.2.0:sshagent/vendor/github.com/xanzy/ssh-agent \
kevinburke:ssh_config:81db2a75821e:sshconfig/vendor/github.com/kevinburke/ssh_config \
src-d:go-git-fixtures:v3.1.1:gogitfixtures/vendor/gopkg.in/src-d/go-git-fixtures.v3 \
src-d:go-billy:v4.2.1:gobilly/vendor/gopkg.in/src-d/go-billy.v4 \
src-d:gcfg:v1.4.0:gcfg/vendor/github.com/src-d/gcfg \
go-warnings:warnings:v0.1.2:warnings/vendor/gopkg.in/warnings.v0

GO_MODULE= github.com/go-git/go-git/v5
GO_TARGET= ./cli/go-git

PLIST_FILES= bin/go-git
Expand Down
44 changes: 5 additions & 39 deletions devel/go-git/distinfo
@@ -1,39 +1,5 @@
TIMESTAMP = 1553079307
SHA256 (src-d-go-git-v4.10.0_GH0.tar.gz) = 73f1a1fec66aad76c5d63340be4e97f0d56dc9feba8571dc2ded2676ae91fba1
SIZE (src-d-go-git-v4.10.0_GH0.tar.gz) = 399791
SHA256 (golang-crypto-505ab14_GH0.tar.gz) = 66208e5bab6d39db520fb59b79a597ddb38cd6160e7ae7fb3e5c212fe9146125
SIZE (golang-crypto-505ab14_GH0.tar.gz) = 1644620
SHA256 (golang-net-04a2e54_GH0.tar.gz) = c5242b0eac35a3460dbaa3c19c518f802ec82ce9a025bb41dab7a8ef7dcc45c2
SIZE (golang-net-04a2e54_GH0.tar.gz) = 967090
SHA256 (golang-text-f21a4df_GH0.tar.gz) = 1964956fab6356e201ace777f0e221334a9023777373768a853efc300df2219c
SIZE (golang-text-f21a4df_GH0.tar.gz) = 6102640
SHA256 (pelletier-go-buffruneio-v0.2.0_GH0.tar.gz) = 2a838bbc3240d323549c9e6820cbf66199296d2706e72697685ee9576affd49f
SIZE (pelletier-go-buffruneio-v0.2.0_GH0.tar.gz) = 3028
SHA256 (pkg-errors-v0.8.0_GH0.tar.gz) = bacf6c58e490911398cee61742ddc6a90c560733e4c9dcb3d867b17a894c9dd5
SIZE (pkg-errors-v0.8.0_GH0.tar.gz) = 11344
SHA256 (sergi-go-diff-v1.0.0_GH0.tar.gz) = 5a07596dcdee6e089b49309162c8e63bc02400652897a1f529d37f0602868dea
SIZE (sergi-go-diff-v1.0.0_GH0.tar.gz) = 41609
SHA256 (gliderlabs-ssh-v0.1.1_GH0.tar.gz) = c918506792d8b9d1a30948867f49ceee3ef7a3aab1b8917d11ec33fc9cecc2fe
SIZE (gliderlabs-ssh-v0.1.1_GH0.tar.gz) = 19615
SHA256 (google-go-cmp-v0.2.0_GH0.tar.gz) = 3c4e5aca9a707eb19f5ef54b13171f3d36466f4cab73918d111bd93c88b62eed
SIZE (google-go-cmp-v0.2.0_GH0.tar.gz) = 57862
SHA256 (emirpasic-gods-v1.9.0_GH0.tar.gz) = f3c748341e10b33d9734efd41228625ac3e4ffe46224ab1426a47b9de7a8a6b4
SIZE (emirpasic-gods-v1.9.0_GH0.tar.gz) = 67098
SHA256 (jbenet-go-context-d14ea06fba99_GH0.tar.gz) = b5a5c4fe8d73dea7dc838f1c428c5fff0db9b50a2c014208a2761de4e94fa5ba
SIZE (jbenet-go-context-d14ea06fba99_GH0.tar.gz) = 5945
SHA256 (jessevdk-go-flags-v1.4.0_GH0.tar.gz) = 3be7e8fb4b63887e8aeb55878244c04b7dcbe5ac77211c73ee35e38ca681e611
SIZE (jessevdk-go-flags-v1.4.0_GH0.tar.gz) = 55452
SHA256 (mitchellh-go-homedir-v1.0.0_GH0.tar.gz) = ab2c930759869efe565a658b86e1a38ca2e2a0ea71635601ddcff1171aaff10a
SIZE (mitchellh-go-homedir-v1.0.0_GH0.tar.gz) = 3247
SHA256 (xanzy-ssh-agent-v0.2.0_GH0.tar.gz) = 10def183cf54babd423c998bed9ead4bfa36a52245cfb3b0f5d72cd6b7e485bd
SIZE (xanzy-ssh-agent-v0.2.0_GH0.tar.gz) = 7273
SHA256 (kevinburke-ssh_config-81db2a75821e_GH0.tar.gz) = 6b4be870125c475e18444954290c73810d715837aceb0fd52207b48670a2e682
SIZE (kevinburke-ssh_config-81db2a75821e_GH0.tar.gz) = 17189
SHA256 (src-d-go-git-fixtures-v3.1.1_GH0.tar.gz) = b6768b120dd449ae3e022b931193b0c35a8d32dfb10135c51b5e658b12e2886b
SIZE (src-d-go-git-fixtures-v3.1.1_GH0.tar.gz) = 48304273
SHA256 (src-d-go-billy-v4.2.1_GH0.tar.gz) = fc3772ee19df06c532ac8f398dcc06905689fc4f9f9a975081be139665cc729f
SIZE (src-d-go-billy-v4.2.1_GH0.tar.gz) = 26957
SHA256 (src-d-gcfg-v1.4.0_GH0.tar.gz) = d5107fd650d668fd4e851dfef852433924584cedbccf60ad4a3baf36495c0fc9
SIZE (src-d-gcfg-v1.4.0_GH0.tar.gz) = 28531
SHA256 (go-warnings-warnings-v0.1.2_GH0.tar.gz) = 4712c4ceae321433d8c1d9ebc6afd154d7932c849129ded48b1c4a51c21275e8
SIZE (go-warnings-warnings-v0.1.2_GH0.tar.gz) = 3769
TIMESTAMP = 1629988663
SHA256 (go/devel_go-git/go-git-v5.4.2/v5.4.2.mod) = 4285fdb55ae0589feb78f84070e11c56ad2819f1e6bdf90fc8278f6306be3b65
SIZE (go/devel_go-git/go-git-v5.4.2/v5.4.2.mod) = 1236
SHA256 (go/devel_go-git/go-git-v5.4.2/v5.4.2.zip) = fc23fc8777efddaf0566d1b8f7fe832b4f444887ac85ad0e5b1ae69d4ae8fff7
SIZE (go/devel_go-git/go-git-v5.4.2/v5.4.2.zip) = 648253
15 changes: 8 additions & 7 deletions devel/go-git/pkg-descr
@@ -1,9 +1,10 @@
go-git aims to reach the completeness of libgit2 or jgit, nowadays covers the
majority of the plumbing read operations and some of the main write operations,
but lacks the main porcelain operations such as merges.
go-git is a highly extensible git implementation library written in pure
Go. It can be used to manipulate git repositories at low level
(plumbing) or high level (porcelain), through an idiomatic Go API. It
also supports several types of storage, such as in-memory filesystems,
or custom implementations, thanks to the Storer interface.

It is highly extensible, we have been following the open/close principle in its
design to facilitate extensions, mainly focusing the efforts on the persistence
of the objects.
It's being actively developed since 2015 and is being used extensively
by Keybase, Gitea or Pulumi, and by many other libraries and tools.

WWW: https://github.com/src-d/go-git
WWW: https://github.com/go-git/go-git

0 comments on commit 0c46bce

Please sign in to comment.