-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Return go-get info on subdirs. Fixes #15625 #15628
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
Conversation
hmm... I think we need to be clearer about when we want the go-get handler to fire. Is it that any url:
and
all need to go to the go-get handler? If so then we're better off making this a handler within |
Afaik it needs to fire on all possible import paths. See also |
More or less, Theoretically only real sub-directories within the repo matter, but it would likely be easier to just implement a wildcard and be done with it. |
This PR is an alternative to go-gitea#15628 and makes the go get handler a handler. Fix go-gitea#15625 Close go-gitea#15628 Signed-off-by: Andrew Thornton <[email protected]>
This PR is an alternative to #15628 and makes the go get handler a handler. Fix #15625 Close #15628 Signed-off-by: Andrew Thornton <[email protected]>
Backport go-gitea#15642 This PR is an alternative to go-gitea#15628 and makes the go get handler a handler. Fix go-gitea#15625 Close go-gitea#15628 Signed-off-by: Andrew Thornton <[email protected]>
Backport #15642 This PR is an alternative to #15628 and makes the go get handler a handler. Fix #15625 Close #15628 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]>
This PR is an alternative to go-gitea#15628 and makes the go get handler a handler. Fix go-gitea#15625 Close go-gitea#15628 Signed-off-by: Andrew Thornton <[email protected]>
Return go-get info on subdirs, if we're not requesting "?go-get=1" return NotFound
Fixes #15625