[feature request] Is it possible to have git tag can be sorted and filtered by semver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently there is `ls-remote` and `tag` that has option to
--sort=version:refname which is really useful when we have tag as
version format and let it sort as numeric version

But it could be better if we can also sort and filter the version in
the range of semver format. So we can use git system as dependency
management system natively

So I would like to propose a new sort option semver:refname

`git ls-remote --sort=semver:refname myRepoUrl refs/tags/v{^0.*.*}`
where brace {} can be used to define semver versioning ranges for the
patterns in addition to glob filter




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux