<@U02SNPQRGEM> I'm trying to get ACL up and runni...
# help
m
@Jonathan Rosenberg I'm trying to get ACL up and running:
Copy code
package 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:
Copy code
:!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:
Copy code
"<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
Copy code
module <http://github.com/csimplestring/delta-go|github.com/csimplestring/delta-go>
in its
go.mod
.
n
Hi @mpn mbn are you able to build the lakeFS project properly? Please try to run 'make clean' and 'make build' on lakeFS
m
Hi @Niro. Yes, I've just tried it, and it compiled without any problems. Do I now just need to run one of the `client`s to get ACL working?
n
Clients are unrelated to ACLs. Can you now try to build the ACL server? i.e. 'go build contrib/auth/acl/cmd/acl'
m
Thank you very much man!! You saved my life. 🙂
jumping lakefs 3
👍🏽 1