Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2012 13:06:43 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@FreeBSD.org>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        Garrett Cooper <yanegomi@gmail.com>, Gabor Kovesdan <gabor@kovesdan.org>, Adrian Chadd <adrian@FreeBSD.org>, Pedro Giffuni <pfg@FreeBSD.org>, freebsd-hackers@FreeBSD.org
Subject:   Re: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!)
Message-ID:  <20121113120642.GW69724@acme.spoerlein.net>
In-Reply-To: <CALCpEUExcpDUb9uDieB-WEkdkc6SPr%2BXX-zvC-qScw-uiBwSiw@mail.gmail.com>
References:  <CALCpEUHXkyPgqaypkiatx978jjMbiYtvMZC3nNHNpnRSdLf=PA@mail.gmail.com> <508D0F11.1060203@kovesdan.org> <CAJ-VmomQVC-OfY7a%2B-tH0W9ekHGW6JidQ869Q6H94pTSk8xoKQ@mail.gmail.com> <CAGH67wT-GO2a2n3RcXd0_TE%2BWDhJSwjvOst9vFrZJG5SNz0kFA@mail.gmail.com> <CALCpEUExcpDUb9uDieB-WEkdkc6SPr%2BXX-zvC-qScw-uiBwSiw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2012-10-29 at 23:13:00 -0700, hiren panchasara wrote:
> Thank you all for the inputs.
> I understand this is a long grueling process so I will attempt to do things
> in approximately following order:
> 
> 1) prepare a new port for bsd patch
> 2) make sure new bsd patch has all options of existing gnu patch
> 3) merge outstanding patches:
> http://svnweb.freebsd.org/base/head/gnu/usr.bin/patch/?view=log
> 4) bug compatibility
> 5) performance

For 2) and 4) (maybe also 5?) you really should look into ATF and come
up with some test cases for each option, someone else also mentioned
unit tests that GNU patch ships with?

We really would like to see *BSD patch in the base, but it should come
with unit tests; it is 2012, after all :)

Thanks!
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121113120642.GW69724>