Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497552 - repoman should base Copyright check on Modify date, not on Access or Change date
Summary: repoman should base Copyright check on Modify date, not on Access or Change date
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 17:36 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2014-01-08 17:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-01-08 17:36:23 UTC
$ stat ant-contrib-1.0_beta2-r2.ebuild 
  File: ‘ant-contrib-1.0_beta2-r2.ebuild’
  Size: 1636      	Blocks: 8          IO Block: 4096   regular file
Device: 802h/2050d	Inode: 8668428     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/  tomwij)   Gid: ( 1000/  tomwij)
Access: 2013-02-06 22:32:04.000000000 +0100
Modify: 2010-02-28 13:02:54.000000000 +0100
Change: 2013-02-06 22:32:04.638049048 +0100

 $ repoman full

RepoMan scours the neighborhood...
  repo.eapi.deprecated          1
   dev-java/ant-contrib/ant-contrib-1.0_beta3.ebuild: 1
  ebuild.badheader              1
   dev-java/ant-contrib/ant-contrib-1.0_beta2-r2.ebuild: Invalid Gentoo Copyright on line: 1

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."

 $ grep -r '\(Copyright\|Header\)'
ChangeLog:# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
ChangeLog:# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-contrib/ChangeLog,v 1.36 2010/02/28 12:02:54 caster Exp $
ant-contrib-1.0_beta3.ebuild:# Copyright 1999-2010 Gentoo Foundation
ant-contrib-1.0_beta3.ebuild:# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-contrib/ant-contrib-1.0_beta3.ebuild,v 1.7 2010/02/28 12:02:54 caster Exp $
ant-contrib-1.0_beta2-r2.ebuild:# Copyright 1999-2008 Gentoo Foundation
ant-contrib-1.0_beta2-r2.ebuild:# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-contrib/ant-contrib-1.0_beta2-r2.ebuild,v 1.9 2010/02/28 12:02:54 caster Exp $
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-01-08 17:37:11 UTC
Err... Now I see, 2008 != 2010.