Re: [dev] Patch apply status overview

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sat, 2 Feb 2019 13:34:14 +0100

On Sat, Feb 02, 2019 at 01:06:36PM +0800, Ivan Tham wrote:
> Thanks for the effort for automatically patches.
>
> Please note that st-scrollback-mouse-altscreen failed to be patched
> because it was meant to be patched in a particular order.
>
> 1. st-scrollback
> 2. st-scrollback-mouse
> 3. st-scrollback-mouse-altscreen
>
> I thought the patch failed but it was no the case though.
>
> Any suggestion for this? Should the patched be made a single shot?
>

This is not handled in the helping tool.

I think it's fine to ignore it and consider it false-positive then.

Thanks for maintaining and checking your patches.

> On Thu, Jan 31, 2019 at 08:47:35PM +0100, Hiltjo Posthuma wrote:
> > I'd like to show an experiment I made for automatically testing patches on the
> > wiki. Its purpose is it to have a quick overview of broken patches on the wiki.
> > I hope this will also help the community and patch authors in fixing these
> > patches together and pushing them to the public wiki repository.
> >
> > HTML view: https://gunther.suckless.org/patches/
> > CSV parsable list: https://gunther.suckless.org/patches/index.csv
> >
> > It is sorted currently by: project, patch name, project version.
> >
> > The HTML view links to the original index page of the patch and the stderr and
> > stdout output of the patch command. Patches are tested with the command:
> >
> > patch -p1 -t -C < patchfile
> >
> > The exitcode is the exitcode of this command ($?).
> >
> > It works by parsing the project, version/revision from the patch filename then
> > it creates a clean tree from the project git repository of this revision and
> > tries to apply the patch. It is important the patches are consistent and
> > correctly named on the wiki. For format guidelines see:
> > https://suckless.org/hacking/
> >
> > It also finds incorrect revision names, these are shown on this link for now:
> > https://gunther.suckless.org/patches/err.log
> >
> > I'm unsure if this will be run automated or so, but it was fun to write anyway.
>
> --
> Do what you like, like what you do. -- Pickfire
>

-- 
Kind regards,
Hiltjo
Received on Sat Feb 02 2019 - 13:34:14 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 02 2019 - 13:36:07 CET