Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] repoman: update copyright on modified files
Date: Thu, 20 Oct 2011 19:13:08
Message-Id: 4EA072A4.5020306@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] repoman: update copyright on modified files by Mike Gilbert
1 On 10/20/2011 11:55 AM, Mike Gilbert wrote:
2 > On Thu, Oct 20, 2011 at 2:23 PM, Fabian Groffen <grobian@g.o> wrote:
3 >> To retain the behaviour of echangelog, update the copyrights on modified
4 >> files (mostly ebuilds) when necessary. Also update the ChangeLog's
5 >> copyright.
6 >>
7 >> diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py
8 >> --- a/pym/repoman/utilities.py
9 >> +++ b/pym/repoman/utilities.py
10 >> @@ -548,6 +616,16 @@
11 >> logging.critical(err)
12 >> return None
13 >>
14 >> + year = time.strftime('%Y')
15 >> + date = time.strftime('%d %b %Y')
16 >> +
17 >
18 > echangelog calls time.strftime('%d %b %Y', gmtime) so that UTC is always used.
19 >
20
21 Thanks, the existing code is fixed in git now:
22
23 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0f261405f63cd09639728da78e70a254cd3c5320
24 --
25 Thanks,
26 Zac