Comments (10)
It's a common misconception, but go package versions can not really be deleted because go proxies already have them in cache and that cache is immutable. Just publish a fixed patch release instead.
Indeed, but they can be retracted: https://go.dev/doc/modules/gomod-ref#retract
from editorconfig-checker.
i think they get automatically grabbed when properly defined. your v3 releases can't be installed via go install
because the module version suffix is still v2
you should release a new v3 with that changed to v3
Line 1 in 2d43756
this version always need to correspond with your major version github tags / releases
from editorconfig-checker.
That seems to be the breaking change 😕
from editorconfig-checker.
and the upgrade from v2.7.3
to 2.8.0
will be broken again, because the change wasn't released there 😕
from editorconfig-checker.
I think the best would be to delete v2.7.3
or unlist it here https://pkg.go.dev/github.com/editorconfig-checker/editorconfig-checker/v2
from editorconfig-checker.
another issue is that v3 isn't available on pkg.go.dev
from editorconfig-checker.
Hey @viceice how does a package get published on pkg.go.dev? I think I've never submitted it there.
from editorconfig-checker.
also your version 2.8.0 isn't visible because of the missing v
on the git tag
from editorconfig-checker.
so you should publish a new v2.8.1
from the 2.8.0 or just add the v2.8.0
tag to the same commit and update the github release.
from editorconfig-checker.
I think the best would be to delete
v2.7.3
or unlist it here https://pkg.go.dev/github.com/editorconfig-checker/editorconfig-checker/v2
It's a common misconception, but go package versions can not really be deleted because go proxies already have them in cache and that cache is immutable. Just publish a fixed patch release instead.
Deleting a git tag would only break it more because then people behind a go proxy that does not have the cache entry will get a broken install. Just never delete tags on a go package repo please.
from editorconfig-checker.
Related Issues (20)
- Respect the `NO_COLOR` environment variable to disable default color output HOT 1
- Paths with forward slashes in .editorconfig don't work on Windows HOT 2
- Configure commitlint to ignore the body length
- Ignore specific rules within file HOT 1
- Support for .ecrc.json HOT 7
- Cannot stat files with names that start with + HOT 2
- allow config arguments via environment variables
- Support darcs
- feature: GitHub Actions-compatible output format
- Feature: Exclude lines that match a regex
- Improved compatibility with Windows by providing zip binary archives HOT 3
- Document meaning of `Version`, `SpacesAftertabs`, and `PassedFiles` keys in config file HOT 2
- Passing directory arguments results in `Could not get the ContentType` errors since 2.8.0 HOT 4
- Strange results on Windows HOT 8
- The binary may be not found after a new version release HOT 3
- `-version` command does not print the version HOT 1
- Unable to `go run` v3 because module version does not tag version HOT 2
- `insert_final_newline` should ensure a single newline character at the end of the file
- New docker image for 3.0.1 ? HOT 7
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 editorconfig-checker.