Skip to contentSkip to conversation

git-publish: add profile

PATCH Superseded Matias Ezequiel Vara Larsen 3 participants 5 messages Mar 4, 2025 – Mar 5, 2025

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-publish: add profile

Add git-publish profile and document how to use it.

---
 .gitpublish | 3 +++
 README.md   | 9 +++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 .gitpublish
.gitpublish new file +3 -0
new file mode 100644
index 0000000..d412896
@@ -0,0 +1,3 @@
+[gitpublishprofile "default"]
+base = master
+to = [email protected]
README.md +9 -0
index c06caf6..39f22d4 100644
@@ -110,6 +110,15 @@ git format-patch -o proposal1/ HEAD~1..<br>
 git send-email [email protected] proposal1/0001-*
 </code>
 
+<dl>Optionally, you can use git-publisher to submit a patch. The procedure is the following:
+<code>
+git checkout master -b my-feature<br>
+# work on new commits, add your 'Signed-off-by' lines to each<br>
+git publish<br>
+... more work, rebase on master, ...<br>
+git publish # will send a v2<br>
+</code>
+</dl>
 <dl>
 <dt>When to use the virtio-comment mailing list:</dt>
 <dd>
Signature · 1 line
2.42.0
#1 lore raw
Quoted 24 lines · Matias Ezequiel Vara Larsen

Add git-publish profile and document how to use it.

---
 .gitpublish | 3 +++
 README.md   | 9 +++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 .gitpublish
.gitpublish new file +3 -0
new file mode 100644
index 0000000..d412896
@@ -0,0 +1,3 @@
+[gitpublishprofile "default"]
+base = master
+to = [email protected]
README.md +0 -0
index c06caf6..39f22d4 100644

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 113

Quoted 4 lines
README.md +1 -0
@@ -110,6 +110,15 @@ git format-patch -o proposal1/ HEAD~1..<br>
 git send-email [email protected] proposal1/0001-*
 </code>
 
+<dl>Optionally, you can use git-publisher to submit a patch. The procedure is the following:

s/git-publisher/git-publish/ ?

Maybe even worth adding a link to the project repository?

```
\href{https://github.com/stefanha/git-publish}{git-publish}
```

Especially since you need to install and set up the tool beforehand, so it is nice to have the link pointing to the project documentation.

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 117

Quoted 4 lines
README.md +4 -0
+<code>
+git checkout master -b my-feature<br>
+# work on new commits, add your 'Signed-off-by' lines to each<br>
+git publish<br>

The first run (unless you pre-configure your profile in the project git config) needs to specify the recipient (with --to) and and cc's. I'd add at least the --to to the example.

Quoted 11 lines
README.md +4 -1
+... more work, rebase on master, ...<br>
+git publish # will send a v2<br>
+</code>
+</dl>
 <dl>
 <dt>When to use the virtio-comment mailing list:</dt>
 <dd>
--

2.42.0

#2 lore raw
Quoted 30 lines · Albert Esteve
Quoted 27 lines · Matias Ezequiel Vara Larsen

Add git-publish profile and document how to use it.

---
 .gitpublish | 3 +++
 README.md   | 9 +++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 .gitpublish
.gitpublish new file +3 -0
new file mode 100644
index 0000000..d412896
@@ -0,0 +1,3 @@
+[gitpublishprofile "default"]
+base = master
+to = [email protected]
README.md +0 -0
index c06caf6..39f22d4 100644
@@ -110,6 +110,15 @@ git format-patch -o proposal1/ HEAD~1..<br>
 git send-email [email protected] proposal1/0001-*
 </code>
 
Quoted 2 lines

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 113

Quoted 1 line
README.md +1 -0
+<dl>Optionally, you can use git-publisher to submit a patch. The procedure is the following:

I would mention that the project already has a git-publish profile, so the "To:" address is automatically handled by it.

Quoted 6 lines

s/git-publisher/git-publish/ ?

Maybe even worth adding a link to the project repository?

```
\href{https://github.com/stefanha/git-publish}{git-publish}
```

+1

Quoted 11 lines

Especially since you need to install and set up the tool beforehand, so it is nice to have the link pointing to the project documentation.

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 117

Quoted 4 lines
README.md +4 -0
+<code>
+git checkout master -b my-feature<br>
+# work on new commits, add your 'Signed-off-by' lines to each<br>
+git publish<br>

The first run (unless you pre-configure your profile in the project git config) needs to specify the recipient (with --to) and and cc's. I'd add at least the --to to the example.

