From 3b55e2fc8728514d0b92cc874c328aae4837999c Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Mon, 6 Nov 2023 15:54:19 +0000 Subject: [PATCH] import osc orgs --- lib/tasks/projects.rake | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/tasks/projects.rake b/lib/tasks/projects.rake index dc3e800..e834fb0 100644 --- a/lib/tasks/projects.rake +++ b/lib/tasks/projects.rake @@ -61,7 +61,6 @@ namespace :projects do puts new_name p = collection.projects.find_or_create_by!(url: new_name) p.sync_async - end puts @@ -70,11 +69,11 @@ namespace :projects do urls.sort.each do |url| next if url.include?('github.com') == false next if url.gsub('https://github.com/', '').split('/').length > 1 - # skip for now + collection.import_org('GitHub', url.gsub('https://github.com/', '')) end - puts - puts "non-github" + # puts + # puts "non-github" urls.sort.each do |url| next if url.include?('github.com') == true