Sometimes I write code and sometimes it works
Sent a patchset to fix this: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/10942
With the removal of the navigation links for logged-out users, and the hub frontpage telling you to "register or log in to get started", it's implied that you must create an account to start browsing projects. Perhaps the front page could have a link to /projects, or a list of featured projects under the text?
For example, replying to a patch with a message containing "mark:applied" would mark the patch as applied in lists.sr.ht. That way you don't have to go to the web interface to change the status after applying a patch.
I sent a fix: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/9698
The reason this happens is because the image's src tag refers to tree/refs/heads/master (an html page) instead of blob/refs/heads/master (the actual image). Ways this could be fixed:
- change link_prefix in git.sr.ht/gitsrht/blueprints/repo.py to make all relative links link to blob instead of tree
- change line 26 of markdown.py to url = self._relative_url(link).replace("tree", "blob", 1)
The first would make all relative links link to the blobs, not sure if that's what Drew wants. The second makes only image src tags be blobs but is kinda kludgy. I could send one of these (admittedly untested) solutions as a patch if you want.
This already exists on meta.sr.ht, although it exposes the user's provided comment: https://meta.sr.ht/~blowry.keys
Lol it's fine. Still not sure what about my patch didn't work or was corrupted-can you please clarify? Thanks
I can still reproduce this on meta.sr.ht. This shouldn't have been closed, ~ilmu was referring to a different issue (getting a connection refused when trying to push.) ~sircmpwn said my patch was corrupted, although I sent it with git send-email and applying it on my machine with git am works fine.
I made a patch: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/8995
I've submitted a patch to fix this: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/8976