about summary refs log tree commit diff
path: root/site/pyonji.html
blob: ef4e77f5552f4f1d79c33a08f92ae2206c2e7708 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!-- Generated file, do not edit, you may edit and discard pyonji.htm :) -->
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="thumbnail" content="/media/services/thumbnail.jpg">
		<meta name="viewport" content="width=device-width,initial-scale=1">
		<link rel="preload" href="/media/interface/logo.svg" as="image">
		<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/links/rss.xml">
		<link rel="stylesheet" type="text/css" href="/links/main.css">
		<link rel="icon" type="image/png" href="/media/services/icon.png">
		<link rel="license" href="https://git.sr.ht/~robertgzr/site/blob/master/LICENSE.content">
		<title>gzr.im &mdash; pyonji</title>
	</head>
	<body>
		<header>
			<a href="/">
				<picture>
					<source width="60" height="60" media="(prefers-color-scheme: dark)" srcset="/media/interface/draw_dark.png">
					<img width="60" height="60" src="/media/interface/draw_lite.png" alt="gzr.im">
				</picture>
			</a>
			<nav>
				
<section>
	<ul class="nobull capital">
		<li><a href="/about.html">about</a></li>
		<li><a href="/2026.html">2026</a></li>
	</ul>
</section>
<section>
	<ul class="nobull capital">
		<li><a href="/notes.html">notes</a></li>
		<li><a href="/like.html">like</a></li>
		<li><a href="/read.html">read</a></li>
	</ul>
</section>
<section>
	<ul class="nobull capital">
		<li><a href="/photos.html">photos</a></li>
		<li><a href="/map/index.html">map</a></li>
	</ul>
</section>



			</nav>
		</header>
		<main>
			
<!-- Generated file, you may edit and discard pyonji.md :) -->
<span class="date">
2025-01-08
</span>
<h1 id="sending-patches-with-pyonji">Sending patches with Pyonji</h1>
<p><a href="https://git.sr.ht/~emersion/pyonji"
target="_blank">pyonji</a> is a useful tool to send patches to mailing
lists, to contribute to projects hosted on <a
href="https://sr.ht/projects" target="_blank">sr.ht</a> for example. It
is a friendly TUI alternative to using <code>git-send-email</code>
directly, but there are still some essentials to note:</p>
<ul class="task-list">
<li><p><label><input type="checkbox" />ensure th <a
href="https://git-scm.com/docs/git-config/2.22.1#Documentation/git-config.txt-formatsubjectPrefix"
target="_blank">to address</a> is set (or pass <code>--to</code>)<br />
<code>git config --local sendemail.to</code></label></p></li>
<li><p><label><input type="checkbox" />use <code>origin/master</code> or
<code>HEAD~n</code> for the <code>--base</code> option, this determines
what is included in the patch series</label></p></li>
<li><p><label><input type="checkbox" />when sending to a public-inbox
style list, ensure the <a
href="https://git-scm.com/docs/git-config/2.22.1#Documentation/git-config.txt-formatsubjectPrefix"
target="_blank">subject prefix</a> is set<br />
<code>git config --local format.subjectprefix</code></label></p></li>
<li><p><label><input type="checkbox" />when writing the cover letter,
note that the first paragraph is parsed as the subject of the patch
series, see <a
href="https://git-scm.com/docs/git-format-patch#Documentation/git-format-patch.txt---cover-from-descriptionltmodegt"
target="_blank">–cover-from-description</a></label></p></li>
</ul>
<p>I keep a branch with some convenience patches on top of upstream,
that make working with it easier for me: <a
href="https://git.sr.ht/~robertgzr/pyonji/log/devel" class="uri"
target="_blank">https://git.sr.ht/~robertgzr/pyonji/log/devel</a></p>



			<section id="backrefs"><span>incoming:</span><nav>
<a href="/2025.html">2025</a>
<a href="/notes.html">notes</a>
</nav>
</section>
		</main>
		<footer>
			<a href="https://git.sr.ht/~robertgzr/site/blob/master/LICENSE.content" target="_blank" title="BY-NC-SA 4.0">(c)</a>
			robertgzr
			/ 2024-2026
			/ Edited on 2026-10-02 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/pyonji.htm" target="_blank">[src]</a>
			<section class="float-r">
				<img src="https://media.thuvien.org/photo/11173/image/958a2dc7119920b71a01114c9af6c70a.png" alt="test">
				<a href="#top">[&uarr;]</a>
			</section>
		</footer>
	</body>
</html>