tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reducing the number of patches in pkgsrc



On 05/01/2008, at 19:13, Roland Illig wrote:

Greg Troxel wrote:
  To make things easier in the future, I'd like to have a variable
  SEND_PATCHES_TO in the package Makefiles, so that the patch authors
That sounds sensible, following HOMEPAGE.
It might also make sense to have a machine-parseable format for
recording upstream tracking status in patch files, or to record that it
is a pkgsrc change (e.g., examples/conf file installation).  Then
pkglint could warn when there isn't a recorded status for a patch.

http://mail-index.netbsd.org/tech-pkg/2006/07/01/0002.html
http://mail-index.netbsd.org/tech-pkg/2006/07/01/0015.html

As I said back then, we need some handy tools to keep us away from any manual work.

I just want to say "pkg_send_patches" in a package directory, which then does the following:

- Determine the status of the patches
- Determine where to send the patches
- Send the patches
- Make the appropriate changes to patches/status
- Remind the user to "cvs commit patches/status"

Later, when upstream has decided about the patches, the changes need to be recorded in the patches/status file. That would require another tool.

What is this "status" file? Does it mention the "feedback status" of each patch? Why don't we put this information in the patch itself?

--
Julio M. Merino Vidal <jmmv84%gmail.com@localhost>





Home | Main Index | Thread Index | Old Index