gitea
gitea copied to clipboard
[Better symlink support] Follow relative symbolic links in GUI if they are available
- Gitea version (or commit ref): 1.12
- Database (use
[x]
):- [ ] PostgreSQL
- [x] MySQL
- [ ] MSSQL
- [ ] SQLite
- Can you reproduce the bug at https://try.gitea.io:
- [x] Yes
- [ ] No
- [ ] Not relevant
Encountered at Codeberg at https://codeberg.org/fnetX/codeberg-org/src/branch/main/en
Description
Adding symbolic links to git is supported. Sometimes they refer to files in the same repository. Sadly, Gitea does not offer an option to follow them in the GUI. It'd be awesome if there was an option (e. g. a button) in the GUI to either follow a symlink (if available // in same repository) after it is opened or if Gitea would directly open the symlinked file from the folder view if available.
Thank you for working on Gitea considering this idea.
Screenshots
Current display of a relative symlink:
Current display of symlinks in the folder view:
#8151 seems to be related (it requests resolving full paths as well), it was marked as stale and I must have overlooked in when searching for duplicates.
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
still valid afaik
still looks the same
with
Gitea Version
1.14.0-de built with GNU Make 4.1, go1.15.2 : bindata, sqlite, sqlite_unlock_notify
--
all though hard links appear to work !
What does github do?
@zeripath
What does github do?
Have a look at LICENSE
or README.md
:
https://github.com/crt0mega/asus-wmi-sensors-dkms
What about just adding a button "Follow (symlink)", which might lead to a 404, but is at least a button and saves you from manually interpreting the link?
+1 Would love for symlink directories with relative paths to be resolved instead of just showing the path