Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-doc
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc@g.o
From: Sebastian Pipping <sping@g.o>
Subject: Re: Where can i download the latest trads (or trads.rb) from?
Date: Tue, 11 May 2010 01:44:16 +0200
On 05/10/10 12:41, Camille Huot wrote:
> You can grab the trads release I downloaded before I patched it
> according to my needs:
> 
> http://files.cameuh.net/trads-200604071846.tgz

thanks!

i have attached the diff on trads.rb from my to your snapshot, if you're
curious.



sebastian
diff --git a/rb/trads.rb b/rb/trads.rb
index 606a24a..db4510e 100755
--- a/rb/trads.rb
+++ b/rb/trads.rb
@@ -206,7 +206,7 @@ class TTrads
       return diff if diff and r1==diff[0][0] and r2==diff[0][1] # We have already done the diff
       
       # Get history log
-      cmd = "cd #{@ttrad.localcvs}; cvs -z0 log -r#{@sync.succ}:#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+      cmd = "cd #{@ttrad.localcvs}; cvs -z3 log -r#{@sync.succ}:#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
       # Run cvs command
 # DEBUG begin
 #  read from local file cvs.log instead (no need to load actual cvs)
@@ -228,7 +228,7 @@ class TTrads
       end
       
       # Diff the revisions
-      cmd = "cd #{@ttrad.localcvs}; cvs -z0 diff -kk -t -U6 -r#{@sync} -r#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+      cmd = "cd #{@ttrad.localcvs}; cvs -z3 diff -kk -t -U6 -r#{@sync} -r#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
       # Run cvs command
 # DEBUG begin
 #  read from local file cvs.log instead (no need to load actual cvs)
@@ -308,7 +308,7 @@ class TTrads
       return yxml[1] if yxml and rev == yxml[0]
       
       # Check the CVS status to see if our local copy of the CVS matches the requested revision
-      cmd = "cd #{@ttrad.localcvs}; cvs -z0 status #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+      cmd = "cd #{@ttrad.localcvs}; cvs -z3 status #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
       # Run cvs command
       po, pe = runrun(cmd, @ttrad.log)
       raise "CVS was not happy!\n\n#{pe.join("\n")}" if pe.length>0
@@ -327,7 +327,7 @@ class TTrads
         # Therefore we use cvs -p -r{revision} and read the file from stdout
         @ttrad.log.info("Getting #{@localfilename} (#{rev}) from repository")
         # Run cvs command
-        cmd = "cd #{@ttrad.localcvs}; cvs -q -z0 update -p -r#{rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+        cmd = "cd #{@ttrad.localcvs}; cvs -q -z3 update -p -r#{rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
         po, pe = runrun(cmd, @ttrad.log)
         raise "CVS was not happy!\n\n#{pe.join("\n")}" if pe.length > 0
         raise "Cannot download #{@localfilename} from CVS.\nMaybe you should try to update your CVS copy." if po.length < 1
@@ -956,7 +956,7 @@ class TTrads
     # If @genhtml contains anything, upload list of targets and our newly generated page
     if @genhtml != "" then
       flst = "#{@xmlfilename} #{@genxml.join(' ')} #{@genhtml.join(' ')} #{@targetList.join(' ')}".squeeze(" ")
-      stdo, stdr = runrun("scp -Cq #{flst}  #{@wwwdev}", @log)
+      stdo, stdr = runrun("scp -Cpq #{flst}  #{@wwwdev}", @log)
       raise "Could not upload files: #{stdr.join("\n")}" if stdr.length > 0
       flst.split
     else
References:
Where can i download the latest trads (or trads.rb) from?
-- Sebastian Pipping
Re: Where can i download the latest trads (or trads.rb) from?
-- Camille Huot
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Where can i download the latest trads (or trads.rb) from?
Next by thread:
Re: Where can i download the latest trads (or trads.rb) from?
Previous by date:
Re: Where can i download the latest trads (or trads.rb) from?
Next by date:
Re: Where can i download the latest trads (or trads.rb) from?


Updated Apr 08, 2012

Summary: Archive of the gentoo-doc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.