Comments (5)
Hmm, I think of knowing the version as a feature actually. It's nice to know once you've downloaded an artifact what version you've got.
As for Mac/Darwin, I am always torn on it, because nobody knows what Darwin is. Heck, even I don't really know to this day. I'm sure I could look up some history. Similarly I get confused with i686 arches, etc (I'm glad Go doesn't use i686 as an arch identifier).
from xcaddy.
Changing this at this point would be a breaking change for the release processes of many platforms. We're not in contact with all of them and we can't really trust that we'll be able to communicate a change like this to them.
I think using "latest" is almost always a foot-gun. You should pin to a specific version number, and you should regularly update it to the latest version number as necessary. You can sign up for release notifications on GitHub (click watch, custom, check releases only) and update it in response to those notifications.
from xcaddy.
I think using "latest" is almost always a foot-gun.
Agreed, but hard-coding a fallback version is almost as big a footgun.
Using the GitHub API to figure out what latest resolves to is not always an option.
Hmm, I think of knowing the version as a feature actually. It's nice to know once you've downloaded an artifact what version you've got.
That's fair...when you download an archive manually. I don't know how often people actually do that. They either use a package manager or some other automation/script in my experience.
Incidentally, if there was a container image published for xcaddy, there would be a latest
tag.
Changing this at this point would be a breaking change for the release processes of many platforms.
That's another fair point, although 1.0.0 hasn't been tagged yet which is what led me to open this issue: if there was a time to make a change like this, it's now.
I understand if it's a no though.
from xcaddy.
I just realized we're in the xcaddy
repo 🤦♂️
Anyway, I have less strong opinions about how we distribute xcaddy
-- I can see how more of these downloads might be automated.
from xcaddy.
We can probably add another build
in goreleaser with another ID, e.g. latest
, to produce artifacts latest
in place of version. If we converge on yes, it can be added, but we'll have to validate how it impacts the release pipeline.
from xcaddy.
Related Issues (20)
- Build error HOT 10
- 404 - github.com/caddyserver/caddy/v2 HOT 2
- Issues with my docker compose HOT 1
- Building with go 1.21 fails at quic-go step HOT 5
- Consider using `goversioninfo` to embed info on Windows binaries HOT 1
- Update go version requirement in README HOT 1
- Can this build forks? HOT 3
- `help` subcommand HOT 4
- Support pgo builds HOT 1
- Getting errors when running command "xcaddy" on Debian 12 HOT 6
- How to get my self-written module included in the Standard features of https://caddyserver.com/download? HOT 1
- Error when trying to build Caddy crypto/ecdh: package crypto/ecdh is not in GOROOT (/usr/lib/go-1.18/src/crypto/ecdh) HOT 3
- build error with xCaddy. HOT 1
- Builder fails to build cloudflare module HOT 4
- xcaddy v0.3.5 vs v0.4.0 = 15mb increase in filesize on windows HOT 9
- xcaddy fails to build with caddy-dns/dnsmadeeasy HOT 1
- [FATAL] exit status 1 HOT 5
- How can I update caddy server with modules ? HOT 1
- xcaddy build - terminal prompts disabled HOT 8
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 xcaddy.