Introduction + Importing git mailing list archives

Stephen Finucane stephen at that.guru
Thu Jun 17 19:14:43 AEST 2021


On Wed, 2021-06-16 at 17:14 -0400, Raxel Gutierrez wrote:
> Hi Patchwork team,
> 
> I am a new Google intern with the Git Core team (hosted by jrnieder).
> I don't have much experience with the Git open-source community and
> the mailing list centric workflow but Jonathan and his team have been
> helping me. I am going to be contributing to the Patchwork project;
> mainly focused on improving its usability. Most of my experience
> involves web apps (including Django) and UX/UI with a usability focus.
> I am really excited to contribute to the project for the next couple
> of months during my internship. Please feel free to contact me about
> anything. I will be communicating design mockups and various ideas to
> develop in the near future.

Hi Raxel. Good to have you on board. I'm one of the maintainers of Patchwork and
am happy to answer any questions you may have, with the caveat that Patchwork is
a side-project for me so responses can occasionally be rather slow. I'm also
available on the OFTC IRC network (my is nick 'stephenfin').

> My first question:
> 
> I set up my development environment for Patchwork through the manual
> installation steps. Since I am focusing on the Git project, I am
> trying to set up a test instance using the Git mailing list archive. I
> was able to successfully import the Patchwork mailing list archives as
> outlined [1]. The Patchwork mailing list uses a mailman instance but
> the Git mailing list doesn't, so the instructions wouldn’t work [2].
> My host (jrnieder) helped me locate a file [3] that Konstantin wrote
> which seems to already solve this issue, so I am interested in any
> pointers you have about the setup.

This question would probably be best addressed to Konstantin if he wrote the
tool. For what it's worth, you'll be loading in the archives using the
'parsearchive' command of the 'manage.py' script. That expects an mbox file, or
a plain text file containing one or more mails in the loosely-defined "mbox"
format. The documentation for public-inbox suggests it's possible to download an
mbox for an individual thread [1], but I'm not sure if it's possible to download
one for *all* threads (trying 'http://public-inbox.org/git/t.mbox.gz' doesn't
return anything). This would be a question best directed at the maintainers of
that tool.

Stephen

[1] https://lore.kernel.org/lkml/_/text/help/

> 
> Best,
> Raxel
> 
> [1] https://patchwork.readthedocs.io/en/latest/development/installation/#import-mailing-list-archives
> 
> [2] Referring to the lore.kernel.org/git and public-inbox.org/git archives
> 
> [3] https://git.kernel.org/pub/scm/linux/kernel/git/mricon/korg-helpers.git/tree/list-archive-collector.py
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork




More information about the Patchwork mailing list