Re: [gentoo-dev] Re: CVS headers in ebuilds

2016-04-09 Thread Lars Wendler
On Sat, 9 Apr 2016 12:12:44 +0200 Ole Reifschneider wrote:

>On Tue, Apr 05, 2016 at 12:30:15AM -0400, Jonathan Callen wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA512
>>
>> On 04/04/2016 02:58 AM, Lars Wendler wrote:  
>> > On Sun, 3 Apr 2016 22:57:42 +0200 Ulrich Mueller wrote:
>> >  
>> >> Does anyone still use the CVS $Id$ keywords that are in all
>> >> ebuilds' headers, or are they being expanded anywhere? Or is
>> >> there any other reason why they should be kept?
>> >>
>> >> In fact, the council had already voted to drop them in its
>> >> 20141014 meeting:
>> >>
>> >> Can we drop CVS headers post-migration? Aye: blueness, creffett
>> >> (proxy for ulm), dberkholz, dilfridge, radhermit, rich0, williamh
>> >>
>> >>
>> >> Ulrich  
>> >
>> > Yes, I still use these lines to check for ebuild changes between
>> > portage and my personal overlay. So please keep this line.
>> >
>> > Thanks.
>> >
>> > Lars
>> >  
>>
>> I do the same (after enabling expansion in .git/info/attributes on
>> just "*.ebuild", I can even get a quick diff of what changed in
>> gentoo.git to update my overlay).
>>  
>
>Sounds cool. Can you please explain in more detail how you do this?
>
>Ole
>

Enable the ident feature for *.ebuild files in git:

  $ cat ~/gentoo/.git/info/attributes
  *.ebuild ident

Now re-checkout every ebuild you wanna track. 

  $ git checkout -- ~/gentoo/www-client/seamonkey/seamonkey-2.40.ebuild

Once you have done that those ebuilds will have some hash in the $Id$
field:

  $ grep '$Id' ~/gentoo/www-client/seamonkey/seamonkey-2.40.ebuild
  # $Id: 5ecd7709c6c8a316d9f005b4e4a0a54da81eb048 $

The same hash is in each corresponding ebuild in my personal overlay as
well. Occasionally I run a script to compare ebuilds from my overlay
with the one from the git tree. When the hash is different something in
the gentoo ebuild has changed and I can decide if I want to apply these
changes to ebuilds in my overlay as well.

I hope this brief explanation is sufficient.

Kind regards
Lars

-- 
Lars Wendler
Gentoo package maintainer
GPG: 21CC CF02 4586 0A07 ED93  9F68 498F E765 960E 9B39

Attention! New gpg key! See (self signed server cert for now)
http://www.gentoofan.org/blog/index.php?/archives/9-New-gpg-keys.html


pgpjQtsVSDtLY.pgp
Description: Digitale Signatur von OpenPGP


Re: [gentoo-dev] Re: CVS headers in ebuilds

2016-04-09 Thread Ole Reifschneider
On Tue, Apr 05, 2016 at 12:30:15AM -0400, Jonathan Callen wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> On 04/04/2016 02:58 AM, Lars Wendler wrote:
> > On Sun, 3 Apr 2016 22:57:42 +0200 Ulrich Mueller wrote:
> >
> >> Does anyone still use the CVS $Id$ keywords that are in all
> >> ebuilds' headers, or are they being expanded anywhere? Or is
> >> there any other reason why they should be kept?
> >>
> >> In fact, the council had already voted to drop them in its
> >> 20141014 meeting:
> >>
> >> Can we drop CVS headers post-migration? Aye: blueness, creffett
> >> (proxy for ulm), dberkholz, dilfridge, radhermit, rich0, williamh
> >>
> >>
> >> Ulrich
> >
> > Yes, I still use these lines to check for ebuild changes between
> > portage and my personal overlay. So please keep this line.
> >
> > Thanks.
> >
> > Lars
> >
>
> I do the same (after enabling expansion in .git/info/attributes on
> just "*.ebuild", I can even get a quick diff of what changed in
> gentoo.git to update my overlay).
>

Sounds cool. Can you please explain in more detail how you do this?

Ole



[gentoo-dev] Re: CVS headers in ebuilds

2016-04-04 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 04/04/2016 02:58 AM, Lars Wendler wrote:
> On Sun, 3 Apr 2016 22:57:42 +0200 Ulrich Mueller wrote:
> 
>> Does anyone still use the CVS $Id$ keywords that are in all
>> ebuilds' headers, or are they being expanded anywhere? Or is
>> there any other reason why they should be kept?
>> 
>> In fact, the council had already voted to drop them in its
>> 20141014 meeting:
>> 
>> Can we drop CVS headers post-migration? Aye: blueness, creffett
>> (proxy for ulm), dberkholz, dilfridge, radhermit, rich0, williamh
>> 
>> 
>> Ulrich
> 
> Yes, I still use these lines to check for ebuild changes between 
> portage and my personal overlay. So please keep this line.
> 
> Thanks.
> 
> Lars
> 

I do the same (after enabling expansion in .git/info/attributes on
just "*.ebuild", I can even get a quick diff of what changed in
gentoo.git to update my overlay).

- -- 
Jonathan Callen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJXAz9VAAoJEEIQbvYRB3mg5wMP/1sjOs1yDT9qI96Cy/s3K+el
+VfRKu1GmxCZgNzWJRMWkKRkYh6eY90aZ9naIijadlShsA4HtaP6psRIPuWxbxBZ
UPDOqb+xxhm178Rj7BGeU/TtHGLyEE+09KqQSNOi6EwwVXWBSBcAJQln/IGMI831
4daghpp2UlUUhgkFlCyk9M2MsXbA5CtJo8tKp+mUt/0p6dxP458yxzK7gUC9eY3b
TnjxP60T6oFWSnZQYJ0Qdj4DemBIe3B0uRWY87uST2KLA8dtCbsEKlRa9fE83JfS
GT6G2RBetphsR5GJsEEgCOpu5MWXMwxjLFM7YMHo9mTDk4PhFuq82g88ZAaCQNta
sG6wWPWnAiIh54nqT6axvM1FQ3OoPQI7hGG99zuUQAaZXp29lsxcFiRT2FWdecLk
0fyrAa3/0rBm6Bixr+YxsD27n0pjTQUzgOlfwfVT8mf+hKJ1X8DqXrkB5axpp/pc
eArYrt/nYzmfMFM021xST8K5tDqTxd+MI6ZcMoeVAsJEdCyS/KvySYrinbe4PfRa
v0ricr8hXDsAbVT91BwC/T+AWpSGn0K5T/VGqCeTDHdH3Dn+x2JGpVRE159/f/2e
gD5ByNhIet+gSDMS+9Q/HO62mbs7Qu9Bwqi2cYKKeyIgHMi1s6JTh+tzOUxrC6Ny
sJkCQLlAIKZ5LDlJ/DZu
=Y/Tk
-END PGP SIGNATURE-