Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
AlexanderDaw @AlexanderDaw goes to RTFM
yryz
@yryz

glide up failed!

[INFO] --> Fetching myapp/config
[WARN] Unable to checkout myapp/config
[ERROR] Error looking for myapp/config: Cannot detect VCS

myapp/config is my local package, is not specified in glide.yaml.
Bruno Bigras
@bbigras
Do you guys put the vendor directory in source control or only the lock file?
yryz
@yryz
lock file and the vendor/my-tls (Instead of crypto/TLS)
Nate Finch
@natefinch
I'm having a real hard time with glide... maybe I'm holding it wrong... but I updated a dependency in github, and now I need to update the repo that depends on it.... is glide up <target_import> the correct command? It seems to ignore the target and try to update everyhing, but then doesn't actually update the dependency I just modified in githib.
Nate Finch
@natefinch
nvm, seems like the target import thing is broken and there's some bug with the cache.. clearing cache and then just doing glide up worked (though I had to remove extraneously updated deps)
Andrew Kutz
@akutz
Hi guys, my builds are all broken this morning...
[0]akutz@red:libstorage$ make deps
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   608    0   608    0     0   1385      0 --:--:-- --:--:-- --:--:--  1384
100 3690k  100 3690k    0     0  1390k      0  0:00:02  0:00:02 --:--:-- 2527k
/home/akutz/go/bin/glide up && touch glide.lock && touch glide.lock.d
[INFO]    Downloading dependencies. Please wait...
[INFO]    --> Fetching updates for github.com/spf13/viper.
[INFO]    --> Fetching updates for github.com/Sirupsen/logrus.
[INFO]    --> Fetching updates for github.com/akutz/gofig.
[INFO]    --> Fetching updates for github.com/akutz/gotil.
...
[INFO]    --> Fetching updates for github.com/pelletier/go-buffruneio.
[INFO]    --> Fetching updates for golang.org/x/text.
[WARN]    Error updating golang.org/x/text/transform: The Remote does not match the VCS endpoint
[WARN]    Unable to set version on golang.org/x/text to . Err: The Remote does not match the VCS endpoint
[INFO]    --> Fetching updates for github.com/googleapis/gax-go.
[INFO]    --> Fetching updates for google.golang.org/grpc.
[INFO]    Downloading dependencies. Please wait...
[INFO]    --> Fetching updates for github.com/cesanta/ucl.
[INFO]    --> Fetching updates for github.com/gorilla/context.
[INFO]    --> Fetching updates for github.com/gorilla/mux.
[INFO]    --> Fetching updates for gopkg.in/yaml.v1.
[INFO]    Setting references for remaining imports
[ERROR]    Failed to set version on golang.org/x/crypto to : The Remote does not match the VCS endpoint
[ERROR]    Failed to set version on golang.org/x/text to : The Remote does not match the VCS endpoint
[INFO]    Project relies on 53 dependencies.
An Error has occurred
make: *** [Makefile:505: glide.lock] Error 2
[2]akutz@red:libstorage$
On Travis as well.
Nothing has changed in the build file, so ... network? Something up with golang.org? Can anyone corroborate?
Maxim Radko
@tttmaximttt
hi guys, I have link to this chat from dep,
does it mean that I should use dep with glide?
Bradley Falzon
@bradleyfalzon
hey, just trying to understand whether my workflow is wrong, I have a small project with only a few dependencies, so i've decided to commit those. When I add another dependency, via glide get, all of my dependencies are updated, is this the expected behaviour, ideally to me, just the one dependency would be added to keep the commit as a single "add x dependency", whereas now it's "update dependencies and add x"
i've had similar issues with updating just a single dependency too, trolling the tickets, I thought this was possible (Masterminds/glide#92) but they all seem to update regardless as to whether they really needed to (didn't depend on each other).
Steven E. Harris
@seh

@bradleyfalzon, even though Glide advertises the interface to update just one dependency, I've never been able to figure out how get it to only touch that one. I understand that it needs to reconsider whether all the preceding constraints can be solved when taking the new dependency into account, but even when the other dependencies seem to be disjoint from the new one, Glide still updates them anyway.

I expect @sdboyer can explain why.

Bradley Falzon
@bradleyfalzon
that's my experience too
sam boyer
@sdboyer
iirc, it's mostly just a byproduct of how the version selection algorithm works
it's been a while since i've looked
i think it's basically just that version selection isn't designed to take a lock input at all - it just tries based on the constraints in the manifest
Bradley Falzon
@bradleyfalzon
@sdboyer would this also occur in dep then too ?
sam boyer
@sdboyer
@bradleyfalzon nope. the version selection algorithm in glide is exactly what gps was intended to replace
Bradley Falzon
@bradleyfalzon
ah, i thought they both used gps for some reason
sam boyer
@sdboyer
as noted in e.g. #252, targeted updates have been possible for...nearly a year now
Bradley Falzon
@bradleyfalzon
or perhaps it was intended to
sam boyer
@sdboyer
we were trying to migrate glide to gps, but never quite made it
by the time i was really working on migrating, the committee work was picking up, and my free time slacked off
that, and, gps still hasn't developed a solution for supporting glide's local mirrors thing
Bradley Falzon
@bradleyfalzon
i don't think you spend enough time on open source already, you should up your gain :P
sam boyer
@sdboyer
:P
Bradley Falzon
@bradleyfalzon
cheers for the responses though, much appreciate
sam boyer
@sdboyer
:thumbsup:
Basile Starynkevitch
@bstarynk
Hello All, is Glide compatible with Go plugins, a new feature of Go 1.8?
I have asked https://groups.google.com/forum/#!topic/golang-nuts/IKh1BqrNoxI and obviously using plugins require in practice some specific compilation flags (you practically want to use -buildmode=shared & -loadshared wisely).
Hilal Tarakci
@hlltarakci_twitter
Hi, i need to use glide behind a proxy.. How can i do that?
Hilal Tarakci
@hlltarakci_twitter
@hlltarakci_twitter my problem is private repositories.. How can i use glide for private repositories?
蒲公英の生活
@fewspider
help, i cannot import vendor module
Pascal Fautré
@Scapal
how to use glide installin a non-interactive way (CI) , avoiding the following message?
The authenticity of host 'github.com (192.30.253.113)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Pascal Fautré
@Scapal
nevermind, I replaced the ssh source with an https
Kevin Pierce
@kevpie
I used to be able to have a vendor dependency sit as a cloned git repo that I could develop against. Glide would complain if I had uncommitted changes. Now it blows away my cloned folder. Any advice on how to get the old behavior back? Should I go back to v0.11.1 or further? Hopefully I'm just missing a flag that clones repos into the vendor area. Currently without this feature my workflow and enjoyment are significantly impacted. Looking for advise. :smile:
Kevin Pierce
@kevpie
Deleting the vendor folder and using v0.11.1 to glide install and I'm able work on my vendor'd libraries! Simple work around for easy VCS dependency development.
Darko Draskovic
@darkodraskovic
hello, I've just done
glide up
and only glide.lock got update, but glide.yaml did not reflect the change. there is an opened issue here: Masterminds/glide#827
Maxim Radko
@tttmaximttt
Hi, glitter has a chat with golang developers, maybe someone knows?
Maxim Radko
@tttmaximttt
Or may be some one can help me with this
Screenshot_2017-05-30 14.36.53_W5GTj3.png
Yao Wei
@medicalwei
How can I get the dependency tree?
or, what package is a dependency raised from?
Ruben Laguna
@ecerulm
Hi, I just started with glide. I have a package with packages inside . and glide install complains that "Update failed for "myprivatedomain.com/myproject/subpackage1"