Sqlx: Consider using semver for golang/dep support

Created on 6 Nov 2017  路  6Comments  路  Source: jmoiron/sqlx

golang/dep is on a path to become the official golang dependency tool. One way to make your repository work with release versions is to use semver as specified in the dep README.

Would you consider using semver tags to tag your releases?

Most helpful comment

Regardless of how dep advances in the Go ecosystem, I think it's already quite clear that there is (some could say desperate) need for proper library versioning. Other package management solutions already exist ad widely used by the community which kinda requires proper versioning as well.

But even if we put package management aside, vendoring unversioned dependencies is simply a nigthmare IMO.

So I think this decision should not depend on the future of dep, but that's my 2 cents only.

All 6 comments

@blockloop fyi https://github.com/jmoiron/sqlx/issues/360#issuecomment-341804760

As for an official version, I am waiting for more of a consensus for versioning in Go; probably when dep reaches blessed status and has a clear position on it.

Regardless of how dep advances in the Go ecosystem, I think it's already quite clear that there is (some could say desperate) need for proper library versioning. Other package management solutions already exist ad widely used by the community which kinda requires proper versioning as well.

But even if we put package management aside, vendoring unversioned dependencies is simply a nigthmare IMO.

So I think this decision should not depend on the future of dep, but that's my 2 cents only.

Maybe it's time to tag with a valid semver.
https://research.swtch.com/vgo

Bumping this, as versioning is coming in 1.11 @jmoiron

Just added a PR to add go.mod and go.sum before next release #446

Closed with 1.2.0 release

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidxiao picture davidxiao  路  5Comments

yzk0281 picture yzk0281  路  5Comments

resal81 picture resal81  路  5Comments

webRat picture webRat  路  4Comments

fwhezfwhez picture fwhezfwhez  路  4Comments