Added alias jython-cli-next - #35
Merged
Merged
Conversation
Member
|
This seems like a good idea (until the newer feature). I'll pull the PR branch and try it. |
Member
|
LGTM. Any objections to merging? (Probably rebase merge as only one commit.) |
Member
Author
|
Please merge. :-) |
Member
|
Testing a minute or two after the merge produces somewhat inconsistent results. It's not our fault I think, so I just exhibit it as a curiousity. Yes, really. And it did it a second time. |
Member
Author
|
JBang caches the jbang-catalog.json file + other files, and periodically invalidates cache entries to force fresh copies of files to be fetched. It looks like improvements can be made in this area of JBang. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@jeff5 , @Stewori - I've made a small change to the jbang-catalog.json configuration file to allow multiple versions of Jython to be used.
$ jbang run
jython-cli@jython-V2.7.4
$ jbang run
jython-cli-next@jython-V2.7.5b1
JBang is being extended to allow the version string to be specified as part of the alias on the command-line:
jython-cli:2.7.5b1@jython -Vbut this functionality is not yet available.
Defining a unique alias (
jython-cli-next) to launch the 2.7.5b1 version is the best we can do at the moment.