-
Notifications
You must be signed in to change notification settings - Fork 41
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
Support for tags with prefix #65
Comments
You should be able to use a custom Let me know if I've missed something or if that functionality doesn't appear to work! |
@bitprophet what about "Next Release" forwarding to vmaster? https://cihai.git-pull.com/en/latest/history.html |
Ah yea, that would be a problem, wouldn't it. Let's reopen. There might be an existing setting that helps still, I'd have to dig, but assuming not, I do think it'd be nice to make it easier to do exactly this - a prefix applied to released links but not unreleased ones. |
Thanks for getting back @bitprophet. For me it's a bug since I'm already using the v convention on releases for my projects, if you do know an existing setting I can use in the meantime it'd be helpful |
@bitprophet any update on this one? |
Hm, I can try to introduce a PR during the weekend if it's okay :) Maybe I can try to make it toggleable via a config variable? Any suggestions for a name of a config variable/condition to use? |
Offhand, just |
@bitprophet This seems to be done: #54 |
See also: - bitprophet/releases#54 (original PR by @scolby33) - bitprophet/releases#76 (rebased branch of above PR used in this commit) - Feature request: bitprophet/releases#65
You can work around this with: class _releases_release_uri:
def __mod__(self, release):
if release.isdigit():
release = "v" + release
return 'https://github.com/%s/tree/%s' % (releases_github_path, release)
releases_release_uri = _releases_release_uri() |
Sorry about this, I don't use this package anymore - if someone is interested in continuing this somehow - they're welcome to rebase. This request is from so long ago I forgot about it |
Is it possible you could make have an option to add custom prefixes to the tree such as
v
?In https://libtmux.git-pull.com/en/latest/history.html, I want 0.7.0 to point to https://github.com/tony/libtmux/tree/v0.7.0 instead of https://github.com/tony/libtmux/tree/0.7.0
The text was updated successfully, but these errors were encountered: