Comments (8)
Gb vendor is just a proof of concept at the moment, it just shells out to go get to help bootstrap your project.
It would be nice to teach it about tags and versions, possibly so I can be used to update an existing vendored package.
For the moment the work around is to fetch the source manually.
+help wanted
from gb.
Are you open to the idea of gb being able to:
- Work for libraries? i.e. someone can fetch my library and all deps and
(should they wish to) usegb build mylib
to use those deps instead of
what's on their global GOPATH? - Store a reference to those tags in some kind of .vendordotfilething?
- etc?
I write more libraries than 'package mains' but being able to provide a
reproducible version would be extremely useful. The workflow would
probably be go get
(which should fetch the vendor/ path too) and then gb build
to build off ./vendor.
On Thu, Apr 30, 2015 at 10:43 AM Dave Cheney [email protected]
wrote:
Gb vendor is just a proof of concept at the moment, it just shells out to
go get to help bootstrap your project.It would be nice to teach it about tags and versions, possibly so I can be
used to update an existing vendored package.For the moment the work around is to fetch the source manually.
+help wanted
—
Reply to this email directly or view it on GitHub
#17 (comment).
from gb.
Matt, can you please make a new issue for this. I want to address this
separately.
On Thu, 30 Apr 2015 09:06 Matt Silverlock [email protected] wrote:
Are you open to the idea of gb being able to:
- Work for libraries? i.e. someone can fetch my library and all deps and
(should they wish to) usegb build mylib
to use those deps instead of
what's on their global GOPATH?- Store a reference to those tags in some kind of .vendordotfilething?
- etc?
I write more libraries than 'package mains' but being able to provide a
reproducible version would be extremely useful. The workflow would
probably bego get
(which should fetch the vendor/ path too) and thengb build
to build off ./vendor.On Thu, Apr 30, 2015 at 10:43 AM Dave Cheney [email protected]
wrote:Gb vendor is just a proof of concept at the moment, it just shells out to
go get to help bootstrap your project.It would be nice to teach it about tags and versions, possibly so I can
be
used to update an existing vendored package.For the moment the work around is to fetch the source manually.
+help wanted
—
Reply to this email directly or view it on GitHub
#17 (comment).—
Reply to this email directly or view it on GitHub
#17 (comment).
from gb.
Imo a plugin which tackles source packaging and library version compatibility via a package file might be cool. Something like cargo/leiningen/maven. It could use a versioned package repo, or just git for everything.
I think there are 3 distinct types of packages. Ones you are just consuming from a fixed version, ones which are libraries with your own patches and changes, and your own application code.
from gb.
We could also have a package server to go with the plugin.
That sounds much larger in scope than I imagined, but that's why it's
implemented as a plugin, anyone can write a plugin, they don;t need to be
part of the main gb distribution.
On Thu, Apr 30, 2015 at 11:20 AM, andrewchambers [email protected]
wrote:
Imo a plugin which tackles source packaging and library version
compatibility via a package file might be cool. Something like
cargo/leiningen/maven. We could also have a package server to go with the
plugin.—
Reply to this email directly or view it on GitHub
#17 (comment).
from gb.
Yeah, I guess whoever wants to step up can just do it in their own plugin repo. If a plugin gets traction, it can get referenced from the official readme here.
from gb.
What I am planning on doing is moving gb-vendor
to it's own repository so it can evolve independent of gb
. This will happen when I've got the new github pages' site up with updated documentation. I'll close this then.
from gb.
gb-vendor
has been moved to its own repository, as discussed in #29
from gb.
Related Issues (20)
- gb should fail early with unknown/unsupported GOOS or GOARCH value
- Error vendoring gb with gb-vendor HOT 2
- gb build does not create bin folder and binary in bin folder HOT 24
- Website needs list of projects using GB
- Gogland (perhaps also others) configuration example HOT 1
- why vendor/src? HOT 1
- gb build fails on centos7 with linking error HOT 6
- have any command copy a package from $GOPATH
- Can't build project in Docker HOT 2
- gb build do not work correctly on windows (can work correctly on linux)
- Build of Go's runtime package fails when cross-compiling with go1.9.4 HOT 6
- horizon HOT 4
- using gb to make a library HOT 2
- Is the gb project dead? HOT 15
- / HOT 1
- gb vendor doesn't work with fish shell HOT 1
- [SOLVED] How to migrate to go modules? HOT 6
- gb + IDE ? HOT 1
- Cross build not working on OSX: cgo_export_static main only allowed in cgo-generated code
- module github.com/constabulary/gb@latest found (v0.4.4), but does not contain package github.com/constabulary/gb/internal/vendor HOT 1
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 gb.