FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Documentation

 
 
LinkBack Thread Tools
 
Old 05-10-2010, 10:41 AM
Camille Huot
 
Default Where can i download the latest trads (or trads.rb) from?

On Tue, May 4, 2010 at 7:40 AM, Sebastian Pipping <sping@gentoo.org> wrote:
> it seems that [1] is by far not the latest version of trads.
> does anyone have tarballs of trads of 26-Nov-2005 or later?

Hi Sebastian,

You can grab the trads release I downloaded before I patched it
according to my needs:

http://files.cameuh.net/trads-200604071846.tgz

> also, does anyone ..
> - know about a new location of xavier's website?
> - have backups of his website around somewhere,
> *especially trads-doc.xml previously up on [2]?

No idea, sorry :/

Best regards,
--
Camille Huot
 
Old 05-10-2010, 11:44 PM
Sebastian Pipping
 
Default Where can i download the latest trads (or trads.rb) from?

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!

#{pe.join("
")}" 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!

#{pe.join("
")}" if pe.length > 0
raise "Cannot download #{@localfilename} from CVS.
Maybe 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("
")}" if stdr.length > 0
flst.split
else
 

Thread Tools




All times are GMT. The time now is 04:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org