stefan-langenmaier / jami-overlay

Jami (formerly Ring (formerly SFLphone)) is a SIP compatible softphone for GNU/Linux.
GNU General Public License v3.0
21 stars 9 forks source link

Drop CVS headers as gentoo council recommended #29

Closed YogSottot closed 7 years ago

YogSottot commented 7 years ago

https://bugs.gentoo.org/show_bug.cgi?id=611234

The council confirms its earlier decision (2014-10-14 meeting) to drop CVS headers after migration to Git. 1) Any $Id$ and $Header$ lines are to be removed from ebuilds and eclasses in the gentoo repository, as well as from other files, e.g., metadata, profiles, and files (except patches) in FILESDIR. 2) Removal should be done at once, and a repoman check should be implemented to prevent such lines from accidentally being inserted again. 3) Infra is asked not to expand any $Id$ or other keywords, neither at rsync generation time, nor via git attributes in the development repository."

stefan-langenmaier commented 7 years ago

Is there a script available to do it? I'd like to follow suit in my other overlays. :)

YogSottot commented 7 years ago

Don't know, i just use sed

sed -i */*/metadata.xml -e '/^# \$Id\$$/d'
sed -i */*/*.ebuild -e '/^# \$Id\$$/d'

There is some sed examples in comments in this bug.

stefan-langenmaier commented 7 years ago

Thanks! I saw that you also changed it in the metadata.xml files and I was sure I would have overlooked it in there. :)