Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ruben Laguna
@ecerulm
ls
Ok, by reading the glide.yaml documentation I've found that I can do ignore: -rubenlaguna.com/myproject/mysubpackage1, and that works,
glide install now downloads all the other packages into the vendor/ directory
Nate Finch
@natefinch
Can anyone explain the workflow for how you update a single import with glide? So, like, you have an existing project using glide. You update one of its dependencies.... how do you then update the project to get the updated dependency without updating EVERYTHING? I just want to update my one library.
I don't want to have to worry about the code changes in the 8 other projects that have also pushed new commits since the last time I ran glide update.
sorry.. update is an overloaded word. I push a commit to a dependency of this project. I want to make the glide.lock now point at that new commit (the dependency in the glide.yaml is just set to use latest).
Ruben Laguna
@ecerulm
If I want to make custom modification to a package in vendor how do I stop glide from overwriting that vendored package with the "original"
Ruben Laguna
@ecerulm
In other works how can I pin my custom version of a github.com package (I keep my vendor directory checked in in my SCM)
Ruben Laguna
@ecerulm
I ended up forking the package I was depending and specify my personal fork on glide.yaml (repo, and version)
Dustin Decker
@dustin-decker
If I have a monorepo at "$GOPATH/src/github.com/orgname/reponame"
and from "$GOPATH/src/github.com/orgname/reponame/servicea" I import
"$GOPATH/src/github.com/orgname/reponame/common", how to I use the local
common package rather than pulling in the latest in source control? Or is
there a really good reason I shouldn't do this?
Gergely Brautigam
@Skarlso
HEy folks.
so.... umm. I've got an error while doing glide install like this: [ERROR] The Remote does not match the VCS endpoint
with no context what so ever. :/
How do I know what the problem is?
Is there like a verbose command or something to find out what's wrong? I did try clearing cache, clearing .glide, deleting vendor
and using glide install --force --skip-vendor
so... I'm out of ideas here.
ah --debug
Well, that didn't help
Gergely Brautigam
@Skarlso
and my vendor folder is empty
Gergely Brautigam
@Skarlso
No cigar.
anyone?
Gergely Brautigam
@Skarlso
still does not work
Gergely Brautigam
@Skarlso
Ok, I'll create an issue than I guess.
Gergely Brautigam
@Skarlso
Hey, I saw this commit Masterminds/glide@34c82d7
I'm going to use that, since that adds some much needed debugging to identify my problem as well.
Felipe Umpierre
@FelipeUmpierre_twitter
Hello, I am having a issue related with this reported bug Masterminds/glide#640 and I would like to know if someone also have or had this issue?
Bharat Khatri
@khatribharat
hey folks, running glide tree on my project shows a few dependencies which show glide get <dependency. Why does glide up not fetch these nested dependencies automatically?
github.com/glide
|-- github.com/khatribharat/goapp-brock   (/home/khatri/Code/go/src/github.com/glide/vendor/github.com/khatribharat/goapp-brock)
    github.com/casbin/casbin    (glide get github.com/casbin/casbin)
Why is casbin not installed automatically?
Almog Baku
@AlmogBaku
how do i update my glide.yaml file???
Almog Baku
@AlmogBaku
no way to save the glide up --all-dependencies?
Almog Baku
@AlmogBaku
@mattfarina
overip
@overip
hello guys, does anybody know if glide generates the license info about dependencies?
stuff
@bfautomated_twitter

I'm trying to use mirrors to point to a local repo and I'm not having any luck getting it to work.
My repo (as defined in my glide.yaml) is

- package: github.com/someCompany/someThingCool
  version: 2.87.4

My local repro is located at $GOPATH/src/github.com/someCompany/someThingCool
So to use mirror I've be running glide mirror set github.com/someCompany/someThingCool file:///src/github.com/someCompany/someThingCool
After setting the mirror, I rm -r vendor from my repo with the glide.yaml and run glide install. However, after that the copy of my mirrored repro under vendor is not my local copy. Any ideas what I could be doing wrong?

Aceeri
@Aceeri
I have the same issue as @bfautomated_twitter. Is this gitter active at all?
Erik Nelson
@eriknelson
I'm consistently getting this error while trying to glide get a bunch of different k8s packages. Can anyone advise?
Could not find /home/ernelson/.glide/cache/src/https-golang.org-x-sys/unix: cannot find package "."
Pomke
@pomke
Hello, just trying out glide at work and have run into an issue, glide update asks for my user/pass in github (we have private repos) but fails to handle github 2fa
Kevin Pierce
@kevpie
@pomke A couple things may help. Are you using https:// or git:? Do you have git working on the command line for pulling and pushing?
Pomke
@pomke
https
and yep, git is working locally
Kevin Pierce
@kevpie
I use this little gem in my ~/.gitconfig
[url "git@github.com:"]
    insteadOf = https://github.com/
Pomke
@pomke
I'm not sure how glide would know if I'm using https or git: though if it's just inspecting my imports?
ah ok
I'll give that a go, thanks :D
Kevin Pierce
@kevpie
At the lowest level it should use your host key auth from ssh even though you are using https:// imports as sources.
Pomke
@pomke
That worked! thanks Kevin, I'll add that to our wiki I think, we're (mostly me) trialing go for a few new services at work (mostly node.js atm)
So I'm trying to document setup etc.. for future gophers, that's a handy tip
Kevin Pierce
@kevpie
Great! You can add more to those prefixes if you only want it to affect a specific account or project.
Pavel Lavreshin
@plavreshin

Hi guys, could you please advice whether I am doing something wrong when trying to resolve github.com/ethereum/go-ethereum subpackages like ethclient with glide ?
The issue that I encounter is

[ERROR]    Error scanning github.com/ethereum/go-ethereum/ethclient: cannot find package "."

My imports are defined like this:

"github.com/sirupsen/logrus"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/gin-gonic/gin"

Although my glide.yaml has this subpackage defined

- package: github.com/ethereum/go-ethereum
  version: ^2.0.0
  subpackages:
  - ethclient

but still fails to resolve