Re: Packaging Process - PLEASE READ

Dag Wieers <[email protected]> Mon, 24 May 2004 14:15:36 +0200 (CEST)
Newsgroups gmane.linux.redhat.rpm.atrpms.repo-coordination
Organization 3TI Web Hosting Services
Message-ID <[email protected]>
On Fri, 21 May 2004, Rudolf Kastl wrote:

I agree with everything except:

> B. The Spec
> 1. perl and sed should be avoided, clean patches are preferred, unless
> really necassery. 
> (rudolf kastl/newrpms)

perl-oneliners are prefered because:

  + They are much easier to maintain (wrt. new release)
  + They are simpler to understand
  + They are inline (and therefor easier to manage)
  + They actually work with CVS and subversion (try diffing a patch)
  + They can be automated to find if they are obsolete
  + Even when obsolete, they will not break a build
  + If you combine it with dist-specific macros they are a life-saver
    (You have a simple overview of what is changed for each dist in order 
    to build)
  + Developers can apply them to CVS without having to merge it manually

If it is possible to patch something with a single perl-oneliner I would 
actually advice people to use that over a much larger patch.

--   dag wieers,  [email protected],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]