<20210222071900.94777-1-shreyas@shreyasminocha.me>
From: Shreyas Minocha <sm-git@riseup.net> --- scmsrht/formatting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scmsrht/formatting.py b/scmsrht/formatting.py index 7395026..82353bf 100644 --- a/scmsrht/formatting.py +++ b/scmsrht/formatting.py @@ -11,7 +11,7 @@ from srht.cache import get_cache, set_cache def get_formatted_readme(cache_prefix, file_finder, content_getter, link_prefix=None): readme_names = ['README.md', 'README.markdown', 'README'] - for name in readme_names: + for name in readme_names + list(map(str.lower, readme_names)): content_hash, user_obj = file_finder(name) if content_hash: return format_readme(cache_prefix, content_hash, name, -- 2.30.1
<C9FVN1C4WN7Z.3LRN4D6WPW8BW@cirno2>
<20210222071900.94777-1-shreyas@shreyasminocha.me>
(view parent)
scm.sr.ht/patches: SUCCESS in 1m19s [Allow lowercase readme names][0] from [][1] [0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/20426 [1]: shreyas@shreyasminocha.me ✓ #434533 SUCCESS scm.sr.ht/patches/alpine.yml https://builds.sr.ht/~sircmpwn/job/434533 ✓ #434534 SUCCESS scm.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/434534 ✓ #434535 SUCCESS scm.sr.ht/patches/debian.yml https://builds.sr.ht/~sircmpwn/job/434535
<C9FWD1VADZOX.2ZPB7O6X4BB3@desktop>
<20210222071900.94777-1-shreyas@shreyasminocha.me>
(view parent)
Drew said "no" to this last time.
<C9FWIRPJCCF8.2S9K6PNUNBPH8@debian>
<C9FWD1VADZOX.2ZPB7O6X4BB3@desktop>
(view parent)
At this point we should document it somewhere.