-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .x resolution and --resolve command
* New persistent file, `~/.gimme/versions/known-versions.txt`, which is kept in sorted unique order * Add `--resolve` for handling version specifiers in a normally-lightweight manner, where stdout gets the resolved version. * Handle `NN.x` (and `NN.MM.x`) as a version specifier, against the known versions * Have the `--known` output be cached to disk; there's a cache bypass mechanism (flag), and a cache age control environment variable. * Rework some cache handling stuff to be in cleaner functional abstractions * Adds a `_version_sort` filter * Bug-fix for stable age using access-time not mod-time on darwin|*bsd See the README updates for notes on interaction between `--resolve` and git tag resolution, and how to avoid that. Fixes #129 Resolves #110
- Loading branch information
1 parent
88af448
commit fd746b1
Showing
2 changed files
with
183 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters