mpn mbn
10/04/2024, 1:16 PMpackage main
import (
"<http://github.com/treeverse/lakefs/contrib/auth/acl/cmd/acl/cmd|github.com/treeverse/lakefs/contrib/auth/acl/cmd/acl/cmd>"
)
func main() {
cmd.Execute()
}
But when I go mod tidy
, I get the following error:
:!go mod tidy
go: finding module for package <http://github.com/csimplestring/delta-go/storage|github.com/csimplestring/delta-go/storage>
go: main imports
<http://github.com/treeverse/lakefs/contrib/auth/acl/cmd/acl/cmd|github.com/treeverse/lakefs/contrib/auth/acl/cmd/acl/cmd> imports
<http://github.com/treeverse/lakefs/pkg/kv|github.com/treeverse/lakefs/pkg/kv> tested by
<http://github.com/treeverse/lakefs/pkg/kv.test|github.com/treeverse/lakefs/pkg/kv.test> imports
<http://github.com/treeverse/lakefs/pkg/actions|github.com/treeverse/lakefs/pkg/actions> imports
<http://github.com/treeverse/lakefs/pkg/actions/lua|github.com/treeverse/lakefs/pkg/actions/lua> imports
<http://github.com/treeverse/lakefs/pkg/actions/lua/formats|github.com/treeverse/lakefs/pkg/actions/lua/formats> imports
<http://github.com/csimplestring/delta-go/storage|github.com/csimplestring/delta-go/storage>: module <http://github.com/csimplestring/delta-go@latest|github.com/csimplestring/delta-go@latest> found (v0.0.0-20231105162402-9b93ca02cedf), but
does not contain package <http://github.com/csimplestring/delta-go/storage|github.com/csimplestring/delta-go/storage>
I've browsed the history of <http://github.com/csimplestring/delta-go|github.com/csimplestring/delta-go>
to see when storage
was there.
Only to find out that it never was.
After that I went ahead and git blame
-d <http://github.com/treeverse/lakeFS/blob/v1.37.0/pkg/actions/lua/formats/delta.go|github.com/treeverse/lakeFS/blob/v1.37.0/pkg/actions/lua/formats/delta.go>
This gave me the author of this beautiful line:
"<http://github.com/csimplestring/delta-go/storage|github.com/csimplestring/delta-go/storage>"
After some more research I found that there exist `treeverse`'s repo with the same name: <http://github.com/treeverse/delta-go|github.com/treeverse/delta-go>
AND THERE IS storage
FOLDER!
"YES!" -- I thought -- "It was just a Go autocomplete mistake! Let me fix this really quick and make a PR"
...
This really quick
thing was a bit optimistic.
Turns out that treeverse/delta-go
is declared as
module <http://github.com/csimplestring/delta-go|github.com/csimplestring/delta-go>
in its go.mod
.Niro
10/04/2024, 1:59 PMmpn mbn
10/04/2024, 2:22 PMNiro
10/04/2024, 2:26 PMmpn mbn
10/04/2024, 2:29 PM