FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 01-07-2010, 04:44 PM
"Daniel P. Berrange"
 
Default Question about dist-cvs make targets

On Thu, Jan 07, 2010 at 09:28:26AM -0800, Jesse Keating wrote:
> As I proceed to port our make system over into fedpkg, I've ran across a
> couple targets that are giving me pause.
>
> Is anybody out there making use of the following targets?
>
> check
> export
> patch
> unused-patches
> unused-fedora-patches
>
> If so, please reply to which one, and in what scenario you use those
> targets. Thanks!

I used 'unused-patches' every now & then to quickly check which patches
are obsolete - it is easier than doing it by hand in packages which have
more than 10 patches applied.


Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 04:51 PM
David Cantrell
 
Default Question about dist-cvs make targets

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 7 Jan 2010, Jesse Keating wrote:


As I proceed to port our make system over into fedpkg, I've ran across a
couple targets that are giving me pause.

Is anybody out there making use of the following targets?

check
export
patch
unused-patches
unused-fedora-patches

If so, please reply to which one, and in what scenario you use those
targets. Thanks!


I was using 'unused-patches' until the packaging guidelines had us change
Patch lines to use %{name} if that applied. The unused-patches target would
be helpful if it could expand RPM macros.

That may have changed now. I haven't checked it in a while.

- --
David Cantrell <dcantrell@redhat.com>

Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)

iEYEARECAAYFAktGHxAACgkQ5hsjjIy1VkkA8ACeIRILiiyrMY GvRIf/HW4/C1Rh
wK8AoLRRd0JWEftiXv7Vqpop0LLG1eXg
=Ix6d
-----END PGP SIGNATURE-----

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 04:55 PM
Jonathan Underwood
 
Default Question about dist-cvs make targets

2010/1/7 Jesse Keating <jkeating@redhat.com>:
> As I proceed to port our make system over into fedpkg, I've ran across a
> couple targets that are giving me pause.
>
> Is anybody out there making use of the following targets?
>
> check
> export
> patch
> unused-patches
> unused-fedora-patches
>
> If so, please reply to which one, and in what scenario you use those
> targets. *Thanks!

I have used make patch quite a bit when developing patches. I guess
it's just a wrapper around gendiff though, so it maybe redundant i.e.
in my use case I could have been using gendiff.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 04:55 PM
Dan Horák
 
Default Question about dist-cvs make targets

Jesse Keating pÃ*Å¡e v ÄŒt 07. 01. 2010 v 09:28 -0800:
> As I proceed to port our make system over into fedpkg, I've ran across a
> couple targets that are giving me pause.
>
> Is anybody out there making use of the following targets?
>
> unused-patches

I tried to use this one when putting some packages with long history and
some balast into a shape, but I wasn't 100% successful IIRC.

> If so, please reply to which one, and in what scenario you use those
> targets. Thanks!


Dan


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 05:12 PM
Colin Walters
 
Default Question about dist-cvs make targets

On Thu, Jan 7, 2010 at 5:28 PM, Jesse Keating <jkeating@redhat.com> wrote:

> unused-patches

I use this one, but it's probably something that should just happen as
part of a build sanity check, or even better make it harder to cause
(the new dist-git setup might do this right?)

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 05:26 PM
Adam Jackson
 
Default Question about dist-cvs make targets

On Thu, 2010-01-07 at 07:51 -1000, David Cantrell wrote:

> I was using 'unused-patches' until the packaging guidelines had us change
> Patch lines to use %{name} if that applied. The unused-patches target would
> be helpful if it could expand RPM macros.

That's a guideline worth ignoring.

If I'm being less charitable, that's a guideline worth deleting.

- ajax
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 05:47 PM
Enrico Scholz
 
Default Question about dist-cvs make targets

Jonathan Underwood <jonathan.underwood@gmail.com> writes:

> I have used make patch quite a bit when developing patches. I guess
> it's just a wrapper around gendiff though, so it maybe redundant i.e.
> in my use case I could have been using gendiff.

fwiw, 'gendiff' does not retain comments in patches and fails when one
file is touched by multiple patches. I wrote a wrapper around 'quilt'
which is used like

| %apply -n23 -p1

This expands to

| quilt import -p 1 %PATCH23
| quilt push -f

resp.

| %patch23 -p1

on systems without this macro. Refreshing and developing of patches is
very easy in this way.


Enrico

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 06:20 PM
Jesse Keating
 
Default Question about dist-cvs make targets

On Thu, 2010-01-07 at 19:47 +0100, Enrico Scholz wrote:
> Jonathan Underwood <jonathan.underwood@gmail.com> writes:
>
> > I have used make patch quite a bit when developing patches. I guess
> > it's just a wrapper around gendiff though, so it maybe redundant i.e.
> > in my use case I could have been using gendiff.
>
> fwiw, 'gendiff' does not retain comments in patches and fails when one
> file is touched by multiple patches. I wrote a wrapper around 'quilt'
> which is used like
>
> | %apply -n23 -p1
>
> This expands to
>
> | quilt import -p 1 %PATCH23
> | quilt push -f
>
> resp.
>
> | %patch23 -p1
>
> on systems without this macro. Refreshing and developing of patches is
> very easy in this way.
>
>
> Enrico
>

I think the patch target could be replaced by my exploded tree with git
approach.

--
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-07-2010, 09:10 PM
"Jason L Tibbitts III"
 
Default Question about dist-cvs make targets

>>>>> "DC" == David Cantrell <dcantrell@redhat.com> writes:

DC> I was using 'unused-patches' until the packaging guidelines had us
DC> change Patch lines to use %{name} if that applied.

Please quote chapter and verse there. I don't recall any guidelines
requiring such a thing.

- J<

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-08-2010, 06:20 AM
Panu Matilainen
 
Default Question about dist-cvs make targets

On Thu, 7 Jan 2010, Jesse Keating wrote:


As I proceed to port our make system over into fedpkg, I've ran across a
couple targets that are giving me pause.

Is anybody out there making use of the following targets?

unused-patches


I use this fairly often, typically to clean up leftovers after rebasing to
new version.


- Panu -

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 09:28 AM.

VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org