threads / patch / 32480

patch, 2 partsProvide better guidance for submitting patches against git-gui, gitk

Subject: [PATCH 2/2] Provide better guidance for submitting patches against git-gui, gitk

## tl;dr

7 messages between Dec 30, 2012 and Dec 31, 2012. Diffs are folded; open one to read it.

replies: 6people: 3as markdown or json

Jason Holden· Dec 30, 2012, 18:18 UTC · lore

[PATCH 0/2] Add MAINTAINERS file and clarify gui workflows

I spent a good amount of time yesterday figuring out the correct workflow to submit a change to gitk. As I understand it, gitk (and I think git-gui) are maintained upstream of git, and patches should be sent to the git email list against the upstream repo. I think a top-level MAINTAINERS file would help new contributers like me get orientated, especially in the cases of these upstream projects that require a somewhat non-standard workflow

I also added some additional clarifications to SubmittingPatches that clarifies the additional steps required to submit patches against the guis.

Please double check that I've got the correct email addresses and canonical repositories

I'm guessing there are additional Maintainers who should be added to the MAINTAINERS file, I just haven't followed to email list closely enough to know all the formal/informal workflows that should be observed.

Jason Holden (2):
  Add top-level maintainers file with email/canonical repository
    information
  Provide better guidance for submitting patches against git-gui, gitk
 Documentation/SubmittingPatches | 11 +++++++++++
 MAINTAINERS                     | 17 +++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 MAINTAINERS
-- 
1.8.1.rc3.28.g0ab5d1f
Jason Holden· Dec 30, 2012, 18:18 UTC · re: Jason Holden · lore

[PATCH 1/2] Add top-level maintainers file with email/canonical repository information

Certain parts of git have a semi-formalized workflow for incoming patches. This file documents the maintainers, their area of specialization, their email address, and their canonical repository against which patches should be submitted.

Signed-off-by: Jason Holden <jason.k.holden.swdev@gmail.com>
---
 MAINTAINERS | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 MAINTAINERS
Show changes to MAINTAINERS +17 −0
diff --git a/MAINTAINERS b/MAINTAINERS
new file mode 100644
index 0000000..ed23b21
--- /dev/null
+++ b/MAINTAINERS
@@ -0,0 +1,17 @@
+Core Git/Overall Maintainer:
+ Junio C Hamano <gitster@pobox.com>
+ git://git.kernel.org/pub/scm/git/git.git
+
+
+The GUI's packaged with git (git-gui and gitk) are maintained 
+upstream of the core git repository.  Their contact information 
+and canonical repositories are below.  Patches to improve these utilities 
+should be made against the tree's referenced below
+
+gitk:
+ Paul Mackerras <paulus@samba.org>
+ git://ozlabs.org/~paulus/gitk
+
+git-gui:
+ Pat Thoyts <patthoyts@users.sourceforge.net>
+ git://repo.or.cz/git-gui
-- 
1.8.1.rc3.28.g0ab5d1f
Jason Holden· Dec 30, 2012, 18:18 UTC · re: Jason Holden · lore

git-gui and gitk are maintained upstream of git. Document this, and the procedure for submitting patches to these tools

Signed-off-by: Jason Holden <jason.k.holden.swdev@gmail.com>
---
 Documentation/SubmittingPatches | 11 +++++++++++
 1 file changed, 11 insertions(+)
Show changes to Documentation/SubmittingPatches +11 −0
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
index 75935d5..b82d426 100644
--- a/Documentation/SubmittingPatches
+++ b/Documentation/SubmittingPatches
@@ -58,6 +58,17 @@ Checklist (and a short version for the impatient):
 	  please test it first by sending email to yourself.
 	- see below for instructions specific to your mailer
 
+	Improving the GUI's
+	- gitk and git-gui are maintained upstream of Git despite being 
+	  included in Git's git repository
+	- Patches should be made against the upstream gui repository, 
+	  and not against the version in Git's git repository
+	- The resulting patch should still be emailed for review
+	  to the git mailing list (git@vger.kernel.org), cc'ing the 
+	  applicable gui maintainer
+	- Please see the MAINTAINER's file for the gui maintainer's contact 
+	  information and canonical repository location
+
 Long version:
 
 I started reading over the SubmittingPatches document for Linux
