whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Process listing files
Date Wed, 27 Nov 2019 01:04:39 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new e8e5ff6  Process listing files
e8e5ff6 is described below

commit e8e5ff69c6d1aa88cada4e15b086248e1fba0189
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Nov 27 01:04:36 2019 +0000

    Process listing files
---
 Rakefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Rakefile b/Rakefile
index 815c383..58e2a08 100644
--- a/Rakefile
+++ b/Rakefile
@@ -100,6 +100,17 @@ namespace :svn do
         svnrepos.each do |name, description|
           puts
           puts File.join(Dir.pwd, name)
+          if description['list']
+            puts "Updating listing file"
+            old,new = ASF::SVN.updatelisting(name)
+            if old == new
+              puts "List is up to date with SVN: #{new}"
+            elsif old == nil
+              puts new
+            else
+              puts "List updated: #{old} => SVN: #{new}"
+            end
+          end
           svnpath = (base + description['url']).to_s
           if Dir.exist? name
             if `svn info #{name}`[/^URL: (.*)/, 1] != svnpath


Mime
View raw message