View Single Post
Re: Open-Source , how to handle?
Old
  (#14)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: Open-Source , how to handle? - 16-04-2004

i would say that, if you do not want cvs, you must atleast use patch and diff, in order to have some change of importing code easy and understandable.
a diff looks like this:
Code:
 diff -uHr vdr-1.2.0.patched/svdrp.c vdr-1.2.0/svdrp.c
 --- vdr-1.2.0.patched/svdrp.c   2003-04-27 16:21:07.000000000 +0200
 +++ vdr-1.2.0/svdrp.c   2003-06-06 21:34:03.000000000 +0200
 @@ -726,7 +726,10 @@
    else if (recordings) {
 	  cRecording *recording = Recordings.First();
 	  while (recording) {
 -		   Reply(recording == Recordings.Last() ? 250 : -250, "%d %s", recording->Index() + 1, recording->Title(' ', true));
 +									    cIndexFile *oIndex = new cIndexFile(recording->FileName(), false);
 +									    const char *sTime = IndexToHMSF(oIndex->Last());
 +									    Reply(recording == Recordings.Last() ? 250 : -250, "%d %s\t<%s>", recording->Index() + 1, recording->Title(' ', true), sTime);
 +									    delete oIndex;
 			recording = Recordings.Next(recording);
 			}
 	  }
the first line shows the comand used to generate the diff, its very easy to make and all tools needed are 2 executables available for all operating systems (most compilers do come along with "diff" and "patch" allready)

i know of good and big/complex software which is developed by using a mailinglist and diffs/patches and no cvs. since the software is widely used the mailinglist has quite some traffic (20-50 mails per day).
but this assumes everybody uses a mailer and has some basic knowlege how to handle larger amounts of emails per day


sunny morning view from my balcony:

see our WIKI!
see our filebase!
  
Reply With Quote