-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gimme awareness of available versions #110
Comments
I'm not sure how to interpret the 👍 reactions given 4 options 😁. I would be OK with internal version availability awareness under certain conditions, and I think I would even be OK with the kind of rudimentary aliasing that's done at the travis-build level. Things that I would like to avoid:
|
Note that a month before I filed this issue, I merged a contribution adding Idea sketch: With this, we can say that if and only if the requested version contains |
I think as "yes, we agree that is a problem worth discussing". |
See also travis-ci/travis-build#1295. Now it looks like travis-build depends on gimme's testdata. |
* 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
At present, the
gimme
script knows very little about what versions of Go exist and are potentially available. There's testdata, which has that. At a layer abovegimme
, travis-ci/travis-build is doing some substitution work to make1.9.x
work, by knowing what.x
should be at any given point in time.People keep expecting this to be part of travis-ci/gimme itself, which is absolutely fair. It looks like
gimme
, it smells likegimme
, they're filing bugs againstgimme
and it would be useful forgimme
to handle this.Should travis-ci/gimme handle this?
.x
and error out with a diagnostic explicitly pointing towards something higher up, suggesting travis-build.gimme
itself, or perhaps just ability to spot in-repo data when run from a repo?The text was updated successfully, but these errors were encountered: