Comments (4)
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/171135992
The labels on this github issue will be updated when the story is started.
from go-mod-vendor.
Just to add to this, it's possible this will just introduce un-needed complexity and the real reason the builds are somewhat slow is that we don't really calculate any metadata for the go cache layer. So that is something else to consider.
from go-mod-vendor.
@djoyahoy This is an interesting idea, but I think we would either need to put together a POC or have one provided for benchmarking before we decided to tackle this problem. If you would be willing to put together a POC for this I would love to benchmark it and see if this does improve rebuild times. Otherwise, I am sure we will get around to benchmarking this idea in the future.
from go-mod-vendor.
This buildpack has been entirely rewritten since this issue was filed. I am going to close this issue. Please feel free to reopen this issue with new reproduction criteria. We'd be happy to take a look again.
from go-mod-vendor.
Related Issues (20)
- Don't create an empty `mod-cache` layer
- Support for using private go modules HOT 5
- Require Go version specified in go.mod as a minimum version
- Buildpack should run to set BP_GO_VERSION for go-dist buildpack HOT 1
- Should go-mod-vendor provide a dependency for downstream buildpacks? HOT 3
- Rewrite with packit
- Use GOMODCACHE environment variable instead of setting GOPATH
- SBOM generation includes all dependencies in working dir, not just Go ones. HOT 1
- Go src code that compiles but leads to an incomplete executable logs cryptic error
- Refactor proposal: simplify detect logic when go.mod file does not exist. HOT 1
- Failure: Go get update workflow HOT 1
- Failure: Create Draft Release workflow HOT 3
- `go mod graph` can run for a long time slowing down rebuilds HOT 1
- Use new io.paketo.stacks.tiny ID to indicate "tiny" HOT 3
- Failure: Approve bot PR workflow HOT 5
- Failure: Update GitHub config workflow HOT 1
- Discussion: go 1.21+ toolchain version
- Failure: Push Buildpackage workflow HOT 1
- Rename to go-mod-vendor
- Cannot build vendored go mod apps 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 go-mod-vendor.