~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 3

[PATCH scm.sr.ht] Allow lowercase readme names

Details
Message ID
<20210222071900.94777-1-shreyas@shreyasminocha.me>
DKIM signature
missing
Download raw message
Patch: +1 -1
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

[scm.sr.ht/patches] build success

builds.sr.ht
Details
Message ID
<C9FVN1C4WN7Z.3LRN4D6WPW8BW@cirno2>
In-Reply-To
<20210222071900.94777-1-shreyas@shreyasminocha.me> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<C9FWD1VADZOX.2ZPB7O6X4BB3@desktop>
In-Reply-To
<20210222071900.94777-1-shreyas@shreyasminocha.me> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Drew said "no" to this last time.
Details
Message ID
<C9FWIRPJCCF8.2S9K6PNUNBPH8@debian>
In-Reply-To
<C9FWD1VADZOX.2ZPB7O6X4BB3@desktop> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
At this point we should document it somewhere.
Reply to thread Export thread (mbox)