Re: [gentoo-scm] Re: [gentoo-dev] Git Migration: go-live!

2015-08-09 Thread Robin H. Johnson
On Sun, Aug 09, 2015 at 09:10:30AM -0400, Rich Freeman wrote:
 We shouldn't do anything (besides adapting repoman to the $Id$ format)
 without some discussion first.  However...
 
 Do we really need to have ANY keywords in our files?  Keyword
 expansion was just a PITA all-around with cvs.  Do we really need to
 embed them in our git files?
 
 At least git doesn't expand them in the actual repository.
 
 I'm not really a big fan of any kind of in-band signaling.  I guess
 the one advantage of this is that if you find a file OUTSIDE of a
 repository you know where it came from, but how important is that?
The expansion is ONLY for the rsync export, so that we can identify the
version of the file on a user's system.

When previously discussed, that was a strongly requested item, as
developers DO sometimes ask users to please test rev 1.xyz of an ebuild.

-- 
Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead
E-Mail : robb...@gentoo.org
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85



Re: [gentoo-scm] Re: [gentoo-dev] Git Migration: go-live!

2015-08-09 Thread Rich Freeman
On Sun, Aug 9, 2015 at 8:43 AM, Mike Frysinger vap...@gentoo.org wrote:
 On 09 Aug 2015 14:54, Alexey Shvetsov wrote:
 Hi all!

 please don't top post

 Current repoman complains about headers in ebuilds

  Creating Manifest for /home/alexxy/Gentoo/gentoo/sys-cluster/open-mx
ebuild.badheader  1
 sys-cluster/open-mx/open-mx-1.5.4.ebuild: Malformed CVS Header on
 line: 3

 So may be its better to drop $Id: $ completely?

 it should look like:
 # $Id$


We shouldn't do anything (besides adapting repoman to the $Id$ format)
without some discussion first.  However...

Do we really need to have ANY keywords in our files?  Keyword
expansion was just a PITA all-around with cvs.  Do we really need to
embed them in our git files?

At least git doesn't expand them in the actual repository.

I'm not really a big fan of any kind of in-band signaling.  I guess
the one advantage of this is that if you find a file OUTSIDE of a
repository you know where it came from, but how important is that?

-- 
Rich



Re: [gentoo-scm] Re: [gentoo-dev] Git Migration: go-live!

2015-08-09 Thread Mike Frysinger
On 09 Aug 2015 14:54, Alexey Shvetsov wrote:
 Hi all!

please don't top post

 Current repoman complains about headers in ebuilds
 
  Creating Manifest for /home/alexxy/Gentoo/gentoo/sys-cluster/open-mx
ebuild.badheader  1
 sys-cluster/open-mx/open-mx-1.5.4.ebuild: Malformed CVS Header on 
 line: 3
 
 So may be its better to drop $Id: $ completely?

it should look like:
# $Id$

but even then, yes, we should just trim the line
-mike


signature.asc
Description: Digital signature


Re: [gentoo-scm] Re: [gentoo-dev] Git Migration: go-live!

2015-08-09 Thread Alexey Shvetsov

Mike Frysinger писал 09-08-2015 15:43:

On 09 Aug 2015 14:54, Alexey Shvetsov wrote:

Hi all!


please don't top post


Current repoman complains about headers in ebuilds

 Creating Manifest for /home/alexxy/Gentoo/gentoo/sys-cluster/open-mx
   ebuild.badheader  1
sys-cluster/open-mx/open-mx-1.5.4.ebuild: Malformed CVS Header on
line: 3

So may be its better to drop $Id: $ completely?


it should look like:
# $Id$

but even then, yes, we should just trim the line
-mike


Since repoman do comparison with header.txt which contains


alexxy@x240 ~/Gentoo/gentoo $ cat header.txt
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

So we can change last line to $Id$ or since it dont actualy needed we 
can simply drop it.


--
Best Regards,
Alexey 'Alexxy' Shvetsov
Best Regards,
Alexey 'Alexxy' Shvetsov, PhD
Department of Molecular and Radiation Biophysics
FSBI Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,
Leningrad region, Gatchina, Russia
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexx...@gmail.com
mailto:ale...@gentoo.org
mailto:ale...@omrb.pnpi.spb.ru