-- >8 --
nabijaczleweli@tarta:~/uwu/git$ strace -f -o ss git clone http://127.0.0.1:5014/~nabijaczleweli/projeq
Cloning into 'projeq'...
fatal: remote error:
This is a sourcehat project, which amalgamates multiple source repositories,
issue trackers, and mailing lists.
You can visit
http://127.0.0.1:5014/~nabijaczleweli/projeq/sources
to pick a specific source.
nabijaczleweli@tarta:~/uwu/git$
-- >8 --
Returning a non-ERR here and going down to a pack is possible
(confer https://twitter.com/nabijaczleweli/status/1296062752516079617)
but errors later down the line are either more verbose and hint at
implementation errors, or leave repositories in a sticky state.
Ref: ~sircmpwn/hub.sr.ht#49
It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).
This affects the call to 'markdown()', removing the now-redundant
argument for the tag whitelist.
[0]: https://todo.sr.ht/~sircmpwn/sr.ht/20
[1]: https://github.com/miyuchina/mistletoe
SQLAlchemy's internal cascade handling is the most miserable, broken
piece of shit I have ever had the displeasure of using. So we circumvent
it entirely and let the SQL server do the right thing.
A word of advice: don't use SQLAlchemy for new projects.
importlib.resources will guarantee to find any importable module, and
check that the resource ('Makefile') can be found within it.
This lets us get rid of the current getsitepackages() hack and
environment variable fallback, which is both verbose and badly handles
some edge cases when installing modules, and instead use the recommended
way to find data files shipped with a python module.