-- 
1.8.1.rc3.28.g0ab5d1f
Junio C Hamano· Dec 30, 2012, 20:26 UTC · re: Jason Holden · lore

Re: [PATCH 0/2] Add MAINTAINERS file and clarify gui workflows

Jason Holden <jason.k.holden.swdev@gmail.com> writes:
> I spent a good amount of time yesterday figuring out the correct workflow
> to submit a change to gitk.

Thanks; I just realized that nothing in Documentation/ hierarchy mentions these; they are only mentioned in "A Note from the Maintainer" I send out every once in a while (kept in MaintNotes of 'todo' branch):

    * Other people's trees, trusted lieutenants and credits.
    Documentation/SubmittingPatches outlines to whom your proposed changes
    should be sent.  As described in contrib/README, I would delegate fixes
    and enhancements in contrib/ area to the primary contributors of them.
    Although the following are included in git.git repository, they have their
    own authoritative repository and maintainers:
     - git-gui/ comes from git-gui project, maintained by Pat Thoyts:
            git://repo.or.cz/git-gui.git
     - gitk-git/ comes from Paul Mackerras's gitk project:
            git://ozlabs.org/~paulus/gitk
     - po/ comes from the localization coordinator, Jiang Xin:
            https://github.com/git-l10n/git-po/
Perhaps the update should mention po/ as well?
Thomas Ackermann· Dec 31, 2012, 09:40 UTC · re: Junio C Hamano · lore

Re: [PATCH 0/2] Add MAINTAINERS file and clarify gui workflows

Junio C Hamano <gitster <at> pobox.com> writes:
Show 6 quoted lines
> 
> Thanks; I just realized that nothing in Documentation/ hierarchy
> mentions these; they are only mentioned in "A Note from the
> Maintainer" I send out every once in a while (kept in MaintNotes of
> 'todo' branch):
> 
Wouldn't it be a good idea to put MaintNotes somewhere below ./Documentation?

--- Thomas

Jason Holden· Dec 31, 2012, 18:22 UTC · re: Thomas Ackermann · lore

Re: [PATCH 0/2] Add MAINTAINERS file and clarify gui workflows

On Mon, Dec 31, 2012 at 09:40:19AM +0000, Thomas Ackermann wrote:
Show 13 quoted lines
> Junio C Hamano <gitster <at> pobox.com> writes:
> 
> > 
> > Thanks; I just realized that nothing in Documentation/ hierarchy
> > mentions these; they are only mentioned in "A Note from the
> > Maintainer" I send out every once in a while (kept in MaintNotes of
> > 'todo' branch):
> > 
> 
> Wouldn't it be a good idea to put MaintNotes somewhere below ./Documentation?
> 
> ---
> Thomas

Putting it in Documentation/ would add one more outlier file (Along w/ SubmittingPatches and CodingGuidelines). Documentation/technical seems too deep. I've got a patch that incorporates the content into the existing README, but that seems a bit out of place, as the previous content of README was primarily pointers to other docs.

What about a README.developers at the toplevel?
Junio C Hamano· Dec 31, 2012, 18:32 UTC · re: Thomas Ackermann · lore

Re: [PATCH 0/2] Add MAINTAINERS file and clarify gui workflows

Thomas Ackermann <th.acker@arcor.de> writes:
Show 6 quoted lines
>> Thanks; I just realized that nothing in Documentation/ hierarchy
>> mentions these; they are only mentioned in "A Note from the
>> Maintainer" I send out every once in a while (kept in MaintNotes of
>> 'todo' branch):
>
> Wouldn't it be a good idea to put MaintNotes somewhere below ./Documentation?

Perhaps. It started as a living document that discusses the state of affairs as of the time of posting (there are mentions to "the most recent such release was ...", etc), and because I wanted to keep it that way (and also I needed somewhere to keep track of it), I deliberately kept it outside the source tree.

It is an addendum to howto-maintain-git, and what it covers overlaps with it, so it will need some clean-ups if we want to go the route you suggest.

Having said all that, I think it is still a good idea to keep the occasional "A note from he Maintainer" posting on list, and a version that needs to rever to another document after losing overlaps with howto-maintain-git will no longer will be suitable source for it, so...

← back to recent threads