IIUC the goal of this patch is also to add a profile (.gitpublish) in the project exactly to avoid that.

Thanks,
Stefano

Quoted 14 lines
Quoted 12 lines
README.md +4 -1
+... more work, rebase on master, ...<br>
+git publish # will send a v2<br>
+</code>
+</dl>
 <dl>
 <dt>When to use the virtio-comment mailing list:</dt>
 <dd>
--

2.42.0

#3 lore raw
Quoted 31 lines · Stefano Garzarella
Quoted 30 lines · Albert Esteve
Quoted 27 lines · Matias Ezequiel Vara Larsen

Add git-publish profile and document how to use it.

---
 .gitpublish | 3 +++
 README.md   | 9 +++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 .gitpublish
.gitpublish new file +3 -0
new file mode 100644
index 0000000..d412896
@@ -0,0 +1,3 @@
+[gitpublishprofile "default"]
+base = master
+to = [email protected]
README.md +0 -0
index c06caf6..39f22d4 100644
@@ -110,6 +110,15 @@ git format-patch -o proposal1/ HEAD~1..<br>
 git send-email [email protected] proposal1/0001-*
 </code>
 
Quoted 5 lines
Quoted 2 lines

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 113

Quoted 1 line
README.md +1 -0
+<dl>Optionally, you can use git-publisher to submit a patch. The procedure is the following:

I would mention that the project already has a git-publish profile, so the "To:" address is automatically handled by it.

Thanks.

Quoted 22 lines
Quoted 7 lines

s/git-publisher/git-publish/ ?

Maybe even worth adding a link to the project repository?

```
\href{https://github.com/stefanha/git-publish}{git-publish}
```

+1

Quoted 11 lines

Especially since you need to install and set up the tool beforehand, so it is nice to have the link pointing to the project documentation.

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 117

Quoted 4 lines
README.md +4 -0
+<code>
+git checkout master -b my-feature<br>
+# work on new commits, add your 'Signed-off-by' lines to each<br>
+git publish<br>

The first run (unless you pre-configure your profile in the project git config) needs to specify the recipient (with --to) and and cc's. I'd add at least the --to to the example.

Quoted 2 lines

IIUC the goal of this patch is also to add a profile (.gitpublish) in the project exactly to avoid that.

Right, I will clarify that in v2.

Thanks, Matias.

#4 lore raw
In reply to Albert Esteve
Quoted 29 lines · Albert Esteve
Quoted 27 lines · Matias Ezequiel Vara Larsen

Add git-publish profile and document how to use it.

---
 .gitpublish | 3 +++
 README.md   | 9 +++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 .gitpublish
.gitpublish new file +3 -0
new file mode 100644
index 0000000..d412896
@@ -0,0 +1,3 @@
+[gitpublishprofile "default"]
+base = master
+to = [email protected]
README.md +0 -0
index c06caf6..39f22d4 100644
@@ -110,6 +110,15 @@ git format-patch -o proposal1/ HEAD~1..<br>
 git send-email [email protected] proposal1/0001-*
 </code>
 
Quoted 4 lines

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 113

Quoted 1 line
README.md +1 -0
+<dl>Optionally, you can use git-publisher to submit a patch. The procedure is the following:

s/git-publisher/git-publish/ ?

Thanks.

Quoted 4 lines

Maybe even worth adding a link to the project repository?

```
\href{https://github.com/stefanha/git-publish}{git-publish}
```

I will add the link to the project.

Quoted 11 lines

Especially since you need to install and set up the tool beforehand, so it is nice to have the link pointing to the project documentation.

README.md git format-patch -o proposal1/ HEAD~1..<br> · line 117

Quoted 4 lines
README.md +4 -0
+<code>
+git checkout master -b my-feature<br>
+# work on new commits, add your 'Signed-off-by' lines to each<br>
+git publish<br>

The first run (unless you pre-configure your profile in the project git config) needs to specify the recipient (with --to) and and cc's. I'd add at least the --to to the example.

The patch includes a gitpublish profile to avoid configuring the to email. Maybe I can add that the goal of using gitpublish is to simplify the steps above.

Quoted 13 lines
Quoted 12 lines
README.md +4 -1
+... more work, rebase on master, ...<br>
+git publish # will send a v2<br>
+</code>
+</dl>
 <dl>
 <dt>When to use the virtio-comment mailing list:</dt>
 <dd>
--

2.42.0