Closed mrutkows closed 5 years ago
Need time to figure out how to force govendor
(package) to regenerate vendor.json with SHA1 hashes (already updated build.gradle and vendor.json manually). No docs. on how to do this, overly complicated... and having issues running govendor
locally...
Regardless, either remove this dependency (use godeps) or document the process MUCH better including the Gradle steps.
I see Dave had similar issues/complaints last month about the same and see he somehow manually put the SHA1 in vendor.json... "update wskdeploy and client-go dependencies": https://github.com/apache/openwhisk-cli/pull/449
@sciabarracom has some patches to build the cli with go and drop gradle... not sure if it would help here.
First, I installed the source code under my GOPATHl then found that following gradle build instructions in README (i.e., ./gradlew compile -PnativeCompile
) failed with lots of classpath errors... (had already manually updated the commit hash in build.gradle so this had no effect on vendor.json).
Used this FAQ for cheatsheet... https://github.com/kardianos/govendor/blob/master/doc/faq.md
Here is what i "think" worked...
govendor init
govendor list
(sanity check)govendor sync
(no effect)// pull all my dependencies from network remotes?
govendor fetch +out
(appears to have updated vendor.json with SHA1)?However, I think this pulled "latest" commit from all external (i.e., openwhisk-client-go and openwhisk-wskdeploy)? and that the "revisionTime"
was NOT updated in vendor.json
!!!
Build is failing accessing scala tests (coverage) in Maven?