How to build the Grafeas project

25 views
Skip to first unread message

Juan David Gómez

unread,
Aug 9, 2019, 4:13:07 PM8/9/19
to Grafeas Developers
Hello team!

I'm working on https://github.com/grafeas/grafeas/issues/341, so I want to remove the file, add the import to the new location and build locally (to verify all is working well before push) but I'm having troubles to complete the build, just wondering if I could have a clue if is necessary to update more parts of main.go ? 

This is what I tested:
Line 30
Line 60 
  case "postgres":
    s := pgsql.NewPgSQLStore(config.PgSQLConfig)


I tested with make build, and hoping was something strange on my machine I took the Docker shortcut ( docker build -t new-shinny-grafeas .) but is failing in the process. 

  inflating: ./bin/protoc            

  inflating: ./readme.txt            

go/v1beta1/main/main.go:30:2: cannot find package "github.com/grafeas/grafeas-pgsql/go/v1beta1/storage" in any of:

/go/src/github.com/grafeas/grafeas/vendor/github.com/grafeas/grafeas-pgsql/go/v1beta1/storage (vendor tree)

/usr/local/go/src/github.com/grafeas/grafeas-pgsql/go/v1beta1/storage (from $GOROOT)

/go/src/github.com/grafeas/grafeas-pgsql/go/v1beta1/storage (from $GOPATH)

make: *** [vet] Error 1

Makefile:36: recipe for target 'vet' failed

The command '/bin/sh -c make build' returned a non-zero code: 2



Thanks for the help!

Aysylu Greenberg

unread,
Aug 9, 2019, 6:35:53 PM8/9/19
to Juan David Gómez, Grafeas Developers
Hi Juan,

Could you please point us to the branch you're working on?

Thanks,
Aysylu

--
You received this message because you are subscribed to the Google Groups "Grafeas Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grafeas-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grafeas-dev/fdfbc886-b92b-4280-beae-78a284506596%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages