Add support for redirects via symbolic links #36
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.
If a file in the git repository is a symbolic link then it's treated as a redirect - using the text string as the location for the redirect. E.g. adding
ln -s https://robur.coop/ linkin the git repository will make/linkredirect tohttps://robur.coop/. In this implementation it's a permanent redirect, but we can consider other types of redirects (or a global configuration for the redirect type).This doesn't compile as opam-monorepo isn't able to find a solution, and I don't quite understand what is blocking it and what I can do about it. I think the failure is caused by a dependency on
carton-gitsomehow:Full output
Depends on https://git.robur.coop/robur/git-kv/pulls/14