changeset 348:8d0e011332ef live

Merge from branch "feature_122"
author Chris Cannam
date Thu, 31 Mar 2011 15:23:46 +0100
parents a0956f78f39c (diff) 1a514b9347d4 (current diff)
children c46fbe5d58ce
files
diffstat 2 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/files_controller.rb	Thu Mar 31 15:19:30 2011 +0100
+++ b/app/controllers/files_controller.rb	Thu Mar 31 15:23:46 2011 +0100
@@ -8,7 +8,7 @@
   include SortHelper
 
   def index
-    sort_init 'active', 'asc'
+    sort_init 'active', 'desc'
     sort_update 'filename' => "#{Attachment.table_name}.filename",
 		'active' => "#{Attachment.table_name}.active",
                 'created_on' => "#{Attachment.table_name}.created_on",
--- a/extra/soundsoftware/reposman-soundsoftware.rb	Thu Mar 31 15:19:30 2011 +0100
+++ b/extra/soundsoftware/reposman-soundsoftware.rb	Thu Mar 31 15:23:46 2011 +0100
@@ -346,14 +346,5 @@
     log("\trepository #{repos_path} created");
   end
 
-  if project.respond_to?(:repository) and project.repository.is_external?
-    external_url = project.repository.external_url;
-    log("\tproject #{project.identifier} has external repository url #{external_url}");
-    if !external_url.match(/^https?:/)
-      # wot about git, svn/svn+ssh, etc? should we just check for a scheme at all?
-      log("\tthis is not an http(s) url: ignoring");
-    end
-  end
-
 end