Skip to contentSkip to conversation

add sashiko URLs

PATCH In review Mike Rapoport 4 participants 6 messages Apr 16 – Apr 17

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add sashiko URLs

sashiko is gaining traction and it's easy to add its URLs along with lore ones.

---
 lorifier.py | 3 +++
 1 file changed, 3 insertions(+)
lorifier.py +3 -0
index be7294b..96529bd 100755
@@ -25,6 +25,7 @@ import sys
 from email.utils import mktime_tz, parsedate_tz, formatdate
 
 LORE_MASK = "https://lore.kernel.org/all/%s"
+SASHIKO_MASK = "https://sashiko.dev/#/message/%s"
 
 
 class muttemail:
@@ -65,7 +66,9 @@ class muttemail:
             return
 
         lore_url = LORE_MASK % str(message_id).strip("<>")
+        sashiko_url = SASHIKO_MASK % str(message_id).strip("<>")
         self.message.add_header("X-URI", lore_url)
+        self.message.add_header("X-URI", sashiko_url)
 
 
 if __name__ == "__main__":
Signature · 1 line
2.51.0
#3 lore raw
In reply to Mike Rapoport
Quoted 13 lines · Mike Rapoport

sashiko is gaining traction and it's easy to add its URLs along with lore ones.

---
 lorifier.py | 3 +++
 1 file changed, 3 insertions(+)
lorifier.py +0 -0
index be7294b..96529bd 100755

lorifier.py import sys · line 28

Quoted 4 lines
lorifier.py +1 -0
@@ -25,6 +25,7 @@ import sys
 from email.utils import mktime_tz, parsedate_tz, formatdate
 
 LORE_MASK = "https://lore.kernel.org/all/%s"
+SASHIKO_MASK = "https://sashiko.dev/#/message/%s"

Just curious on the choice of
"https://sashiko.dev/#/message/%s"
over
"https://sashiko.dev/#/patchset/%s"

As the latter points to former while the reverse is not true unless I am missing something.

Signature · 2 lines
Regards,
Sudeep
#4 lore raw
Quoted 24 lines · Sudeep Holla
Quoted 13 lines · Mike Rapoport

sashiko is gaining traction and it's easy to add its URLs along with lore ones.

---
 lorifier.py | 3 +++
 1 file changed, 3 insertions(+)
lorifier.py +0 -0
index be7294b..96529bd 100755

lorifier.py import sys · line 28

Quoted 4 lines
lorifier.py +1 -0
@@ -25,6 +25,7 @@ import sys
 from email.utils import mktime_tz, parsedate_tz, formatdate
 
 LORE_MASK = "https://lore.kernel.org/all/%s"
+SASHIKO_MASK = "https://sashiko.dev/#/message/%s"

Just curious on the choice of
"https://sashiko.dev/#/message/%s"
over
"https://sashiko.dev/#/patchset/%s"

Quoted 2 lines

As the latter points to former while the reverse is not true unless I am missing something.

Patchset URL does not include message id, e.g:

https://sashiko.dev/#/patchset/20260417223004.1-evm-xattrs-v2-pengpeng%40iscas.ac.cn

I talked to Roman and he said he'll add links to patchsets from messages Really Soon.

Quoted 3 lines
Signature · 2 lines
Regards,
Sudeep
Signature · 2 lines
Sincerely yours,
Mike.
#5 lore raw
Quoted 25 lines · Mike Rapoport
Quoted 24 lines · Sudeep Holla
Quoted 13 lines · Mike Rapoport

sashiko is gaining traction and it's easy to add its URLs along with lore ones.

---
 lorifier.py | 3 +++
 1 file changed, 3 insertions(+)
lorifier.py +0 -0
index be7294b..96529bd 100755

lorifier.py import sys · line 28

Quoted 4 lines
lorifier.py +1 -0
@@ -25,6 +25,7 @@ import sys
 from email.utils import mktime_tz, parsedate_tz, formatdate
 
 LORE_MASK = "https://lore.kernel.org/all/%s"
+SASHIKO_MASK = "https://sashiko.dev/#/message/%s"

Just curious on the choice of
"https://sashiko.dev/#/message/%s"
over
"https://sashiko.dev/#/patchset/%s"

Quoted 6 lines
Quoted 2 lines

As the latter points to former while the reverse is not true unless I am missing something.

Patchset URL does not include message id, e.g:

https://sashiko.dev/#/patchset/20260417223004.1-evm-xattrs-v2-pengpeng%40iscas.ac.cn

Yes it does not directly specify message id, but it does presents links to it.

For example, above patchset link has links to these:

https://sashiko.dev/#/message/20260407153002.2-evm-xattrs-pengpeng%40iscas.ac.cn
https://sashiko.dev/#/message/d95993e3d879bec4c9e3416906d409cca9c8ffeb.camel%40huaweicloud.com
https://sashiko.dev/#/message/20260417190004.4-evm-xattrs-reply-pengpeng%40iscas.ac.cn
https://sashiko.dev/#/message/20260417223004.1-evm-xattrs-v2-pengpeng%40iscas.ac.cn

Quoted 4 lines

I talked to Roman and he said he'll add links to patchsets from messages Really Soon.

Cool, that would be great.

Signature · 2 lines
Regards,
Sudeep