Re: How to send a patch in a proper way?

2010-03-30 Thread Giorgos Keramidas
On Fri, 19 Mar 2010 23:20:49 +0100, Adam PAPAI w...@wooh.hu wrote:
 Hi,

 As of today I'll try to help and create bugfix patches for usr/src and
 usr/ports.

 I've already done 2 patches and posted it to the -current list but
 don't really know what is the best way to post the patches. Who will
 check them? who will make the decision to use them? How should I
 send the patches? diff -u full path or relative path?

 Is there any FAQ about this issue?

The appropriate path is often a judgement call for you.  I usually send
patches that include at least *part* of the pathname, e.g. when patches
for ports are created I diff at the toplevel /usr/ports tree, so that
both the port-categogy and the port-name are visible in the patch file.

When generating patches for the /usr/src tree it is also useful to see
the relative path under /usr/src, e.g. I try to use:

cd /usr/src
diff -ruN bin/ls.orig bin/ls

When the pathname of the source subdirectory is trivial to infer from
the name of the utility itself you can also just diff files inside the
source of the utility itself:

cd /usr/src/bin/ls
diff -u ls.c.orig ls.c

You shouldn't worry too much about pathname context though.  The FreeBSD
developers will ask for more details if they cannot understand what you
are patching.  A couple of email iterations later you'll both know what
is being patched where it was patched, and so on.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to send a patch in a proper way?

2010-03-19 Thread Adam PAPAI

Hi,

As of today I'll try to help and create bugfix patches for usr/src and 
usr/ports.


I've already done 2 patches and posted it to the -current list but don't 
really know what is the best way to post the patches. Who will check 
them? who will make the decision to use them? How should I send the 
patches? diff -u full path or relative path?


Is there any FAQ about this issue?

Thanks in advance,

--
Adam PAPAI

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to send a patch in a proper way?

2010-03-19 Thread Charlie Kester

On Fri 19 Mar 2010 at 15:20:49 PDT Adam PAPAI wrote:

Hi,

As of today I'll try to help and create bugfix patches for usr/src 
and usr/ports.


I've already done 2 patches and posted it to the -current list but 
don't really know what is the best way to post the patches. Who will 
check them? who will make the decision to use them? How should I 
send the patches? diff -u full path or relative path?


Is there any FAQ about this issue?


For a general discussion about submitting bug reports (PR's), see
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/contrib-how.html#CONTRIB-GENERAL

For PR's related to ports, see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html

Make sure that your PR uses the category ports and it will be reviewed
by the ports committers.





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org