diff --git a/go.mod b/go.mod index 033f3489..d134f33b 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,7 @@ go 1.17 require ( github.com/caarlos0/env v3.5.0+incompatible github.com/devtron-labs/common-lib v0.0.0-20230109070754-ff4dca200a2c + github.com/devtron-labs/go-git v1.5.0 github.com/devtron-labs/protos v0.0.0-20230503113602-282404f70fd2 github.com/gammazero/workerpool v0.0.0-20200206003619-019d125201ab github.com/go-pg/pg v6.15.1+incompatible @@ -19,7 +20,6 @@ require ( go.uber.org/zap v1.21.0 google.golang.org/grpc v1.51.0 google.golang.org/protobuf v1.28.1 - gopkg.in/src-d/go-git.v4 v4.13.1 ) require ( @@ -47,7 +47,7 @@ require ( github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.13.0 // indirect github.com/prometheus/procfs v0.1.3 // indirect - github.com/sergi/go-diff v1.1.0 // indirect + github.com/sergi/go-diff v1.3.0 // indirect github.com/src-d/gcfg v1.4.0 // indirect github.com/stretchr/objx v0.5.0 // indirect github.com/tidwall/match v1.0.3 // indirect diff --git a/go.sum b/go.sum index 9e18a4a5..23368068 100644 --- a/go.sum +++ b/go.sum @@ -82,7 +82,6 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= @@ -90,7 +89,6 @@ github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= @@ -139,6 +137,10 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/devtron-labs/common-lib v0.0.0-20230109070754-ff4dca200a2c h1:jz7yPUlIJXFg9AvJh2fb0QW7JT6+RKj8LOl1mWM/HQA= github.com/devtron-labs/common-lib v0.0.0-20230109070754-ff4dca200a2c/go.mod h1:R24nOqgk4buk9zv+BXzORfObZsOe3NE9P55KrZXGX9k= +github.com/devtron-labs/go-git v1.5.0 h1:7AX+lyFL4q2ZUQP7+D9QM/Tk2SInl9wV+nrkxzVcHUM= +github.com/devtron-labs/go-git v1.5.0/go.mod h1:FpAQlxsT69FB/iKtqI0FN9rvPnyU9as3viPPc3bBMq0= +github.com/devtron-labs/go-git-fixtures v0.1.5 h1:SGwaGpURP99quP3xmwGYYV7hVyYKCGdihsbPvE/kjMA= +github.com/devtron-labs/go-git-fixtures v0.1.5/go.mod h1:34narKKLDDS+SSsJ7Oo6Yc5mtfpjw5vyIpohCYhDzQk= github.com/devtron-labs/protos v0.0.0-20230503113602-282404f70fd2 h1:/IEIsJTxDZ3hv8uOoCaqdWCXqcv7nCAgX9AP/v84dUY= github.com/devtron-labs/protos v0.0.0-20230503113602-282404f70fd2/go.mod h1:l85jxWHlcSo910hdUfRycL40yGzC6glE93V1sVxVPto= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= @@ -171,7 +173,6 @@ github.com/gammazero/deque v0.0.0-20200124200322-7e84b94275b8/go.mod h1:D90+MBHV github.com/gammazero/workerpool v0.0.0-20200206003619-019d125201ab h1:BLCWHqLiTSzLZriw46b3HJLswyqY0E6B9y9tk4+7eFI= github.com/gammazero/workerpool v0.0.0-20200206003619-019d125201ab/go.mod h1:ZObaTlXZGgqKXhhlk+zNvSOXT+h6VGThA0ZQxLqn8x0= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -426,7 +427,6 @@ github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnh github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= @@ -473,9 +473,8 @@ github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.0 h1:i3Oy7NmznCkiLOhlp9O92z4yadEJE2pWESZMJPBBBrk= +github.com/sergi/go-diff v1.3.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= @@ -494,7 +493,6 @@ github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3 github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= @@ -773,7 +771,6 @@ golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -808,7 +805,6 @@ golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1061,10 +1057,6 @@ gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg= gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= -gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 h1:ivZFOIltbce2Mo8IjzUHAFoq/IylO9WHhNOAJK+LsJg= -gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= -gopkg.in/src-d/go-git.v4 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE= -gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= diff --git a/pkg/git/Bean.go b/pkg/git/Bean.go index fef898fe..8b9892ba 100644 --- a/pkg/git/Bean.go +++ b/pkg/git/Bean.go @@ -18,7 +18,7 @@ package git import ( "github.com/devtron-labs/git-sensor/internal/sql" - "gopkg.in/src-d/go-git.v4/plumbing/object" + "github.com/devtron-labs/go-git/plumbing/object" "time" ) diff --git a/pkg/git/GitCliUtil.go b/pkg/git/GitCliUtil.go index 3dd3ca14..54dc167f 100644 --- a/pkg/git/GitCliUtil.go +++ b/pkg/git/GitCliUtil.go @@ -2,9 +2,9 @@ package git import ( "fmt" + "github.com/devtron-labs/go-git" + "github.com/devtron-labs/go-git/config" "go.uber.org/zap" - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/config" "os" "os/exec" "strings" diff --git a/pkg/git/RepositoryManager.go b/pkg/git/RepositoryManager.go index 69f79d43..2e8b8e0e 100644 --- a/pkg/git/RepositoryManager.go +++ b/pkg/git/RepositoryManager.go @@ -29,11 +29,11 @@ import ( "github.com/devtron-labs/git-sensor/internal/middleware" "github.com/devtron-labs/git-sensor/internal/sql" + "github.com/devtron-labs/go-git" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/plumbing/transport" "go.uber.org/zap" - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/plumbing/transport" ) type RepositoryManager interface { diff --git a/pkg/git/Watcher.go b/pkg/git/Watcher.go index d63cfe36..e4ad5dd1 100644 --- a/pkg/git/Watcher.go +++ b/pkg/git/Watcher.go @@ -25,10 +25,10 @@ import ( "github.com/devtron-labs/git-sensor/internal/middleware" "github.com/devtron-labs/git-sensor/internal/sql" "github.com/devtron-labs/git-sensor/util" + "github.com/devtron-labs/go-git/plumbing/object" "github.com/gammazero/workerpool" "github.com/robfig/cron/v3" "go.uber.org/zap" - "gopkg.in/src-d/go-git.v4/plumbing/object" "regexp" "strings" "time" diff --git a/vendor/gopkg.in/src-d/go-git.v4/.gitignore b/vendor/github.com/devtron-labs/go-git/.gitignore similarity index 78% rename from vendor/gopkg.in/src-d/go-git.v4/.gitignore rename to vendor/github.com/devtron-labs/go-git/.gitignore index 038dd9f1..44f68368 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/.gitignore +++ b/vendor/github.com/devtron-labs/go-git/.gitignore @@ -1,3 +1,5 @@ +.idea +.tmp coverage.out *~ coverage.txt diff --git a/vendor/gopkg.in/src-d/go-git.v4/.travis.yml b/vendor/github.com/devtron-labs/go-git/.travis.yml similarity index 92% rename from vendor/gopkg.in/src-d/go-git.v4/.travis.yml rename to vendor/github.com/devtron-labs/go-git/.travis.yml index 3a65f3e0..8625e939 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/.travis.yml +++ b/vendor/github.com/devtron-labs/go-git/.travis.yml @@ -4,7 +4,7 @@ go: - "1.11" - "1.12" -go_import_path: gopkg.in/src-d/go-git.v4 +go_import_path: github.com/devtron-labs/go-git env: - GIT_VERSION=master diff --git a/vendor/gopkg.in/src-d/go-git.v4/CODE_OF_CONDUCT.md b/vendor/github.com/devtron-labs/go-git/CODE_OF_CONDUCT.md similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/CODE_OF_CONDUCT.md rename to vendor/github.com/devtron-labs/go-git/CODE_OF_CONDUCT.md diff --git a/vendor/gopkg.in/src-d/go-git.v4/COMPATIBILITY.md b/vendor/github.com/devtron-labs/go-git/COMPATIBILITY.md similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/COMPATIBILITY.md rename to vendor/github.com/devtron-labs/go-git/COMPATIBILITY.md diff --git a/vendor/gopkg.in/src-d/go-git.v4/CONTRIBUTING.md b/vendor/github.com/devtron-labs/go-git/CONTRIBUTING.md similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/CONTRIBUTING.md rename to vendor/github.com/devtron-labs/go-git/CONTRIBUTING.md diff --git a/vendor/gopkg.in/src-d/go-git.v4/DCO b/vendor/github.com/devtron-labs/go-git/DCO similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/DCO rename to vendor/github.com/devtron-labs/go-git/DCO diff --git a/vendor/gopkg.in/src-d/go-git.v4/LICENSE b/vendor/github.com/devtron-labs/go-git/LICENSE similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/LICENSE rename to vendor/github.com/devtron-labs/go-git/LICENSE diff --git a/vendor/gopkg.in/src-d/go-git.v4/MAINTAINERS b/vendor/github.com/devtron-labs/go-git/MAINTAINERS similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/MAINTAINERS rename to vendor/github.com/devtron-labs/go-git/MAINTAINERS diff --git a/vendor/gopkg.in/src-d/go-git.v4/Makefile b/vendor/github.com/devtron-labs/go-git/Makefile similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/Makefile rename to vendor/github.com/devtron-labs/go-git/Makefile index d576778f..858e88eb 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/Makefile +++ b/vendor/github.com/devtron-labs/go-git/Makefile @@ -16,7 +16,7 @@ COVERAGE_PROFILE = profile.out COVERAGE_MODE = atomic ifneq ($(origin CI), undefined) - WORKDIR := $(GOPATH)/src/gopkg.in/src-d/go-git.v4 + WORKDIR := $(GOPATH)/src/github.com/devtron-labs/go-git endif build-git: diff --git a/vendor/gopkg.in/src-d/go-git.v4/README.md b/vendor/github.com/devtron-labs/go-git/README.md similarity index 84% rename from vendor/gopkg.in/src-d/go-git.v4/README.md rename to vendor/github.com/devtron-labs/go-git/README.md index ed9306c8..9fc572d1 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/README.md +++ b/vendor/github.com/devtron-labs/go-git/README.md @@ -1,9 +1,9 @@ ![go-git logo](https://cdn.rawgit.com/src-d/artwork/02036484/go-git/files/go-git-github-readme-header.png) -[![GoDoc](https://godoc.org/gopkg.in/src-d/go-git.v4?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![Build status](https://ci.appveyor.com/api/projects/status/nyidskwifo4py6ub?svg=true)](https://ci.appveyor.com/project/mcuadros/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![Go Report Card](https://goreportcard.com/badge/github.com/src-d/go-git)](https://goreportcard.com/report/github.com/src-d/go-git) +[![GoDoc](https://godoc.org/github.com/devtron-labs/go-git?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![Build status](https://ci.appveyor.com/api/projects/status/nyidskwifo4py6ub?svg=true)](https://ci.appveyor.com/project/mcuadros/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![Go Report Card](https://goreportcard.com/badge/github.com/src-d/go-git)](https://goreportcard.com/report/github.com/src-d/go-git) *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`](https://godoc.org/gopkg.in/src-d/go-git.v4/plumbing/storer) interface. +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`](https://godoc.org/github.com/devtron-labs/go-git/plumbing/storer) interface. It's being actively developed since 2015 and is being used extensively by [source{d}](https://sourced.tech/) and [Keybase](https://keybase.io/blog/encrypted-git-for-everyone), and by many other libraries and tools. @@ -21,7 +21,7 @@ Installation The recommended way to install *go-git* is: ``` -go get -u gopkg.in/src-d/go-git.v4/... +go get -u github.com/devtron-labs/go-git/... ``` > We use [gopkg.in](http://labix.org/gopkg.in) to version the API, this means that when `go get` clones the package, it's the latest tag matching `v4.*` that is cloned and not the master branch. diff --git a/vendor/gopkg.in/src-d/go-git.v4/appveyor.yml b/vendor/github.com/devtron-labs/go-git/appveyor.yml similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/appveyor.yml rename to vendor/github.com/devtron-labs/go-git/appveyor.yml diff --git a/vendor/gopkg.in/src-d/go-git.v4/blame.go b/vendor/github.com/devtron-labs/go-git/blame.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/blame.go rename to vendor/github.com/devtron-labs/go-git/blame.go index f6108519..3720d8c9 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/blame.go +++ b/vendor/github.com/devtron-labs/go-git/blame.go @@ -9,9 +9,9 @@ import ( "time" "unicode/utf8" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/utils/diff" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/utils/diff" ) // BlameResult represents the result of a Blame operation. diff --git a/vendor/gopkg.in/src-d/go-git.v4/common.go b/vendor/github.com/devtron-labs/go-git/common.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/common.go rename to vendor/github.com/devtron-labs/go-git/common.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/config/branch.go b/vendor/github.com/devtron-labs/go-git/config/branch.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/config/branch.go rename to vendor/github.com/devtron-labs/go-git/config/branch.go index 20dde6e0..83abf3fc 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/config/branch.go +++ b/vendor/github.com/devtron-labs/go-git/config/branch.go @@ -3,8 +3,8 @@ package config import ( "errors" - "gopkg.in/src-d/go-git.v4/plumbing" - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" + "github.com/devtron-labs/go-git/plumbing" + format "github.com/devtron-labs/go-git/plumbing/format/config" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/config/config.go b/vendor/github.com/devtron-labs/go-git/config/config.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/config/config.go rename to vendor/github.com/devtron-labs/go-git/config/config.go index ea614e96..2813aead 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/config/config.go +++ b/vendor/github.com/devtron-labs/go-git/config/config.go @@ -8,8 +8,8 @@ import ( "sort" "strconv" - "gopkg.in/src-d/go-git.v4/internal/url" - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" + "github.com/devtron-labs/go-git/internal/url" + format "github.com/devtron-labs/go-git/plumbing/format/config" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/config/modules.go b/vendor/github.com/devtron-labs/go-git/config/modules.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/config/modules.go rename to vendor/github.com/devtron-labs/go-git/config/modules.go index 90758d93..289f79e2 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/config/modules.go +++ b/vendor/github.com/devtron-labs/go-git/config/modules.go @@ -5,7 +5,7 @@ import ( "errors" "regexp" - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" + format "github.com/devtron-labs/go-git/plumbing/format/config" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/config/refspec.go b/vendor/github.com/devtron-labs/go-git/config/refspec.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/config/refspec.go rename to vendor/github.com/devtron-labs/go-git/config/refspec.go index 14bb4006..1fe4963e 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/config/refspec.go +++ b/vendor/github.com/devtron-labs/go-git/config/refspec.go @@ -4,7 +4,7 @@ import ( "errors" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/doc.go b/vendor/github.com/devtron-labs/go-git/doc.go similarity index 89% rename from vendor/gopkg.in/src-d/go-git.v4/doc.go rename to vendor/github.com/devtron-labs/go-git/doc.go index 60f2261e..a97b293e 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/doc.go +++ b/vendor/github.com/devtron-labs/go-git/doc.go @@ -7,4 +7,4 @@ // 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. -package git // import "gopkg.in/src-d/go-git.v4" +package git // import "github.com/devtron-labs/go-git" diff --git a/vendor/gopkg.in/src-d/go-git.v4/internal/revision/parser.go b/vendor/github.com/devtron-labs/go-git/internal/revision/parser.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/internal/revision/parser.go rename to vendor/github.com/devtron-labs/go-git/internal/revision/parser.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/internal/revision/scanner.go b/vendor/github.com/devtron-labs/go-git/internal/revision/scanner.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/internal/revision/scanner.go rename to vendor/github.com/devtron-labs/go-git/internal/revision/scanner.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/internal/revision/token.go b/vendor/github.com/devtron-labs/go-git/internal/revision/token.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/internal/revision/token.go rename to vendor/github.com/devtron-labs/go-git/internal/revision/token.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/internal/url/url.go b/vendor/github.com/devtron-labs/go-git/internal/url/url.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/internal/url/url.go rename to vendor/github.com/devtron-labs/go-git/internal/url/url.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/object_walker.go b/vendor/github.com/devtron-labs/go-git/object_walker.go similarity index 93% rename from vendor/gopkg.in/src-d/go-git.v4/object_walker.go rename to vendor/github.com/devtron-labs/go-git/object_walker.go index f8b19cdb..5098bc72 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/object_walker.go +++ b/vendor/github.com/devtron-labs/go-git/object_walker.go @@ -3,10 +3,10 @@ package git import ( "fmt" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/storage" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/storage" ) type objectWalker struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/options.go b/vendor/github.com/devtron-labs/go-git/options.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/options.go rename to vendor/github.com/devtron-labs/go-git/options.go index 0f728e7c..a3fdd2c0 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/options.go +++ b/vendor/github.com/devtron-labs/go-git/options.go @@ -5,12 +5,12 @@ import ( "regexp" "strings" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband" + "github.com/devtron-labs/go-git/plumbing/transport" "golang.org/x/crypto/openpgp" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" - "gopkg.in/src-d/go-git.v4/plumbing/transport" ) // SubmoduleRescursivity defines how depth will affect any submodule recursive diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/buffer_lru.go b/vendor/github.com/devtron-labs/go-git/plumbing/cache/buffer_lru.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/buffer_lru.go rename to vendor/github.com/devtron-labs/go-git/plumbing/cache/buffer_lru.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/cache/common.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/cache/common.go index 2b7f36a5..abf7a085 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/common.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/cache/common.go @@ -1,6 +1,6 @@ package cache -import "gopkg.in/src-d/go-git.v4/plumbing" +import "github.com/devtron-labs/go-git/plumbing" const ( Byte FileSize = 1 << (iota * 10) diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/object_lru.go b/vendor/github.com/devtron-labs/go-git/plumbing/cache/object_lru.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/object_lru.go rename to vendor/github.com/devtron-labs/go-git/plumbing/cache/object_lru.go index cd3712b7..1efbe714 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/object_lru.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/cache/object_lru.go @@ -4,7 +4,7 @@ import ( "container/list" "sync" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) // ObjectLRU implements an object cache with an LRU eviction policy and a diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/error.go b/vendor/github.com/devtron-labs/go-git/plumbing/error.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/error.go rename to vendor/github.com/devtron-labs/go-git/plumbing/error.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/filemode/filemode.go b/vendor/github.com/devtron-labs/go-git/plumbing/filemode/filemode.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/filemode/filemode.go rename to vendor/github.com/devtron-labs/go-git/plumbing/filemode/filemode.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/config/common.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/config/common.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/decoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/config/decoder.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/decoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/config/decoder.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/config/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/config/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/encoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/config/encoder.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/encoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/config/encoder.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/option.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/config/option.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/option.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/config/option.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/section.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/config/section.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/section.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/config/section.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/diff/patch.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/diff/patch.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/diff/patch.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/diff/patch.go index 7c6cf4ae..057a7c4f 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/diff/patch.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/diff/patch.go @@ -1,8 +1,8 @@ package diff import ( - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" ) // Operation defines the operation of a diff item. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/diff/unified_encoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/diff/unified_encoder.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/diff/unified_encoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/diff/unified_encoder.go index 169242dc..499484ee 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/diff/unified_encoder.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/diff/unified_encoder.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) const ( @@ -46,8 +46,8 @@ const ( // UnifiedEncoder encodes an unified diff into the provided Writer. // There are some unsupported features: -// - Similarity index for renames -// - Sort hash representation +// - Similarity index for renames +// - Sort hash representation type UnifiedEncoder struct { io.Writer diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/dir.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/dir.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/dir.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/dir.go index 1e88970e..0792a0ed 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/dir.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/dir.go @@ -7,9 +7,9 @@ import ( "os/user" "strings" + "github.com/devtron-labs/go-git/plumbing/format/config" + gioutil "github.com/devtron-labs/go-git/utils/ioutil" "gopkg.in/src-d/go-billy.v4" - "gopkg.in/src-d/go-git.v4/plumbing/format/config" - gioutil "gopkg.in/src-d/go-git.v4/utils/ioutil" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/matcher.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/matcher.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/matcher.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/matcher.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/pattern.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/pattern.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/gitignore/pattern.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/gitignore/pattern.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/decoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/decoder.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/decoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/decoder.go index 9e9c1769..607fbec1 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/decoder.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/decoder.go @@ -6,7 +6,7 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/utils/binary" + "github.com/devtron-labs/go-git/utils/binary" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/encoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/encoder.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/encoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/encoder.go index e4795110..0eecfa5f 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/encoder.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/encoder.go @@ -5,7 +5,7 @@ import ( "hash" "io" - "gopkg.in/src-d/go-git.v4/utils/binary" + "github.com/devtron-labs/go-git/utils/binary" ) // Encoder writes MemoryIndex structs to an output stream. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/idxfile.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/idxfile.go similarity index 99% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/idxfile.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/idxfile.go index 14b58603..4a75d872 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/idxfile.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/idxfile.go @@ -7,7 +7,7 @@ import ( encbin "encoding/binary" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/writer.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/writer.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/writer.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/writer.go index fcc78c56..f1ff02e8 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/idxfile/writer.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/idxfile/writer.go @@ -7,8 +7,8 @@ import ( "sort" "sync" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/utils/binary" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/utils/binary" ) // objects implements sort.Interface and uses hash as sorting key. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/decoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/decoder.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/decoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/index/decoder.go index 98f92fda..8f8d2e11 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/decoder.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/decoder.go @@ -11,8 +11,8 @@ import ( "strconv" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/utils/binary" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/utils/binary" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/index/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/encoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/encoder.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/encoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/index/encoder.go index 7111314c..ca4ca4d6 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/encoder.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/encoder.go @@ -9,7 +9,7 @@ import ( "sort" "time" - "gopkg.in/src-d/go-git.v4/utils/binary" + "github.com/devtron-labs/go-git/utils/binary" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/index.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/index.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/index.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/index/index.go index 6653c91d..60f97fab 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/index.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/index.go @@ -7,8 +7,8 @@ import ( "path/filepath" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" ) var ( @@ -202,8 +202,8 @@ type ResolveUndoEntry struct { // can take advantage of this to quickly locate the index extensions without // having to parse through all of the index entries. // -// Because it must be able to be loaded before the variable length cache -// entries and other index extensions, this extension must be written last. +// Because it must be able to be loaded before the variable length cache +// entries and other index extensions, this extension must be written last. type EndOfIndexEntry struct { // Offset to the end of the index entries Offset uint32 diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/match.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/index/match.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/index/match.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/index/match.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/reader.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/reader.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/reader.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/reader.go index c4467e48..ca8dfba6 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/reader.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/reader.go @@ -6,8 +6,8 @@ import ( "io" "strconv" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/packfile" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/writer.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/writer.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/writer.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/writer.go index 55552434..8904719c 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/objfile/writer.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/objfile/writer.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/common.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/common.go index f82c1abe..b609f5f9 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/common.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/common.go @@ -6,8 +6,8 @@ import ( "io" "sync" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/ioutil" ) var signature = []byte{'P', 'A', 'C', 'K'} diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/delta_index.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/delta_index.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/delta_index.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/delta_index.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/delta_selector.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/delta_selector.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/delta_selector.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/delta_selector.go index 67100855..225457b2 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/delta_selector.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/delta_selector.go @@ -4,8 +4,8 @@ import ( "sort" "sync" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/diff_delta.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/diff_delta.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/diff_delta.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/diff_delta.go index 43f87a0b..6bc52030 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/diff_delta.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/diff_delta.go @@ -3,7 +3,7 @@ package packfile import ( "bytes" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) // See https://github.com/jelmer/dulwich/blob/master/dulwich/pack.py and diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/encoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/encoder.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/encoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/encoder.go index b0779187..0ba4063a 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/encoder.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/encoder.go @@ -6,9 +6,9 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/binary" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/binary" ) // Encoder gets the data from the storage and write it into the writer in PACK diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/error.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/error.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/error.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/error.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/fsobject.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/fsobject.go similarity index 93% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/fsobject.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/fsobject.go index a268bce7..a09bffd1 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/fsobject.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/fsobject.go @@ -3,10 +3,10 @@ package packfile import ( "io" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/plumbing/format/idxfile" billy "gopkg.in/src-d/go-billy.v4" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" ) // FSObject is an object from the packfile on the filesystem. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/object_pack.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/object_pack.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/object_pack.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/object_pack.go index dfea5715..062e1389 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/object_pack.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/object_pack.go @@ -1,7 +1,7 @@ package packfile import ( - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) // ObjectToPack is a representation of an object that is going to be into a diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/packfile.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/packfile.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/packfile.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/packfile.go index 21a15de0..d61ec7e3 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/packfile.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/packfile.go @@ -5,11 +5,11 @@ import ( "io" "os" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/plumbing/format/idxfile" + "github.com/devtron-labs/go-git/plumbing/storer" billy "gopkg.in/src-d/go-billy.v4" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" - "gopkg.in/src-d/go-git.v4/plumbing/storer" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/parser.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/parser.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/parser.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/parser.go index 71cbba98..c17069c9 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/parser.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/parser.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/plumbing/storer" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/patch_delta.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/patch_delta.go similarity index 99% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/patch_delta.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/patch_delta.go index a972f1c4..885f70a4 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/patch_delta.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/patch_delta.go @@ -4,7 +4,7 @@ import ( "errors" "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) // See https://github.com/git/git/blob/49fa3dc76179e04b0833542fa52d0f287a4955ac/delta.h diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/scanner.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/scanner.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/scanner.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/scanner.go index 7b44192a..04f728ec 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile/scanner.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/format/packfile/scanner.go @@ -11,9 +11,9 @@ import ( stdioutil "io/ioutil" "sync" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/utils/binary" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/utils/binary" + "github.com/devtron-labs/go-git/utils/ioutil" ) var ( @@ -384,13 +384,13 @@ func (s *Scanner) Flush() error { } // scannerReader has the following characteristics: -// - Provides an io.SeekReader impl for bufio.Reader, when the underlying -// reader supports it. -// - Keeps track of the current read position, for when the underlying reader -// isn't an io.SeekReader, but we still want to know the current offset. -// - Writes to the hash writer what it reads, with the aid of a smaller buffer. -// The buffer helps avoid a performance penality for performing small writes -// to the crc32 hash writer. +// - Provides an io.SeekReader impl for bufio.Reader, when the underlying +// reader supports it. +// - Keeps track of the current read position, for when the underlying reader +// isn't an io.SeekReader, but we still want to know the current offset. +// - Writes to the hash writer what it reads, with the aid of a smaller buffer. +// The buffer helps avoid a performance penality for performing small writes +// to the crc32 hash writer. type scannerReader struct { reader io.Reader crc io.Writer diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/pktline/encoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/pktline/encoder.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/pktline/encoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/pktline/encoder.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/pktline/scanner.go b/vendor/github.com/devtron-labs/go-git/plumbing/format/pktline/scanner.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/format/pktline/scanner.go rename to vendor/github.com/devtron-labs/go-git/plumbing/format/pktline/scanner.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/hash.go b/vendor/github.com/devtron-labs/go-git/plumbing/hash.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/hash.go rename to vendor/github.com/devtron-labs/go-git/plumbing/hash.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/memory.go b/vendor/github.com/devtron-labs/go-git/plumbing/memory.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/memory.go rename to vendor/github.com/devtron-labs/go-git/plumbing/memory.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object.go b/vendor/github.com/devtron-labs/go-git/plumbing/object.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/blob.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/blob.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/blob.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/blob.go index f376baa6..c6ea0100 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/blob.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/blob.go @@ -3,9 +3,9 @@ package object import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/ioutil" ) // Blob is used to store arbitrary data - it is generally a file. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/change.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/change.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/change.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/change.go index a1b4c274..dd338362 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/change.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/change.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "github.com/devtron-labs/go-git/utils/merkletrie" ) // Change values represent a detected change between two git trees. For diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/change_adaptor.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/change_adaptor.go similarity index 91% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/change_adaptor.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/change_adaptor.go index 491c3990..782822e7 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/change_adaptor.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/change_adaptor.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "gopkg.in/src-d/go-git.v4/utils/merkletrie" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/utils/merkletrie" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // The following functions transform changes types form the merkletrie diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/commit.go index 6b509340..e951c153 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit.go @@ -11,9 +11,9 @@ import ( "golang.org/x/crypto/openpgp" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/ioutil" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker.go index 0eff0591..e8311a2c 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker.go @@ -4,9 +4,9 @@ import ( "container/list" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/storage" ) type commitPreIterator struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_bfs.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_bfs.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_bfs.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_bfs.go index dabfe75c..0844d803 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_bfs.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_bfs.go @@ -3,8 +3,8 @@ package object import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" ) type bfsCommitIterator struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_bfs_filtered.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_bfs_filtered.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_bfs_filtered.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_bfs_filtered.go index b12523d4..2c9f718c 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_bfs_filtered.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_bfs_filtered.go @@ -3,8 +3,8 @@ package object import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" ) // NewFilterCommitIter returns a CommitIter that walks the commit history, @@ -173,4 +173,3 @@ func (w *filterCommitIter) addToQueue( return nil } - diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_ctime.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_ctime.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_ctime.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_ctime.go index 01916149..83b135ef 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_ctime.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_ctime.go @@ -5,8 +5,8 @@ import ( "github.com/emirpasic/gods/trees/binaryheap" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" ) type commitIteratorByCTime struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_file.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_file.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_file.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_file.go index 6f16e611..51232bcd 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/commit_walker_file.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/commit_walker_file.go @@ -3,9 +3,9 @@ package object import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing/storer" ) type commitFileIter struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/common.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/common.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/difftree.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/difftree.go similarity index 88% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/difftree.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/difftree.go index a30a29e3..e73d7553 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/difftree.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/difftree.go @@ -4,8 +4,8 @@ import ( "bytes" "context" - "gopkg.in/src-d/go-git.v4/utils/merkletrie" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/utils/merkletrie" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // DiffTree compares the content and mode of the blobs found via two diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/file.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/file.go similarity index 93% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/file.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/file.go index 1c5fdbb3..2ced9bfa 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/file.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/file.go @@ -5,10 +5,10 @@ import ( "io" "strings" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/binary" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/binary" + "github.com/devtron-labs/go-git/utils/ioutil" ) // File represents git file objects. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/merge_base.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/merge_base.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/merge_base.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/merge_base.go index 6f2568db..6ace8126 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/merge_base.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/merge_base.go @@ -4,8 +4,8 @@ import ( "fmt" "sort" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" ) // errIsReachable is thrown when first commit is an ancestor of the second diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/object.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/object.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/object.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/object.go index e960e50c..a6be749a 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/object.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/object.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" ) // ErrUnsupportedObject trigger when a non-supported object is being decoded. @@ -24,18 +24,18 @@ var ErrUnsupportedObject = errors.New("unsupported object type") // Object is returned when an object can be of any type. It is frequently used // with a type cast to acquire the specific type of object: // -// func process(obj Object) { -// switch o := obj.(type) { -// case *Commit: -// // o is a Commit -// case *Tree: -// // o is a Tree -// case *Blob: -// // o is a Blob -// case *Tag: -// // o is a Tag -// } -// } +// func process(obj Object) { +// switch o := obj.(type) { +// case *Commit: +// // o is a Commit +// case *Tree: +// // o is a Tree +// case *Blob: +// // o is a Blob +// case *Tag: +// // o is a Tag +// } +// } // // This interface is intentionally different from plumbing.EncodedObject, which // is a lower level interface used by storage implementations to read and write diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/patch.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/patch.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/patch.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/patch.go index 32454ac4..3f728535 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/patch.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/patch.go @@ -9,10 +9,10 @@ import ( "math" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - fdiff "gopkg.in/src-d/go-git.v4/plumbing/format/diff" - "gopkg.in/src-d/go-git.v4/utils/diff" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + fdiff "github.com/devtron-labs/go-git/plumbing/format/diff" + "github.com/devtron-labs/go-git/utils/diff" dmp "github.com/sergi/go-diff/diffmatchpatch" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/tag.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/tag.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/tag.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/tag.go index 9ee55092..4014ea6a 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/tag.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/tag.go @@ -10,9 +10,9 @@ import ( "golang.org/x/crypto/openpgp" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/ioutil" ) // Tag represents an annotated tag object. It points to a single git object of diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/tree.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/tree.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/tree.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/tree.go index d0b4fff1..c8214bcd 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/tree.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/tree.go @@ -10,10 +10,10 @@ import ( "path/filepath" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/ioutil" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/treenoder.go b/vendor/github.com/devtron-labs/go-git/plumbing/object/treenoder.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/object/treenoder.go rename to vendor/github.com/devtron-labs/go-git/plumbing/object/treenoder.go index 52f0e612..628af6dc 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/object/treenoder.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/object/treenoder.go @@ -3,9 +3,9 @@ package object import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // A treenoder is a helper type that wraps git trees into merkletrie diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs.go similarity index 88% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs.go index 487ee19b..a2d3a715 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs.go @@ -5,10 +5,10 @@ import ( "sort" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/memory" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/storage/memory" ) // AdvRefs values represent the information transmitted on an @@ -96,12 +96,12 @@ func (a *AdvRefs) addRefs(s storer.ReferenceStorer) error { // // Git versions prior to 1.8.4.3 has an special procedure to get // the reference where is pointing to HEAD: -// - Check if a reference called master exists. If exists and it -// has the same hash as HEAD hash, we can say that HEAD is pointing to master -// - If master does not exists or does not have the same hash as HEAD, -// order references and check in that order if that reference has the same -// hash than HEAD. If yes, set HEAD pointing to that branch hash -// - If no reference is found, throw an error +// - Check if a reference called master exists. If exists and it +// has the same hash as HEAD hash, we can say that HEAD is pointing to master +// - If master does not exists or does not have the same hash as HEAD, +// order references and check in that order if that reference has the same +// hash than HEAD. If yes, set HEAD pointing to that branch hash +// - If no reference is found, throw an error func (a *AdvRefs) resolveHead(s storer.ReferenceStorer) error { if a.Head == nil { return nil diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs_decode.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs_decode.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs_decode.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs_decode.go index 1b4c62c8..3939027b 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs_decode.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs_decode.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) // Decode reads the next advertised-refs message form its input and diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs_encode.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs_encode.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs_encode.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs_encode.go index c23e3feb..a64f9a0a 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/advrefs_encode.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/advrefs_encode.go @@ -6,9 +6,9 @@ import ( "io" "sort" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" ) // Encode writes the AdvRefs encoding to a writer. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability/capability.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/capability/capability.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability/capability.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/capability/capability.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability/list.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/capability/list.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability/list.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/capability/list.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/common.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/common.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/report_status.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/report_status.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/report_status.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/report_status.go index 29c1a4cd..14cc6443 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/report_status.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/report_status.go @@ -6,8 +6,8 @@ import ( "io" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/shallowupd.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/shallowupd.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/shallowupd.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/shallowupd.go index fce4e3be..50485674 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/shallowupd.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/shallowupd.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/common.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/common.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/demux.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/demux.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/demux.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/demux.go index 352336dc..94c8feb2 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/demux.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/demux.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) // ErrMaxPackedExceeded returned by Read, if the maximum packed size is exceeded diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/muxer.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/muxer.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/muxer.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/muxer.go index 45fecc2c..76e6e23f 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband/muxer.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband/muxer.go @@ -3,7 +3,7 @@ package sideband import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) // Muxer multiplex the packfile along with the progress messages and the error diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/srvresp.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/srvresp.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/srvresp.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/srvresp.go index 6a919918..fbd98f57 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/srvresp.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/srvresp.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) const ackLineLen = 44 diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq.go index 74109d88..2545b641 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" ) // UploadRequest values represent the information transmitted on a diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq_decode.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq_decode.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq_decode.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq_decode.go index bcd642db..f5411053 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq_decode.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq_decode.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) // Decode reads the next upload-request form its input and diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq_encode.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq_encode.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq_encode.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq_encode.go index 89a59868..54b66f51 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/ulreq_encode.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/ulreq_encode.go @@ -6,8 +6,8 @@ import ( "io" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) // Encode writes the UlReq encoding of u to the stream. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq.go similarity index 93% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq.go index 73be1171..8f756b98 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq.go @@ -4,9 +4,9 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband" ) var ( @@ -47,6 +47,7 @@ func NewReferenceUpdateRequest() *ReferenceUpdateRequest { // - ofs-delta // - ref-delta // - delete-refs +// // It leaves up to the user to add the following capabilities later: // - atomic // - ofs-delta diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq_decode.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq_decode.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq_decode.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq_decode.go index 51e8183d..d889fa18 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq_decode.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq_decode.go @@ -8,8 +8,8 @@ import ( "io" "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq_encode.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq_encode.go similarity index 88% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq_encode.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq_encode.go index 44c05739..c1817015 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/updreq_encode.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/updreq_encode.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/uppackreq.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/uppackreq.go similarity index 93% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/uppackreq.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/uppackreq.go index 11441395..ceab96a5 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/uppackreq.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/uppackreq.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" ) // UploadPackRequest represents a upload-pack request. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/uppackresp.go b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/uppackresp.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/uppackresp.go rename to vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/uppackresp.go index c18e159e..fb033499 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/uppackresp.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/protocol/packp/uppackresp.go @@ -6,8 +6,8 @@ import ( "bufio" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/utils/ioutil" ) // ErrUploadPackResponseNotDecoded is returned if Read is called without diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/reference.go b/vendor/github.com/devtron-labs/go-git/plumbing/reference.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/reference.go rename to vendor/github.com/devtron-labs/go-git/plumbing/reference.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/revision.go b/vendor/github.com/devtron-labs/go-git/plumbing/revision.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/revision.go rename to vendor/github.com/devtron-labs/go-git/plumbing/revision.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/revlist/revlist.go b/vendor/github.com/devtron-labs/go-git/plumbing/revlist/revlist.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/revlist/revlist.go rename to vendor/github.com/devtron-labs/go-git/plumbing/revlist/revlist.go index 7ad71ac0..70ebd600 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/revlist/revlist.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/revlist/revlist.go @@ -6,10 +6,10 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/plumbing/storer" ) // Objects applies a complementary set. It gets all the hashes from all diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/doc.go b/vendor/github.com/devtron-labs/go-git/plumbing/storer/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/doc.go rename to vendor/github.com/devtron-labs/go-git/plumbing/storer/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/index.go b/vendor/github.com/devtron-labs/go-git/plumbing/storer/index.go similarity index 71% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/index.go rename to vendor/github.com/devtron-labs/go-git/plumbing/storer/index.go index e087296e..186aaf3d 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/index.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/storer/index.go @@ -1,6 +1,6 @@ package storer -import "gopkg.in/src-d/go-git.v4/plumbing/format/index" +import "github.com/devtron-labs/go-git/plumbing/format/index" // IndexStorer generic storage of index.Index type IndexStorer interface { diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/object.go b/vendor/github.com/devtron-labs/go-git/plumbing/storer/object.go similarity index 99% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/object.go rename to vendor/github.com/devtron-labs/go-git/plumbing/storer/object.go index 98d1ec3f..8df24481 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/object.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/storer/object.go @@ -5,7 +5,7 @@ import ( "io" "time" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/reference.go b/vendor/github.com/devtron-labs/go-git/plumbing/storer/reference.go similarity index 99% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/reference.go rename to vendor/github.com/devtron-labs/go-git/plumbing/storer/reference.go index cce72b4a..7fbbcba0 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/reference.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/storer/reference.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) const MaxResolveRecursion = 1024 diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/shallow.go b/vendor/github.com/devtron-labs/go-git/plumbing/storer/shallow.go similarity index 84% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/shallow.go rename to vendor/github.com/devtron-labs/go-git/plumbing/storer/shallow.go index 39aaaa54..ed1d964d 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/shallow.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/storer/shallow.go @@ -1,6 +1,6 @@ package storer -import "gopkg.in/src-d/go-git.v4/plumbing" +import "github.com/devtron-labs/go-git/plumbing" // ShallowStorer is a storage of references to shallow commits by hash, // meaning that these commits have missing parents because of a shallow fetch. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/storer.go b/vendor/github.com/devtron-labs/go-git/plumbing/storer/storer.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/storer.go rename to vendor/github.com/devtron-labs/go-git/plumbing/storer/storer.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/client/client.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/client/client.go similarity index 79% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/client/client.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/client/client.go index 90635a5a..e2ccac94 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/client/client.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/client/client.go @@ -5,11 +5,11 @@ package client import ( "fmt" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/file" - "gopkg.in/src-d/go-git.v4/plumbing/transport/git" - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" - "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport/file" + "github.com/devtron-labs/go-git/plumbing/transport/git" + "github.com/devtron-labs/go-git/plumbing/transport/http" + "github.com/devtron-labs/go-git/plumbing/transport/ssh" ) // Protocols are the protocols supported by default. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/common.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/common.go index dcf9391d..a01facf3 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/common.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/common.go @@ -22,10 +22,10 @@ import ( "strconv" "strings" - giturl "gopkg.in/src-d/go-git.v4/internal/url" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + giturl "github.com/devtron-labs/go-git/internal/url" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/file/client.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/file/client.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/file/client.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/file/client.go index e799ee13..e22e47fe 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/file/client.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/file/client.go @@ -10,8 +10,8 @@ import ( "path/filepath" "strings" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport/internal/common" ) // DefaultClient is the default local client. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/file/server.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/file/server.go similarity index 84% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/file/server.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/file/server.go index 61dd42d0..f64e14a9 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/file/server.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/file/server.go @@ -4,10 +4,10 @@ import ( "fmt" "os" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" - "gopkg.in/src-d/go-git.v4/plumbing/transport/server" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport/internal/common" + "github.com/devtron-labs/go-git/plumbing/transport/server" + "github.com/devtron-labs/go-git/utils/ioutil" ) // ServeUploadPack serves a git-upload-pack request using standard output, input diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/git/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/git/common.go similarity index 91% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/git/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/git/common.go index 78aaa3b0..238daff2 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/git/common.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/git/common.go @@ -6,10 +6,10 @@ import ( "io" "net" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport/internal/common" + "github.com/devtron-labs/go-git/utils/ioutil" ) // DefaultClient is the default git client. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/http/common.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/http/common.go index 38e903d4..18a96dbf 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/common.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/http/common.go @@ -9,10 +9,10 @@ import ( "strconv" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/utils/ioutil" ) // it requires a bytes.Buffer, because we need to know the length diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/receive_pack.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/http/receive_pack.go similarity index 86% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/receive_pack.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/http/receive_pack.go index 72ba0ec5..60cf48fc 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/receive_pack.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/http/receive_pack.go @@ -7,12 +7,12 @@ import ( "io" "net/http" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/utils/ioutil" ) type rpSession struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/upload_pack.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/http/upload_pack.go similarity index 88% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/upload_pack.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/http/upload_pack.go index fb5ac361..a555916e 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/http/upload_pack.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/http/upload_pack.go @@ -7,12 +7,12 @@ import ( "io" "net/http" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport/internal/common" + "github.com/devtron-labs/go-git/utils/ioutil" ) type upSession struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/internal/common/common.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/internal/common/common.go index 00497f3c..022578c6 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common/common.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/internal/common/common.go @@ -15,12 +15,12 @@ import ( "strings" "time" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/format/pktline" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/utils/ioutil" ) const ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common/server.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/internal/common/server.go similarity index 90% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common/server.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/internal/common/server.go index f4ca6924..d729eb26 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common/server.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/internal/common/server.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/utils/ioutil" ) // ServerCommand is used for a single server command execution. diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/server/loader.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/server/loader.go similarity index 89% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/server/loader.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/server/loader.go index 13b35262..c7168ba9 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/server/loader.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/server/loader.go @@ -1,10 +1,10 @@ package server import ( - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/storage/filesystem" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/storage/filesystem" "gopkg.in/src-d/go-billy.v4" "gopkg.in/src-d/go-billy.v4/osfs" diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/server/server.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/server/server.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/server/server.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/server/server.go index 8e0dcc11..eca51376 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/server/server.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/server/server.go @@ -8,14 +8,14 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/plumbing/revlist" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/packfile" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing/revlist" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/utils/ioutil" ) var DefaultServer = NewServer(DefaultLoader) diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/auth_method.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/ssh/auth_method.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/auth_method.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/ssh/auth_method.go index 1e5c3837..ec261fb7 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/auth_method.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/ssh/auth_method.go @@ -10,7 +10,7 @@ import ( "os/user" "path/filepath" - "gopkg.in/src-d/go-git.v4/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport" "github.com/mitchellh/go-homedir" "github.com/xanzy/ssh-agent" @@ -238,11 +238,13 @@ func (a *PublicKeysCallback) ClientConfig() (*ssh.ClientConfig, error) { // // If list of files is empty, then it will be read from the SSH_KNOWN_HOSTS // environment variable, example: -// /home/foo/custom_known_hosts_file:/etc/custom_known/hosts_file +// +// /home/foo/custom_known_hosts_file:/etc/custom_known/hosts_file // // If SSH_KNOWN_HOSTS is not set the following file locations will be used: -// ~/.ssh/known_hosts -// /etc/ssh/ssh_known_hosts +// +// ~/.ssh/known_hosts +// /etc/ssh/ssh_known_hosts func NewKnownHostsCallback(files ...string) (ssh.HostKeyCallback, error) { var err error diff --git a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/common.go b/vendor/github.com/devtron-labs/go-git/plumbing/transport/ssh/common.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/common.go rename to vendor/github.com/devtron-labs/go-git/plumbing/transport/ssh/common.go index d320d433..f29cc1c0 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/common.go +++ b/vendor/github.com/devtron-labs/go-git/plumbing/transport/ssh/common.go @@ -7,8 +7,8 @@ import ( "reflect" "strconv" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport/internal/common" "github.com/kevinburke/ssh_config" "golang.org/x/crypto/ssh" diff --git a/vendor/gopkg.in/src-d/go-git.v4/prune.go b/vendor/github.com/devtron-labs/go-git/prune.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/prune.go rename to vendor/github.com/devtron-labs/go-git/prune.go index c840325f..0eee0ad8 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/prune.go +++ b/vendor/github.com/devtron-labs/go-git/prune.go @@ -4,8 +4,8 @@ import ( "errors" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" ) type PruneHandler func(unreferencedObjectHash plumbing.Hash) error diff --git a/vendor/gopkg.in/src-d/go-git.v4/references.go b/vendor/github.com/devtron-labs/go-git/references.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/references.go rename to vendor/github.com/devtron-labs/go-git/references.go index 5673ac13..a4921f77 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/references.go +++ b/vendor/github.com/devtron-labs/go-git/references.go @@ -4,9 +4,9 @@ import ( "io" "sort" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/utils/diff" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/utils/diff" "github.com/sergi/go-diff/diffmatchpatch" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/remote.go b/vendor/github.com/devtron-labs/go-git/remote.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/remote.go rename to vendor/github.com/devtron-labs/go-git/remote.go index baee7a08..32a50c73 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/remote.go +++ b/vendor/github.com/devtron-labs/go-git/remote.go @@ -6,23 +6,23 @@ import ( "fmt" "io" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/plumbing/format/packfile" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/plumbing/protocol/packp" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/capability" + "github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband" + "github.com/devtron-labs/go-git/plumbing/revlist" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/plumbing/transport" + "github.com/devtron-labs/go-git/plumbing/transport/client" + "github.com/devtron-labs/go-git/storage" + "github.com/devtron-labs/go-git/storage/filesystem" + "github.com/devtron-labs/go-git/storage/memory" + "github.com/devtron-labs/go-git/utils/ioutil" "gopkg.in/src-d/go-billy.v4/osfs" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" - "gopkg.in/src-d/go-git.v4/plumbing/revlist" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/client" - "gopkg.in/src-d/go-git.v4/storage" - "gopkg.in/src-d/go-git.v4/storage/filesystem" - "gopkg.in/src-d/go-git.v4/storage/memory" - "gopkg.in/src-d/go-git.v4/utils/ioutil" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/repository.go b/vendor/github.com/devtron-labs/go-git/repository.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/repository.go rename to vendor/github.com/devtron-labs/go-git/repository.go index 2251d6cf..12795e42 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/repository.go +++ b/vendor/github.com/devtron-labs/go-git/repository.go @@ -13,17 +13,17 @@ import ( "strings" "time" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/internal/revision" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/plumbing/format/packfile" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/storage" + "github.com/devtron-labs/go-git/storage/filesystem" + "github.com/devtron-labs/go-git/utils/ioutil" "golang.org/x/crypto/openpgp" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/internal/revision" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage" - "gopkg.in/src-d/go-git.v4/storage/filesystem" - "gopkg.in/src-d/go-git.v4/utils/ioutil" "gopkg.in/src-d/go-billy.v4" "gopkg.in/src-d/go-billy.v4/osfs" @@ -667,21 +667,20 @@ func (r *Repository) buildTagSignature(tag *object.Tag, signKey *openpgp.Entity) // If you want to check to see if the tag is an annotated tag, you can call // TagObject on the hash of the reference in ForEach: // -// ref, err := r.Tag("v0.1.0") -// if err != nil { -// // Handle error -// } -// -// obj, err := r.TagObject(ref.Hash()) -// switch err { -// case nil: -// // Tag object present -// case plumbing.ErrObjectNotFound: -// // Not a tag object -// default: -// // Some other error -// } +// ref, err := r.Tag("v0.1.0") +// if err != nil { +// // Handle error +// } // +// obj, err := r.TagObject(ref.Hash()) +// switch err { +// case nil: +// // Tag object present +// case plumbing.ErrObjectNotFound: +// // Not a tag object +// default: +// // Some other error +// } func (r *Repository) Tag(name string) (*plumbing.Reference, error) { ref, err := r.Reference(plumbing.ReferenceName(path.Join("refs", "tags", name)), false) if err != nil { @@ -1128,26 +1127,25 @@ func commitIterFunc(order LogOrder) func(c *object.Commit) object.CommitIter { // If you want to check to see if the tag is an annotated tag, you can call // TagObject on the hash Reference passed in through ForEach: // -// iter, err := r.Tags() -// if err != nil { -// // Handle error -// } -// -// if err := iter.ForEach(func (ref *plumbing.Reference) error { -// obj, err := r.TagObject(ref.Hash()) -// switch err { -// case nil: -// // Tag object present -// case plumbing.ErrObjectNotFound: -// // Not a tag object -// default: -// // Some other error -// return err -// } -// }); err != nil { -// // Handle outer iterator error -// } +// iter, err := r.Tags() +// if err != nil { +// // Handle error +// } // +// if err := iter.ForEach(func (ref *plumbing.Reference) error { +// obj, err := r.TagObject(ref.Hash()) +// switch err { +// case nil: +// // Tag object present +// case plumbing.ErrObjectNotFound: +// // Not a tag object +// default: +// // Some other error +// return err +// } +// }); err != nil { +// // Handle outer iterator error +// } func (r *Repository) Tags() (storer.ReferenceIter, error) { refIter, err := r.Storer.IterReferences() if err != nil { diff --git a/vendor/gopkg.in/src-d/go-git.v4/status.go b/vendor/github.com/devtron-labs/go-git/status.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/status.go rename to vendor/github.com/devtron-labs/go-git/status.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/config.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/config.go similarity index 84% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/config.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/config.go index be812e42..12acf0d6 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/config.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/config.go @@ -4,9 +4,9 @@ import ( stdioutil "io/ioutil" "os" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/storage/filesystem/dotgit" + "github.com/devtron-labs/go-git/utils/ioutil" ) type ConfigStorage struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/deltaobject.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/deltaobject.go similarity index 93% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/deltaobject.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/deltaobject.go index 66cfb716..2e759598 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/deltaobject.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/deltaobject.go @@ -1,7 +1,7 @@ package filesystem import ( - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) type deltaObject struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit.go similarity index 99% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit.go index 111769bf..dcd47284 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit.go @@ -12,10 +12,10 @@ import ( "strings" "time" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/storage" + "github.com/devtron-labs/go-git/utils/ioutil" "gopkg.in/src-d/go-billy.v4/osfs" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/storage" - "gopkg.in/src-d/go-git.v4/utils/ioutil" "gopkg.in/src-d/go-billy.v4" ) @@ -499,7 +499,8 @@ func (d *DotGit) objectPath(h plumbing.Hash) string { // // More on git hooks found here : https://git-scm.com/docs/githooks // More on 'quarantine'/incoming directory here: -// https://git-scm.com/docs/git-receive-pack +// +// https://git-scm.com/docs/git-receive-pack func (d *DotGit) incomingObjectPath(h plumbing.Hash) string { hString := h.String() diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go index 7f1c02c1..dfb03bcd 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go @@ -5,8 +5,8 @@ import ( "os" "runtime" + "github.com/devtron-labs/go-git/utils/ioutil" "gopkg.in/src-d/go-billy.v4" - "gopkg.in/src-d/go-git.v4/utils/ioutil" ) func (d *DotGit) openAndLockPackedRefsMode() int { diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit_setref.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit_setref.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit_setref.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit_setref.go index 9da2f31e..23b018d9 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/dotgit_setref.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/dotgit_setref.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/utils/ioutil" "gopkg.in/src-d/go-billy.v4" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/writers.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/writers.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/writers.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/writers.go index 93d2d8cc..0d26eff3 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit/writers.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/dotgit/writers.go @@ -5,10 +5,10 @@ import ( "io" "sync/atomic" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" - "gopkg.in/src-d/go-git.v4/plumbing/format/objfile" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/idxfile" + "github.com/devtron-labs/go-git/plumbing/format/objfile" + "github.com/devtron-labs/go-git/plumbing/format/packfile" "gopkg.in/src-d/go-billy.v4" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/index.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/index.go similarity index 82% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/index.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/index.go index be800eff..672d64da 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/index.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/index.go @@ -4,9 +4,9 @@ import ( "bufio" "os" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing/format/index" + "github.com/devtron-labs/go-git/storage/filesystem/dotgit" + "github.com/devtron-labs/go-git/utils/ioutil" ) type IndexStorage struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/module.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/module.go similarity index 65% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/module.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/module.go index 92722067..3284939e 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/module.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/module.go @@ -1,9 +1,9 @@ package filesystem import ( - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/storage" - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/storage" + "github.com/devtron-labs/go-git/storage/filesystem/dotgit" ) type ModuleStorage struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/object.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/object.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/object.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/object.go index ad5d8d00..a5b9e155 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/object.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/object.go @@ -5,14 +5,14 @@ import ( "os" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" - "gopkg.in/src-d/go-git.v4/plumbing/format/objfile" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/plumbing/format/idxfile" + "github.com/devtron-labs/go-git/plumbing/format/objfile" + "github.com/devtron-labs/go-git/plumbing/format/packfile" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/storage/filesystem/dotgit" + "github.com/devtron-labs/go-git/utils/ioutil" "gopkg.in/src-d/go-billy.v4" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/reference.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/reference.go similarity index 85% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/reference.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/reference.go index a891b837..eba06faf 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/reference.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/reference.go @@ -1,9 +1,9 @@ package filesystem import ( - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/storage/filesystem/dotgit" ) type ReferenceStorage struct { diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/shallow.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/shallow.go similarity index 87% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/shallow.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/shallow.go index 502d406d..a7335d65 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/shallow.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/shallow.go @@ -4,9 +4,9 @@ import ( "bufio" "fmt" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/storage/filesystem/dotgit" + "github.com/devtron-labs/go-git/utils/ioutil" ) // ShallowStorage where the shallow commits are stored, an internal to diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/storage.go b/vendor/github.com/devtron-labs/go-git/storage/filesystem/storage.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/storage.go rename to vendor/github.com/devtron-labs/go-git/storage/filesystem/storage.go index 88d1ed48..26a78d42 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/filesystem/storage.go +++ b/vendor/github.com/devtron-labs/go-git/storage/filesystem/storage.go @@ -2,8 +2,8 @@ package filesystem import ( - "gopkg.in/src-d/go-git.v4/plumbing/cache" - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" + "github.com/devtron-labs/go-git/plumbing/cache" + "github.com/devtron-labs/go-git/storage/filesystem/dotgit" "gopkg.in/src-d/go-billy.v4" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/memory/storage.go b/vendor/github.com/devtron-labs/go-git/storage/memory/storage.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/storage/memory/storage.go rename to vendor/github.com/devtron-labs/go-git/storage/memory/storage.go index f240f2a1..ef406b37 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/memory/storage.go +++ b/vendor/github.com/devtron-labs/go-git/storage/memory/storage.go @@ -5,11 +5,11 @@ import ( "fmt" "time" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/storage" ) var ErrUnsupportedObjectType = fmt.Errorf("unsupported object type") diff --git a/vendor/gopkg.in/src-d/go-git.v4/storage/storer.go b/vendor/github.com/devtron-labs/go-git/storage/storer.go similarity index 79% rename from vendor/gopkg.in/src-d/go-git.v4/storage/storer.go rename to vendor/github.com/devtron-labs/go-git/storage/storer.go index 5de0cfb9..34af101c 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/storage/storer.go +++ b/vendor/github.com/devtron-labs/go-git/storage/storer.go @@ -3,14 +3,14 @@ package storage import ( "errors" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/plumbing/storer" ) var ErrReferenceHasChanged = errors.New("reference has changed concurrently") // Storer is a generic storage of objects, references and any information -// related to a particular repository. The package gopkg.in/src-d/go-git.v4/storage +// related to a particular repository. The package github.com/devtron-labs/go-git/storage // contains two implementation a filesystem base implementation (such as `.git`) // and a memory implementations being ephemeral type Storer interface { diff --git a/vendor/gopkg.in/src-d/go-git.v4/submodule.go b/vendor/github.com/devtron-labs/go-git/submodule.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/submodule.go rename to vendor/github.com/devtron-labs/go-git/submodule.go index a4eb7ded..8076191b 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/submodule.go +++ b/vendor/github.com/devtron-labs/go-git/submodule.go @@ -6,10 +6,10 @@ import ( "errors" "fmt" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/format/index" "gopkg.in/src-d/go-billy.v4" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/binary/read.go b/vendor/github.com/devtron-labs/go-git/utils/binary/read.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/utils/binary/read.go rename to vendor/github.com/devtron-labs/go-git/utils/binary/read.go index 12e57c30..88affae6 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/binary/read.go +++ b/vendor/github.com/devtron-labs/go-git/utils/binary/read.go @@ -7,7 +7,7 @@ import ( "encoding/binary" "io" - "gopkg.in/src-d/go-git.v4/plumbing" + "github.com/devtron-labs/go-git/plumbing" ) // Read reads structured binary data from r into data. Bytes are read and @@ -80,10 +80,9 @@ func ReadUntilFromBufioReader(r *bufio.Reader, delim byte) ([]byte, error) { // // This is how the offset is saved in C: // -// dheader[pos] = ofs & 127; -// while (ofs >>= 7) -// dheader[--pos] = 128 | (--ofs & 127); -// +// dheader[pos] = ofs & 127; +// while (ofs >>= 7) +// dheader[--pos] = 128 | (--ofs & 127); func ReadVariableWidthInt(r io.Reader) (int64, error) { var c byte if err := Read(r, &c); err != nil { diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/binary/write.go b/vendor/github.com/devtron-labs/go-git/utils/binary/write.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/utils/binary/write.go rename to vendor/github.com/devtron-labs/go-git/utils/binary/write.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/diff/diff.go b/vendor/github.com/devtron-labs/go-git/utils/diff/diff.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/utils/diff/diff.go rename to vendor/github.com/devtron-labs/go-git/utils/diff/diff.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/ioutil/common.go b/vendor/github.com/devtron-labs/go-git/utils/ioutil/common.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/utils/ioutil/common.go rename to vendor/github.com/devtron-labs/go-git/utils/ioutil/common.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/change.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/change.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/change.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/change.go index 0b50ca71..e18197c0 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/change.go +++ b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/change.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // Action values represent the kind of things a Change can represent: diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/difftree.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/difftree.go similarity index 99% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/difftree.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/difftree.go index d57ed133..03f9b96d 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/difftree.go +++ b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/difftree.go @@ -252,7 +252,7 @@ import ( "errors" "fmt" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/doc.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/doc.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/doc.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/doc.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/doubleiter.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/doubleiter.go similarity index 98% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/doubleiter.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/doubleiter.go index e56dee70..985aae37 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/doubleiter.go +++ b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/doubleiter.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // A doubleIter is a convenience type to keep track of the current diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem/node.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/filesystem/node.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem/node.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/filesystem/node.go index 12d00189..eb3492c8 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem/node.go +++ b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/filesystem/node.go @@ -5,9 +5,9 @@ import ( "os" "path" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" "gopkg.in/src-d/go-billy.v4" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/index/node.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/index/node.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/index/node.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/index/node.go index 96226224..4d4ce343 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/index/node.go +++ b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/index/node.go @@ -4,8 +4,8 @@ import ( "path" "strings" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/plumbing/format/index" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // The node represents a index.Entry or a directory inferred from the path diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame/frame.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/internal/frame/frame.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame/frame.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/internal/frame/frame.go index a0b042ee..c63dcccc 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame/frame.go +++ b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/internal/frame/frame.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // A Frame is a collection of siblings in a trie, sorted alphabetically @@ -42,8 +42,9 @@ func New(n noder.Noder) (*Frame, error) { // separated by comas. // // Examples: -// [] -// ["a", "b"] +// +// [] +// ["a", "b"] func (f *Frame) String() string { var buf bytes.Buffer _ = buf.WriteByte('[') diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/iter.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/iter.go similarity index 94% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/iter.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/iter.go index b4d4c99a..24ef01ab 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/iter.go +++ b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/iter.go @@ -4,8 +4,8 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "github.com/devtron-labs/go-git/utils/merkletrie/internal/frame" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" ) // Iter is an iterator for merkletries (only the trie part of the @@ -17,15 +17,14 @@ import ( // This is the kind of traversal you will expect when listing ordinary // files and directories recursively, for example: // -// Trie Traversal order -// ---- --------------- -// . -// / | \ c -// / | \ d/ -// d c z ===> d/a -// / \ d/b -// b a z -// +// Trie Traversal order +// ---- --------------- +// . +// / | \ c +// / | \ d/ +// d c z ===> d/a +// / \ d/b +// b a z // // This iterator is somewhat especial as you can chose to skip whole // "directories" when iterating: diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/noder/noder.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/noder/noder.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/noder/noder.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/noder/noder.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/noder/path.go b/vendor/github.com/devtron-labs/go-git/utils/merkletrie/noder/path.go similarity index 100% rename from vendor/gopkg.in/src-d/go-git.v4/utils/merkletrie/noder/path.go rename to vendor/github.com/devtron-labs/go-git/utils/merkletrie/noder/path.go diff --git a/vendor/gopkg.in/src-d/go-git.v4/worktree.go b/vendor/github.com/devtron-labs/go-git/worktree.go similarity index 97% rename from vendor/gopkg.in/src-d/go-git.v4/worktree.go rename to vendor/github.com/devtron-labs/go-git/worktree.go index 4a609e9e..ec4c082e 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/worktree.go +++ b/vendor/github.com/devtron-labs/go-git/worktree.go @@ -11,15 +11,15 @@ import ( "strings" "sync" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/plumbing/format/gitignore" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/ioutil" - "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "github.com/devtron-labs/go-git/config" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing/format/gitignore" + "github.com/devtron-labs/go-git/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/plumbing/storer" + "github.com/devtron-labs/go-git/utils/ioutil" + "github.com/devtron-labs/go-git/utils/merkletrie" "gopkg.in/src-d/go-billy.v4" "gopkg.in/src-d/go-billy.v4/util" diff --git a/vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go b/vendor/github.com/devtron-labs/go-git/worktree_bsd.go similarity index 82% rename from vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go rename to vendor/github.com/devtron-labs/go-git/worktree_bsd.go index 9ff670e0..e738a982 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go +++ b/vendor/github.com/devtron-labs/go-git/worktree_bsd.go @@ -1,3 +1,4 @@ +//go:build darwin || freebsd || netbsd // +build darwin freebsd netbsd package git @@ -6,7 +7,7 @@ import ( "syscall" "time" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/format/index" ) func init() { diff --git a/vendor/gopkg.in/src-d/go-git.v4/worktree_commit.go b/vendor/github.com/devtron-labs/go-git/worktree_commit.go similarity index 95% rename from vendor/gopkg.in/src-d/go-git.v4/worktree_commit.go rename to vendor/github.com/devtron-labs/go-git/worktree_commit.go index 673eb167..e98687f5 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/worktree_commit.go +++ b/vendor/github.com/devtron-labs/go-git/worktree_commit.go @@ -6,12 +6,12 @@ import ( "sort" "strings" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/storage" "golang.org/x/crypto/openpgp" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/storage" "gopkg.in/src-d/go-billy.v4" ) diff --git a/vendor/gopkg.in/src-d/go-git.v4/worktree_linux.go b/vendor/github.com/devtron-labs/go-git/worktree_linux.go similarity index 84% rename from vendor/gopkg.in/src-d/go-git.v4/worktree_linux.go rename to vendor/github.com/devtron-labs/go-git/worktree_linux.go index 891cb1cf..5420dbcb 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/worktree_linux.go +++ b/vendor/github.com/devtron-labs/go-git/worktree_linux.go @@ -1,3 +1,4 @@ +//go:build linux // +build linux package git @@ -6,7 +7,7 @@ import ( "syscall" "time" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/format/index" ) func init() { diff --git a/vendor/gopkg.in/src-d/go-git.v4/worktree_status.go b/vendor/github.com/devtron-labs/go-git/worktree_status.go similarity index 96% rename from vendor/gopkg.in/src-d/go-git.v4/worktree_status.go rename to vendor/github.com/devtron-labs/go-git/worktree_status.go index 16ce9370..41286120 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/worktree_status.go +++ b/vendor/github.com/devtron-labs/go-git/worktree_status.go @@ -8,17 +8,17 @@ import ( "path" "path/filepath" + "github.com/devtron-labs/go-git/plumbing" + "github.com/devtron-labs/go-git/plumbing/filemode" + "github.com/devtron-labs/go-git/plumbing/format/gitignore" + "github.com/devtron-labs/go-git/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/object" + "github.com/devtron-labs/go-git/utils/ioutil" + "github.com/devtron-labs/go-git/utils/merkletrie" + "github.com/devtron-labs/go-git/utils/merkletrie/filesystem" + mindex "github.com/devtron-labs/go-git/utils/merkletrie/index" + "github.com/devtron-labs/go-git/utils/merkletrie/noder" "gopkg.in/src-d/go-billy.v4/util" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/filemode" - "gopkg.in/src-d/go-git.v4/plumbing/format/gitignore" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/utils/ioutil" - "gopkg.in/src-d/go-git.v4/utils/merkletrie" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem" - mindex "gopkg.in/src-d/go-git.v4/utils/merkletrie/index" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) var ( diff --git a/vendor/gopkg.in/src-d/go-git.v4/worktree_unix_other.go b/vendor/github.com/devtron-labs/go-git/worktree_unix_other.go similarity index 81% rename from vendor/gopkg.in/src-d/go-git.v4/worktree_unix_other.go rename to vendor/github.com/devtron-labs/go-git/worktree_unix_other.go index d6327676..e91aefe6 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/worktree_unix_other.go +++ b/vendor/github.com/devtron-labs/go-git/worktree_unix_other.go @@ -1,3 +1,4 @@ +//go:build openbsd || dragonfly || solaris // +build openbsd dragonfly solaris package git @@ -6,7 +7,7 @@ import ( "syscall" "time" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/format/index" ) func init() { diff --git a/vendor/gopkg.in/src-d/go-git.v4/worktree_windows.go b/vendor/github.com/devtron-labs/go-git/worktree_windows.go similarity index 90% rename from vendor/gopkg.in/src-d/go-git.v4/worktree_windows.go rename to vendor/github.com/devtron-labs/go-git/worktree_windows.go index 1bef6f75..91f64025 100644 --- a/vendor/gopkg.in/src-d/go-git.v4/worktree_windows.go +++ b/vendor/github.com/devtron-labs/go-git/worktree_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package git @@ -7,7 +8,7 @@ import ( "syscall" "time" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "github.com/devtron-labs/go-git/plumbing/format/index" ) func init() { diff --git a/vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go b/vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go index cb25b437..4f7b4248 100644 --- a/vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go +++ b/vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go @@ -34,6 +34,8 @@ const ( DiffInsert Operation = 1 // DiffEqual item represents an equal diff. DiffEqual Operation = 0 + //IndexSeparator is used to seperate the array indexes in an index string + IndexSeparator = "," ) // Diff represents one diff operation @@ -120,7 +122,7 @@ func (dmp *DiffMatchPatch) diffMainRunes(text1, text2 []rune, checklines bool, d // Restore the prefix and suffix. if len(commonprefix) != 0 { - diffs = append([]Diff{Diff{DiffEqual, string(commonprefix)}}, diffs...) + diffs = append([]Diff{{DiffEqual, string(commonprefix)}}, diffs...) } if len(commonsuffix) != 0 { diffs = append(diffs, Diff{DiffEqual, string(commonsuffix)}) @@ -165,8 +167,8 @@ func (dmp *DiffMatchPatch) diffCompute(text1, text2 []rune, checklines bool, dea // Single character string. // After the previous speedup, the character can't be an equality. return []Diff{ - Diff{DiffDelete, string(text1)}, - Diff{DiffInsert, string(text2)}, + {DiffDelete, string(text1)}, + {DiffInsert, string(text2)}, } // Check to see if the problem can be split in two. } else if hm := dmp.diffHalfMatch(text1, text2); hm != nil { @@ -193,7 +195,7 @@ func (dmp *DiffMatchPatch) diffCompute(text1, text2 []rune, checklines bool, dea // diffLineMode does a quick line-level diff on both []runes, then rediff the parts for greater accuracy. This speedup can produce non-minimal diffs. func (dmp *DiffMatchPatch) diffLineMode(text1, text2 []rune, deadline time.Time) []Diff { // Scan the text on a line-by-line basis first. - text1, text2, linearray := dmp.diffLinesToRunes(text1, text2) + text1, text2, linearray := dmp.DiffLinesToRunes(string(text1), string(text2)) diffs := dmp.diffMainRunes(text1, text2, false, deadline) @@ -368,8 +370,8 @@ func (dmp *DiffMatchPatch) diffBisect(runes1, runes2 []rune, deadline time.Time) } // Diff took too long and hit the deadline or number of diffs equals number of characters, no commonality at all. return []Diff{ - Diff{DiffDelete, string(runes1)}, - Diff{DiffInsert, string(runes2)}, + {DiffDelete, string(runes1)}, + {DiffInsert, string(runes2)}, } } @@ -390,66 +392,28 @@ func (dmp *DiffMatchPatch) diffBisectSplit(runes1, runes2 []rune, x, y int, // DiffLinesToChars splits two texts into a list of strings, and educes the texts to a string of hashes where each Unicode character represents one line. // It's slightly faster to call DiffLinesToRunes first, followed by DiffMainRunes. func (dmp *DiffMatchPatch) DiffLinesToChars(text1, text2 string) (string, string, []string) { - chars1, chars2, lineArray := dmp.DiffLinesToRunes(text1, text2) - return string(chars1), string(chars2), lineArray -} - -// DiffLinesToRunes splits two texts into a list of runes. Each rune represents one line. -func (dmp *DiffMatchPatch) DiffLinesToRunes(text1, text2 string) ([]rune, []rune, []string) { - // '\x00' is a valid character, but various debuggers don't like it. So we'll insert a junk entry to avoid generating a null character. - lineArray := []string{""} // e.g. lineArray[4] == 'Hello\n' - lineHash := map[string]int{} // e.g. lineHash['Hello\n'] == 4 - - chars1 := dmp.diffLinesToRunesMunge(text1, &lineArray, lineHash) - chars2 := dmp.diffLinesToRunesMunge(text2, &lineArray, lineHash) - + chars1, chars2, lineArray := dmp.diffLinesToStrings(text1, text2) return chars1, chars2, lineArray } -func (dmp *DiffMatchPatch) diffLinesToRunes(text1, text2 []rune) ([]rune, []rune, []string) { - return dmp.DiffLinesToRunes(string(text1), string(text2)) -} - -// diffLinesToRunesMunge splits a text into an array of strings, and reduces the texts to a []rune where each Unicode character represents one line. -// We use strings instead of []runes as input mainly because you can't use []rune as a map key. -func (dmp *DiffMatchPatch) diffLinesToRunesMunge(text string, lineArray *[]string, lineHash map[string]int) []rune { - // Walk the text, pulling out a substring for each line. text.split('\n') would would temporarily double our memory footprint. Modifying text would create many large strings to garbage collect. - lineStart := 0 - lineEnd := -1 - runes := []rune{} - - for lineEnd < len(text)-1 { - lineEnd = indexOf(text, "\n", lineStart) - - if lineEnd == -1 { - lineEnd = len(text) - 1 - } - - line := text[lineStart : lineEnd+1] - lineStart = lineEnd + 1 - lineValue, ok := lineHash[line] - - if ok { - runes = append(runes, rune(lineValue)) - } else { - *lineArray = append(*lineArray, line) - lineHash[line] = len(*lineArray) - 1 - runes = append(runes, rune(len(*lineArray)-1)) - } - } - - return runes +// DiffLinesToRunes splits two texts into a list of runes. +func (dmp *DiffMatchPatch) DiffLinesToRunes(text1, text2 string) ([]rune, []rune, []string) { + chars1, chars2, lineArray := dmp.diffLinesToStrings(text1, text2) + return []rune(chars1), []rune(chars2), lineArray } // DiffCharsToLines rehydrates the text in a diff from a string of line hashes to real lines of text. func (dmp *DiffMatchPatch) DiffCharsToLines(diffs []Diff, lineArray []string) []Diff { hydrated := make([]Diff, 0, len(diffs)) for _, aDiff := range diffs { - chars := aDiff.Text + chars := strings.Split(aDiff.Text, IndexSeparator) text := make([]string, len(chars)) for i, r := range chars { - text[i] = lineArray[r] + i1, err := strconv.Atoi(r) + if err == nil { + text[i] = lineArray[i1] + } } aDiff.Text = strings.Join(text, "") @@ -670,16 +634,16 @@ func (dmp *DiffMatchPatch) DiffCleanupSemantic(diffs []Diff) []Diff { // An insertion or deletion. if diffs[pointer].Type == DiffInsert { - lengthInsertions2 += len(diffs[pointer].Text) + lengthInsertions2 += utf8.RuneCountInString(diffs[pointer].Text) } else { - lengthDeletions2 += len(diffs[pointer].Text) + lengthDeletions2 += utf8.RuneCountInString(diffs[pointer].Text) } // Eliminate an equality that is smaller or equal to the edits on both sides of it. difference1 := int(math.Max(float64(lengthInsertions1), float64(lengthDeletions1))) difference2 := int(math.Max(float64(lengthInsertions2), float64(lengthDeletions2))) - if len(lastequality) > 0 && - (len(lastequality) <= difference1) && - (len(lastequality) <= difference2) { + if utf8.RuneCountInString(lastequality) > 0 && + (utf8.RuneCountInString(lastequality) <= difference1) && + (utf8.RuneCountInString(lastequality) <= difference2) { // Duplicate record. insPoint := equalities[len(equalities)-1] diffs = splice(diffs, insPoint, 0, Diff{DiffDelete, lastequality}) @@ -728,8 +692,8 @@ func (dmp *DiffMatchPatch) DiffCleanupSemantic(diffs []Diff) []Diff { overlapLength1 := dmp.DiffCommonOverlap(deletion, insertion) overlapLength2 := dmp.DiffCommonOverlap(insertion, deletion) if overlapLength1 >= overlapLength2 { - if float64(overlapLength1) >= float64(len(deletion))/2 || - float64(overlapLength1) >= float64(len(insertion))/2 { + if float64(overlapLength1) >= float64(utf8.RuneCountInString(deletion))/2 || + float64(overlapLength1) >= float64(utf8.RuneCountInString(insertion))/2 { // Overlap found. Insert an equality and trim the surrounding edits. diffs = splice(diffs, pointer, 0, Diff{DiffEqual, insertion[:overlapLength1]}) @@ -739,8 +703,8 @@ func (dmp *DiffMatchPatch) DiffCleanupSemantic(diffs []Diff) []Diff { pointer++ } } else { - if float64(overlapLength2) >= float64(len(deletion))/2 || - float64(overlapLength2) >= float64(len(insertion))/2 { + if float64(overlapLength2) >= float64(utf8.RuneCountInString(deletion))/2 || + float64(overlapLength2) >= float64(utf8.RuneCountInString(insertion))/2 { // Reverse overlap found. Insert an equality and swap and trim the surrounding edits. overlap := Diff{DiffEqual, deletion[:overlapLength2]} diffs = splice(diffs, pointer, 0, overlap) @@ -1029,7 +993,7 @@ func (dmp *DiffMatchPatch) DiffCleanupMerge(diffs []Diff) []Diff { if x > 0 && diffs[x-1].Type == DiffEqual { diffs[x-1].Text += string(textInsert[:commonlength]) } else { - diffs = append([]Diff{Diff{DiffEqual, string(textInsert[:commonlength])}}, diffs...) + diffs = append([]Diff{{DiffEqual, string(textInsert[:commonlength])}}, diffs...) pointer++ } textInsert = textInsert[commonlength:] @@ -1343,3 +1307,46 @@ func (dmp *DiffMatchPatch) DiffFromDelta(text1 string, delta string) (diffs []Di return diffs, nil } + +// diffLinesToStrings splits two texts into a list of strings. Each string represents one line. +func (dmp *DiffMatchPatch) diffLinesToStrings(text1, text2 string) (string, string, []string) { + // '\x00' is a valid character, but various debuggers don't like it. So we'll insert a junk entry to avoid generating a null character. + lineArray := []string{""} // e.g. lineArray[4] == 'Hello\n' + + lineHash := make(map[string]int) + //Each string has the index of lineArray which it points to + strIndexArray1 := dmp.diffLinesToStringsMunge(text1, &lineArray, lineHash) + strIndexArray2 := dmp.diffLinesToStringsMunge(text2, &lineArray, lineHash) + + return intArrayToString(strIndexArray1), intArrayToString(strIndexArray2), lineArray +} + +// diffLinesToStringsMunge splits a text into an array of strings, and reduces the texts to a []string. +func (dmp *DiffMatchPatch) diffLinesToStringsMunge(text string, lineArray *[]string, lineHash map[string]int) []uint32 { + // Walk the text, pulling out a substring for each line. text.split('\n') would would temporarily double our memory footprint. Modifying text would create many large strings to garbage collect. + lineStart := 0 + lineEnd := -1 + strs := []uint32{} + + for lineEnd < len(text)-1 { + lineEnd = indexOf(text, "\n", lineStart) + + if lineEnd == -1 { + lineEnd = len(text) - 1 + } + + line := text[lineStart : lineEnd+1] + lineStart = lineEnd + 1 + lineValue, ok := lineHash[line] + + if ok { + strs = append(strs, uint32(lineValue)) + } else { + *lineArray = append(*lineArray, line) + lineHash[line] = len(*lineArray) - 1 + strs = append(strs, uint32(len(*lineArray)-1)) + } + } + + return strs +} diff --git a/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go b/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go index 223c43c4..0dbe3bdd 100644 --- a/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go +++ b/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go @@ -324,7 +324,7 @@ func (dmp *DiffMatchPatch) PatchAddPadding(patches []Patch) string { paddingLength := dmp.PatchMargin nullPadding := "" for x := 1; x <= paddingLength; x++ { - nullPadding += string(x) + nullPadding += string(rune(x)) } // Bump all the patches forward. diff --git a/vendor/github.com/sergi/go-diff/diffmatchpatch/stringutil.go b/vendor/github.com/sergi/go-diff/diffmatchpatch/stringutil.go index 265f29cc..44c43595 100644 --- a/vendor/github.com/sergi/go-diff/diffmatchpatch/stringutil.go +++ b/vendor/github.com/sergi/go-diff/diffmatchpatch/stringutil.go @@ -9,6 +9,7 @@ package diffmatchpatch import ( + "strconv" "strings" "unicode/utf8" ) @@ -86,3 +87,20 @@ func runesIndex(r1, r2 []rune) int { } return -1 } + +func intArrayToString(ns []uint32) string { + if len(ns) == 0 { + return "" + } + + indexSeparator := IndexSeparator[0] + + // Appr. 3 chars per num plus the comma. + b := []byte{} + for _, n := range ns { + b = strconv.AppendInt(b, int64(n), 10) + b = append(b, indexSeparator) + } + b = b[:len(b)-1] + return string(b) +} diff --git a/vendor/modules.txt b/vendor/modules.txt index dea7bad2..69cba9f4 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -14,6 +14,49 @@ github.com/davecgh/go-spew/spew ## explicit; go 1.18 github.com/devtron-labs/common-lib/pubsub-lib github.com/devtron-labs/common-lib/utils +# github.com/devtron-labs/go-git v1.5.0 +## explicit; go 1.20 +github.com/devtron-labs/go-git +github.com/devtron-labs/go-git/config +github.com/devtron-labs/go-git/internal/revision +github.com/devtron-labs/go-git/internal/url +github.com/devtron-labs/go-git/plumbing +github.com/devtron-labs/go-git/plumbing/cache +github.com/devtron-labs/go-git/plumbing/filemode +github.com/devtron-labs/go-git/plumbing/format/config +github.com/devtron-labs/go-git/plumbing/format/diff +github.com/devtron-labs/go-git/plumbing/format/gitignore +github.com/devtron-labs/go-git/plumbing/format/idxfile +github.com/devtron-labs/go-git/plumbing/format/index +github.com/devtron-labs/go-git/plumbing/format/objfile +github.com/devtron-labs/go-git/plumbing/format/packfile +github.com/devtron-labs/go-git/plumbing/format/pktline +github.com/devtron-labs/go-git/plumbing/object +github.com/devtron-labs/go-git/plumbing/protocol/packp +github.com/devtron-labs/go-git/plumbing/protocol/packp/capability +github.com/devtron-labs/go-git/plumbing/protocol/packp/sideband +github.com/devtron-labs/go-git/plumbing/revlist +github.com/devtron-labs/go-git/plumbing/storer +github.com/devtron-labs/go-git/plumbing/transport +github.com/devtron-labs/go-git/plumbing/transport/client +github.com/devtron-labs/go-git/plumbing/transport/file +github.com/devtron-labs/go-git/plumbing/transport/git +github.com/devtron-labs/go-git/plumbing/transport/http +github.com/devtron-labs/go-git/plumbing/transport/internal/common +github.com/devtron-labs/go-git/plumbing/transport/server +github.com/devtron-labs/go-git/plumbing/transport/ssh +github.com/devtron-labs/go-git/storage +github.com/devtron-labs/go-git/storage/filesystem +github.com/devtron-labs/go-git/storage/filesystem/dotgit +github.com/devtron-labs/go-git/storage/memory +github.com/devtron-labs/go-git/utils/binary +github.com/devtron-labs/go-git/utils/diff +github.com/devtron-labs/go-git/utils/ioutil +github.com/devtron-labs/go-git/utils/merkletrie +github.com/devtron-labs/go-git/utils/merkletrie/filesystem +github.com/devtron-labs/go-git/utils/merkletrie/index +github.com/devtron-labs/go-git/utils/merkletrie/internal/frame +github.com/devtron-labs/go-git/utils/merkletrie/noder # github.com/devtron-labs/protos v0.0.0-20230503113602-282404f70fd2 ## explicit; go 1.17 github.com/devtron-labs/protos/gitSensor @@ -122,7 +165,7 @@ github.com/prometheus/procfs/internal/util # github.com/robfig/cron/v3 v3.0.0 ## explicit; go 1.12 github.com/robfig/cron/v3 -# github.com/sergi/go-diff v1.1.0 +# github.com/sergi/go-diff v1.3.0 ## explicit; go 1.12 github.com/sergi/go-diff/diffmatchpatch # github.com/src-d/gcfg v1.4.0 @@ -307,49 +350,6 @@ gopkg.in/src-d/go-billy.v4/helper/chroot gopkg.in/src-d/go-billy.v4/helper/polyfill gopkg.in/src-d/go-billy.v4/osfs gopkg.in/src-d/go-billy.v4/util -# gopkg.in/src-d/go-git.v4 v4.13.1 -## explicit -gopkg.in/src-d/go-git.v4 -gopkg.in/src-d/go-git.v4/config -gopkg.in/src-d/go-git.v4/internal/revision -gopkg.in/src-d/go-git.v4/internal/url -gopkg.in/src-d/go-git.v4/plumbing -gopkg.in/src-d/go-git.v4/plumbing/cache -gopkg.in/src-d/go-git.v4/plumbing/filemode -gopkg.in/src-d/go-git.v4/plumbing/format/config -gopkg.in/src-d/go-git.v4/plumbing/format/diff -gopkg.in/src-d/go-git.v4/plumbing/format/gitignore -gopkg.in/src-d/go-git.v4/plumbing/format/idxfile -gopkg.in/src-d/go-git.v4/plumbing/format/index -gopkg.in/src-d/go-git.v4/plumbing/format/objfile -gopkg.in/src-d/go-git.v4/plumbing/format/packfile -gopkg.in/src-d/go-git.v4/plumbing/format/pktline -gopkg.in/src-d/go-git.v4/plumbing/object -gopkg.in/src-d/go-git.v4/plumbing/protocol/packp -gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability -gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband -gopkg.in/src-d/go-git.v4/plumbing/revlist -gopkg.in/src-d/go-git.v4/plumbing/storer -gopkg.in/src-d/go-git.v4/plumbing/transport -gopkg.in/src-d/go-git.v4/plumbing/transport/client -gopkg.in/src-d/go-git.v4/plumbing/transport/file -gopkg.in/src-d/go-git.v4/plumbing/transport/git -gopkg.in/src-d/go-git.v4/plumbing/transport/http -gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common -gopkg.in/src-d/go-git.v4/plumbing/transport/server -gopkg.in/src-d/go-git.v4/plumbing/transport/ssh -gopkg.in/src-d/go-git.v4/storage -gopkg.in/src-d/go-git.v4/storage/filesystem -gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit -gopkg.in/src-d/go-git.v4/storage/memory -gopkg.in/src-d/go-git.v4/utils/binary -gopkg.in/src-d/go-git.v4/utils/diff -gopkg.in/src-d/go-git.v4/utils/ioutil -gopkg.in/src-d/go-git.v4/utils/merkletrie -gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem -gopkg.in/src-d/go-git.v4/utils/merkletrie/index -gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame -gopkg.in/src-d/go-git.v4/utils/merkletrie/noder # gopkg.in/warnings.v0 v0.1.2 ## explicit gopkg.in/warnings.v0