You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/06/13 23:37:44 UTC
[whimsy] branch master updated: Another unnecessary checkout
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 6472c5a Another unnecessary checkout
6472c5a is described below
commit 6472c5a4d5c599bdf485104602a43f7825884ac0
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jun 14 00:37:35 2020 +0100
Another unnecessary checkout
---
lib/spec/lib/svn_spec.rb | 2 +-
repository.yml | 4 +++-
www/roster/main.rb | 4 ++--
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/lib/spec/lib/svn_spec.rb b/lib/spec/lib/svn_spec.rb
index c29940f..4b8156e 100644
--- a/lib/spec/lib/svn_spec.rb
+++ b/lib/spec/lib/svn_spec.rb
@@ -115,7 +115,7 @@ describe ASF::SVN do
res = ASF::SVN.private_public
expect(res.size()).to equal(2)
expect(res[0].size).to equal(14) # will need to be adjusted from time to time
- expect(res[1].size).to equal(10) # ditto.
+ expect(res[1].size).to equal(9) # ditto.
end
end
diff --git a/repository.yml b/repository.yml
index da1e38e..fd4465c 100644
--- a/repository.yml
+++ b/repository.yml
@@ -43,8 +43,10 @@
- deprecated_mailing_lists.yml
- mail_list_autosub.yml
- attic-xdocs: # TODO: listing
+ attic-xdocs:
url: asf/attic/site/xdocs/projects
+ depth: delete
+ list: true
board:
url: private/committers/board
diff --git a/www/roster/main.rb b/www/roster/main.rb
index 258d776..87aeaae 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -332,8 +332,8 @@ end
# complete podling list
get '/podlings' do
- attic = ASF::SVN['attic-xdocs']
- @attic = Dir[File.join(attic, '*.xml')].map {|file| File.basename(file, '.xml')}
+ _, attic = ASF::SVN.getlisting('attic-xdocs')
+ @attic = attic.select { |file| file.end_with? '.xml'}.map {|file| File.basename(file, '.xml')}
@committees = ASF::Committee.pmcs.map(&:id) # Use list of PMCs from CI.txt
@podlings = ASF::Podling.list