From 5b8f61eb57fc511b4110bb28c627f5761ecf349e Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Tue, 8 Nov 2022 09:34:42 -0500 Subject: [PATCH] 19710: Fix broken Redmine links throughout. There's a handful of Redmine links throughout the source code that still use arvados.org as their host part. None of the links work after the site reorganization. I found them all by running: git grep -F /arvados.org/projects/ This commit fixes all these links. Most were fixed by simply updating the host part to dev.arvados.org. The "Introduction to Arvados" wiki page now redirects you to the front page of arvados.org, so I updated that link to match. I confirmed by hand they all work now. Arvados-DCO-1.1-Signed-off-by: Brett Smith --- apps/workbench/app/helpers/version_helper.rb | 2 +- apps/workbench/app/views/users/_tables.html.erb | 2 +- apps/workbench/test/integration/report_issue_test.rb | 2 +- build/run-tests.sh | 2 +- sdk/python/README.rst | 2 +- sdk/ruby/lib/arvados/keep.rb | 2 +- services/fuse/README.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/workbench/app/helpers/version_helper.rb b/apps/workbench/app/helpers/version_helper.rb index e673c81210..d11071272b 100644 --- a/apps/workbench/app/helpers/version_helper.rb +++ b/apps/workbench/app/helpers/version_helper.rb @@ -17,6 +17,6 @@ module VersionHelper # URL for browsing source code for the given version. def version_link_target version - "https://arvados.org/projects/arvados/repository/changes?rev=#{version.sub(/-.*/, "")}" + "https://dev.arvados.org/projects/arvados/repository/changes?rev=#{version.sub(/-.*/, "")}" end end diff --git a/apps/workbench/app/views/users/_tables.html.erb b/apps/workbench/app/views/users/_tables.html.erb index 01a77cdd61..6e3d9e3437 100644 --- a/apps/workbench/app/views/users/_tables.html.erb +++ b/apps/workbench/app/views/users/_tables.html.erb @@ -254,7 +254,7 @@ SPDX-License-Identifier: AGPL-3.0 %> <%= link_to "contact us", Rails.configuration.Workbench.ActivationContactLink %>. You should receive an email at the address you used to log in when your account is activated. In the mean time, you can - <%= link_to "learn more about Arvados", "https://arvados.org/projects/arvados/wiki/Introduction_to_Arvados" %>, + <%= link_to "learn more about Arvados", "https://arvados.org/" %>, and <%= link_to "read the Arvados user guide", "http://doc.arvados.org/user" %>.

diff --git a/apps/workbench/test/integration/report_issue_test.rb b/apps/workbench/test/integration/report_issue_test.rb index d2c4372bce..98ce8aad14 100644 --- a/apps/workbench/test/integration/report_issue_test.rb +++ b/apps/workbench/test/integration/report_issue_test.rb @@ -37,7 +37,7 @@ class ReportIssueTest < ActionDispatch::IntegrationTest assert page.has_button?('Close'), 'No button - Close' assert page.has_no_button?('Send problem report'), 'Found button - Send problem report' history_links = all('a').select do |a| - a[:href] =~ %r!^https://arvados.org/projects/arvados/repository/changes\?rev=[0-9a-f]+$! + a[:href] =~ %r!^https://dev.arvados.org/projects/arvados/repository/changes\?rev=[0-9a-f]+$! end assert_operator(2, :<=, history_links.count, "Should have found two links to revision history " + diff --git a/build/run-tests.sh b/build/run-tests.sh index c8d1b7745f..d60ff38102 100755 --- a/build/run-tests.sh +++ b/build/run-tests.sh @@ -58,7 +58,7 @@ defaults to $HOME/arvados-api-server if that directory exists. More information and background: -https://arvados.org/projects/arvados/wiki/Running_tests +https://dev.arvados.org/projects/arvados/wiki/Running_tests Available tests: diff --git a/sdk/python/README.rst b/sdk/python/README.rst index 570e398a28..5e9bf64c4f 100644 --- a/sdk/python/README.rst +++ b/sdk/python/README.rst @@ -63,5 +63,5 @@ Testing and Development This package is one part of the Arvados source package, and it has integration tests to check interoperability with other Arvados components. Our `hacking guide -`_ +`_ describes how to set up a development environment and run tests. diff --git a/sdk/ruby/lib/arvados/keep.rb b/sdk/ruby/lib/arvados/keep.rb index 458af53a74..e391b7a6ca 100644 --- a/sdk/ruby/lib/arvados/keep.rb +++ b/sdk/ruby/lib/arvados/keep.rb @@ -248,7 +248,7 @@ module Keep end # Verify that a given manifest is valid according to - # https://arvados.org/projects/arvados/wiki/Keep_manifest_format + # https://dev.arvados.org/projects/arvados/wiki/Keep_manifest_format def self.validate! manifest raise ArgumentError.new "No manifest found" if !manifest diff --git a/services/fuse/README.rst b/services/fuse/README.rst index 0416d3dbd2..e0d5046ae2 100644 --- a/services/fuse/README.rst +++ b/services/fuse/README.rst @@ -66,5 +66,5 @@ $ apt-get install python-dev pkg-config libfuse-dev libattr1-dev This package is one part of the Arvados source package, and it has integration tests to check interoperability with other Arvados components. Our `hacking guide -`_ +`_ describes how to set up a development environment and run tests. -- 2.30.2