* Posting a patch
@ 2008-03-20 13:49 Gerrard Geldenhuis
2008-03-20 13:45 ` Bryn M. Reeves
0 siblings, 1 reply; 3+ messages in thread
From: Gerrard Geldenhuis @ 2008-03-20 13:49 UTC (permalink / raw)
To: lvm-devel
Hi
Please excuse my ignorance but this not something I have done often
enough to know how to do correctly.
I have written a small patch for the man page lvm.8 that I want to
submit. However I am unsure whether I should be creating a diff with cvs
or diff and then if I use either what type of diff needs to be
submitted.
The lvm page only has guidelines on submitting kernel pathces and that
is more of a coding guideline anyway.
Any help would be appreciated.
Or as suggested by Alasdair to just post the whole new man page seeing
as it is so small.
Regards
^ permalink raw reply [flat|nested] 3+ messages in thread
* Posting a patch
2008-03-20 13:49 Posting a patch Gerrard Geldenhuis
@ 2008-03-20 13:45 ` Bryn M. Reeves
2008-03-20 14:13 ` Gerrard Geldenhuis
0 siblings, 1 reply; 3+ messages in thread
From: Bryn M. Reeves @ 2008-03-20 13:45 UTC (permalink / raw)
To: lvm-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gerrard Geldenhuis wrote:
> I have written a small patch for the man page lvm.8 that I want to
> submit. However I am unsure whether I should be creating a diff with cvs
> or diff and then if I use either what type of diff needs to be
> submitted.
Hi Gerrard,
You can generate the patch either way - whichever you prefer. Either one
should be generated in unified diff format (-u). When I am taking
patches from CVS I normally do:
cd ~/cvs/LVM2
cvs diff -up 2>/dev/null > the.patch
The "-p" causes the diff to include the declaration for the function
being changed - very handy for patches to .c files but probably not
necessary for a man page patch.
Otherwise, I'd do something like:
cd LVM2/
diff -Nurp man/lvm.8.orig man/lvm.8 > the.patch
Again, the -Nrp options probably aren't needed for a man page patch but
that's what I use for generating most of my patches.
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFH4mpo6YSQoMYUY94RAibJAKDJq84LVcWj6EzgC8/PkzZAET7tJACfSBlD
tajy6BSeCkM1F+sM2LSsNyM=
=6w4B
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Posting a patch
2008-03-20 13:45 ` Bryn M. Reeves
@ 2008-03-20 14:13 ` Gerrard Geldenhuis
0 siblings, 0 replies; 3+ messages in thread
From: Gerrard Geldenhuis @ 2008-03-20 14:13 UTC (permalink / raw)
To: lvm-devel
Thanks Bryn,
Here goes nothing...
I have attached a small patch for the lvm.8 man page to detail valid
characters and names. The man pages for pvcreate and lvcreate refer you
to lvm.8 for common options and I thougt it best to include naming
details in lvm.8 rather than duplicating information in each man page. I
have been sparse with making characters/keywords bold.
Regards
> -----Original Message-----
> From: lvm-devel-bounces at redhat.com
[mailto:lvm-devel-bounces at redhat.com]
> On Behalf Of Bryn M. Reeves
> Sent: 20 March 2008 13:45
> To: LVM2 development
> Subject: Re: [lvm-devel] Posting a patch
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gerrard Geldenhuis wrote:
> > I have written a small patch for the man page lvm.8 that I want to
> > submit. However I am unsure whether I should be creating a diff with
cvs
> > or diff and then if I use either what type of diff needs to be
> > submitted.
>
> Hi Gerrard,
>
> You can generate the patch either way - whichever you prefer. Either
one
> should be generated in unified diff format (-u). When I am taking
> patches from CVS I normally do:
>
> cd ~/cvs/LVM2
> cvs diff -up 2>/dev/null > the.patch
>
> The "-p" causes the diff to include the declaration for the function
> being changed - very handy for patches to .c files but probably not
> necessary for a man page patch.
>
> Otherwise, I'd do something like:
>
> cd LVM2/
> diff -Nurp man/lvm.8.orig man/lvm.8 > the.patch
>
> Again, the -Nrp options probably aren't needed for a man page patch
but
> that's what I use for generating most of my patches.
>
> Regards,
> Bryn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm.8.diff-2007-03-20
Type: application/octet-stream
Size: 899 bytes
Desc: lvm.8.diff-2007-03-20
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080320/20085c98/attachment.obj>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-20 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20 13:49 Posting a patch Gerrard Geldenhuis
2008-03-20 13:45 ` Bryn M. Reeves
2008-03-20 14:13 ` Gerrard Geldenhuis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.