Comments (11)
Pulling down the dependencies works for me (tested on linux and macOS). I would guess this is a network issue?
from mashling.
I have connected to the internet and have access to other github resources. However, the above link on go.googleresource.com does not exist. All the failed packages are in fact at github.com/golang, which maybe why they failed.
from mashling.
Perhaps a git compatibility issue? Which version of git do you have? (Also which computer platform are you using?) Thanks.
from mashling.
@yxuco Can you post your Go environment? (go version, GOPATH, etc...)? How are you pulling down the mashling repository (should be: go get -u github.com/TIBCOSoftware/mashling/...)? Do you have the latest version of GB installed? It can be found here: https://getgb.io. Finally, which git version are you using? Perhaps git is ignoring redirects or you are behind a proxy?
from mashling.
I updated my git to the latest version 2.15.1. The error occurs at the following git command. However, it works if I change the URL to github.com/golang.
git clone https://go.googlesource.com/net /Users/yxu/go/src/golang.org/x/net
Cloning into '/Users/yxu/go/src/golang.org/x/net'...
fatal: https://go.googlesource.com/net/info/refs not valid: is this a git repository?
git version
git version 2.15.1
git clone https://github.com/golang/net /Users/yxu/go/src/golang.org/x/net
Cloning into '/Users/yxu/go/src/golang.org/x/net'...
Searched the error on internet, and the following post says that it is a problem of git repo server config issue (i.e., a problem of go.googlesource.com) How did you setup your git to get it to work? Is there a way to change the URL to use github.com/golang, instead of go.googlesource.com?
https://stackoverflow.com/questions/19698352/cant-clone-git-repos-via-http-info-refs-not-found
You will need to run git update-server-info on the server to generate the files necessary for the “dumb protocol” to work.
from mashling.
On my systems git clone https://go.googlesource.com/net works with:
git version 2.14.3 (Apple Git-98)
git version 2.7.4
git version 2.1.4
from mashling.
Got it working with the pre-installed git on my mac under /usr/bin, which is version 2.14.3 (Apple Git-98). For some weird reason, other installed git version does not work on git clone https://go.googlesource.com. This may not be an issue after all. Thanks.
from mashling.
See a different error when using "mashling create mashdemo":
........
github.com/lightstep/lightstep-tracer-go
FATAL: command "build" failed: exit status 2
Mashling gateway successfully built!
Then, tried to run "gb build" from the new project root folder, but got this:
/Users/yxu/Developer/go_workspace/mashdemo> gb build
github.com/TIBCOSoftware/mashling/lib/util
util.go:74:18: cannot call non-function element.Name (type string)
FATAL: command "build" failed: exit status 2
from mashling.
Yeah, that is fixed in the pull request: #96 Try building a recipe from: https://github.com/TIBCOSoftware/mashling-recipes Perhaps this recipe: https://github.com/TIBCOSoftware/mashling-recipes/tree/master/recipes/rest-conditional-gateway
from mashling.
That works. Thanks.
from mashling.
A workaround for the primary git issue has been found. On Apple platforms the Apple build of git should be used. A pull request for the secondary issue has now been merged. The pull request updated the default manifest.
from mashling.
Related Issues (20)
- Archive Mashling repo and make it read-only
- CVE-2015-9251 (Medium) detected in jquery-2.2.3.min.js
- CVE-2019-11358 (Medium) detected in jquery-2.2.3.min.js
- CVE-2017-14623 (High) detected in gogsv0.11.66
- CVE-2019-0205 (High) detected in multiple libraries
- CVE-2019-0210 (High) detected in github.com/apache/thrift/lib/go/thrift-0.11.0, grafanav5.0.0-beta1
- CVE-2020-14040 (High) detected in third_party-gogo1.11beta1
- CVE-2019-11939 (High) detected in github.com/lightstep/lightstep-tracer-go/thrift_0_9_2/lib/go/thrift-v0.15.2, thrift0.11.0
- CVE-2019-3564 (High) detected in github.com/lightstep/lightstep-tracer-go/thrift_0_9_2/lib/go/thrift-v0.15.2, thrift0.11.0
- CVE-2020-11022 (Medium) detected in jquery-2.2.3.min.js
- CVE-2020-11023 (Medium) detected in jquery-2.2.3.min.js
- CVE-2021-27918 (High) detected in third_party-gogo1.11beta1
- CVE-2020-26160 (High) detected in github.com/dgrijalva/jwt-go-v3.2.0+incompatible, kubernetesv1.15.0-alpha.1
- CVE-2020-27813 (High) detected in traefikv2.0.0-alpha4
- CVE-2021-38561 (High) detected in grafanav5.0.0-beta1
- CVE-2021-44716 (High) detected in prometheusv2.10.0
- CVE-2022-30633 (High) detected in third_party-gogo1.11beta1
- CVE-2022-28131 (High) detected in third_party-gogo1.11beta1
- CVE-2022-29526 (Medium) detected in prometheusv2.10.0
- CVE-2022-32149 (High) detected in grafanav5.0.0-beta1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mashling.