From: Bartosz Świątek Date: Wed, 21 Sep 2011 11:42:15 +0000 (+0200) Subject: - add section on what to remove in specs X-Git-Url: https://git.tld-linux.org/?p=TLD.git;a=commitdiff_plain;h=8f99043257950064db7d09676ef9f8dc00beae4c - add section on what to remove in specs when moving from pld --- diff --git a/git-howto.txt b/git-howto.txt index ca23bbf..1a52c60 100644 --- a/git-howto.txt +++ b/git-howto.txt @@ -18,6 +18,7 @@ Table Of Content: 4. I've deleted some files in my cloned repo. I'm doing git pull, but they do not reappear. 5. How can I add a description to a new repository? +6. SPECS: What is obsolete now that we have GIT? ============================================================================== 1. How do I commit a new .spec file or package to the repository? @@ -115,3 +116,21 @@ Do the following: ssh git@git.tld-linux.org setdesc packages/some_package "Some description" +============================================================================== +6. SPECS: What is obsolete now that we have GIT? + +Now that we use GIT for our own .spec files and projects, there're some things +we do no longer need. + +a) Remove "# $Revision:" lines on top of a .spec file +b) Remove the whole changelog from the bottom of a .spec file +c) Remove "%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)" +d) Remove feedback stuff and all PLD related links + +Why all that removing? +There're a couple of reasons why we don't want to keep these things in our +specs. +Most of them are strictly CVS related, like the Revision stuff. We don't need +to artificially increase the size of our .spec files by having the whole +changelog included in them. Use "git log", with all its sophisticated options, +to visualise changes, make statistics etc.