14874: Fixes 'the the' typos on documentation & code comments.
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 11 Jun 2019 14:18:53 +0000 (11:18 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 11 Jun 2019 14:18:53 +0000 (11:18 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

doc/_includes/_install_compute_docker.liquid
doc/_includes/_mount_types.liquid
doc/install/install-postgresql.html.textile.liquid
doc/sdk/index.html.textile.liquid
doc/user/topics/collection-versioning.html.textile.liquid
lib/controller/federation.go
sdk/java/src/main/java/org/arvados/sdk/Arvados.java
services/api/test/unit/collection_test.rb
services/keep-balance/balance_test.go
tools/arvbox/lib/arvbox/docker/runit-docker/runit-docker.c

index ea3640e52a077ba0d5ce626740af691f701f4439..69b49e83cd827bc48e45c5b3ff164985377b594f 100644 (file)
@@ -70,7 +70,7 @@ EOF</span>
 
 h2. Download and tag the latest arvados/jobs docker image
 
-In order to start workflows from workbench, there needs to be Docker image tagged @arvados/jobs:latest@. The following command downloads the latest arvados/jobs image from Docker Hub, loads it into Keep, and tags it as 'latest'.  In this example @$project_uuid@ should be the the UUID of the "Arvados Standard Docker Images" project.
+In order to start workflows from workbench, there needs to be Docker image tagged @arvados/jobs:latest@. The following command downloads the latest arvados/jobs image from Docker Hub, loads it into Keep, and tags it as 'latest'.  In this example @$project_uuid@ should be the UUID of the "Arvados Standard Docker Images" project.
 
 <notextile>
 <pre><code>~$ <span class="userinput">arv-keepdocker --pull arvados/jobs latest --project-uuid $project_uuid</span>
index edf8edfd4ab278ee6b134f3ba8dbe773487f3442..de417e14880a4163074f5cbf468b244ea4fac574 100644 (file)
@@ -115,4 +115,4 @@ table(table table-bordered table-condensed).
 
 h2(#symlinks-in-output). Symlinks in output
 
-When a container's output_path is a tmp mount backed by local disk, this output directory can contain symlinks to other files in the the output directory, or to collection mount points.  If the symlink leads to a collection mount, efficiently copy the collection into the output collection.  Symlinks leading to files or directories are expanded and created as regular files in the output collection.  Further, whether symlinks are relative or absolute, every symlink target (even targets that are symlinks themselves) must point to a path in either the output directory or a collection mount.
+When a container's output_path is a tmp mount backed by local disk, this output directory can contain symlinks to other files in the output directory, or to collection mount points.  If the symlink leads to a collection mount, efficiently copy the collection into the output collection.  Symlinks leading to files or directories are expanded and created as regular files in the output collection.  Further, whether symlinks are relative or absolute, every symlink target (even targets that are symlinks themselves) must point to a path in either the output directory or a collection mount.
index aabe6629d939c36b782eedc2185d665f485aa3b2..b1c9cda086d1c430f1f6d5bdc887b1b27ad8ec54 100644 (file)
@@ -11,7 +11,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0
 
 Two Arvados Rails servers store data in a PostgreSQL database: the SSO server, and the API server.  The API server requires at least version *9.4* of PostgreSQL.  Beyond that, you have the flexibility to deploy PostgreSQL any way that the Rails servers will be able to connect to it.  Our recommended deployment strategy is:
 
-* Install PostgreSQL on the the same host as the SSO server, and dedicate that install to hosting the SSO database.  This provides the best security for the SSO server, because the database does not have to accept any client connections over the network.  Typical load on the SSO server is light enough that deploying both it and its database on the same host does not compromise performance.
+* Install PostgreSQL on the same host as the SSO server, and dedicate that install to hosting the SSO database.  This provides the best security for the SSO server, because the database does not have to accept any client connections over the network.  Typical load on the SSO server is light enough that deploying both it and its database on the same host does not compromise performance.
 * If you want to provide the most scalability for your Arvados cluster, install PostgreSQL for the API server on a dedicated host.  This gives you the most flexibility to avoid resource contention, and tune performance separately for the API server and its database.  If performance is less of a concern for your installation, you can install PostgreSQL on the API server host directly, as with the SSO server.
 
 Find the section for your distribution below, and follow it to install PostgreSQL on each host where you will deploy it.  Then follow the steps in the later section(s) to set up PostgreSQL for the Arvados service(s) that need it.
index 8ff5ddc0994537981d83983756f2dc231ba0d769..5fbc3d5dd2d0848cd735c58e5900cac71deadd92 100644 (file)
@@ -20,4 +20,4 @@ This section documents language bindings for the "Arvados API":{{site.baseurl}}/
 * "Java SDK v2":{{site.baseurl}}/sdk/java-v2/index.html
 * "Java SDK v1":{{site.baseurl}}/sdk/java/index.html
 
-Many Arvados Workbench pages, under the the *Advanced* tab, provide examples of API and SDK use for accessing the current resource .
+Many Arvados Workbench pages, under the *Advanced* tab, provide examples of API and SDK use for accessing the current resource .
index 01670d88ff90f8f88fa5ee49f0bac27f5763a252..9a32de0d0b35ba335b9890ce918188ecf987b866 100644 (file)
@@ -12,7 +12,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0
 
 When collection versioning is enabled, updating certain collection attributes (@name@, @description@, @properties@, @manifest_text@) will save a copy of the collection state, previous to the update. This copy (a new collection record) will have its own @uuid@, and a @current_version_uuid@ attribute pointing to the current version's @uuid@.
 
-Every collection has a @version@ attribute that indicates its version number, starting from 1 on new collections and incrementing by 1 with every versionable update. All collections point to their most current version via the @current_version_uuid@ attribute, being @uuid@ and @current_version_uuid@ equal on those collection records that are the the current version of themselves. Note that the "current version" collection record doesn't change its @uuid@, "past versions" are saved as new records every time it's needed, pointing to the current collection record.
+Every collection has a @version@ attribute that indicates its version number, starting from 1 on new collections and incrementing by 1 with every versionable update. All collections point to their most current version via the @current_version_uuid@ attribute, being @uuid@ and @current_version_uuid@ equal on those collection records that are the current version of themselves. Note that the "current version" collection record doesn't change its @uuid@, "past versions" are saved as new records every time it's needed, pointing to the current collection record.
 
 A version will be saved when one of the following conditions is true:
 
index 557c7c3563d59c23644370765f466e63517f4d5a..ed2eb31c7830db992d0e86b42b6de68c275a428f 100644 (file)
@@ -275,7 +275,7 @@ func (h *Handler) saltAuthToken(req *http.Request, remote string) (updatedReq *h
        }
        updatedReq.Header.Set("Authorization", "Bearer "+token)
 
-       // Remove api_token=... from the the query string, in case we
+       // Remove api_token=... from the query string, in case we
        // end up forwarding the request.
        if values, err := url.ParseQuery(updatedReq.URL.RawQuery); err != nil {
                return nil, err
index 2b8bbee6721ffd3f47e0304d81ed4f1f2a51a7da..102c2a3c27ead04b3eef3f8664a58a116d1ce4ef 100644 (file)
@@ -459,7 +459,7 @@ public class Arvados {
 
   public static void main(String[] args){
     System.out.println("Welcome to Arvados Java SDK.");
-    System.out.println("Please refer to http://doc.arvados.org/sdk/java/index.html to get started with the the SDK.");
+    System.out.println("Please refer to http://doc.arvados.org/sdk/java/index.html to get started with the SDK.");
   }
 
 }
index e8cd21a243d4ac240b033e9becf94aac3a5e81e2..be4df9c346cf78de9af1ad3bc719111210627221 100644 (file)
@@ -1057,6 +1057,7 @@ class CollectionTest < ActiveSupport::TestCase
       # Add new property
       c.properties['prop2'] = 'value2'
       c.save!
+      c.reload
       assert_equal 'value2', c.properties['prop2']
       # Try to change protected property's value
       c.properties['default_prop1'] = 'new_value'
@@ -1067,6 +1068,7 @@ class CollectionTest < ActiveSupport::TestCase
       act_as_system_user do
         c.properties['default_prop1'] = 'new_value'
         c.save!
+        c.reload
         assert_equal 'new_value', c.properties['default_prop1']
       end
     end
index 423546c46a9c179aab3b15522912667c72cdbb8f..2259b3d8cf8e87ac83d08df9a15dfdd17c8d02c6 100644 (file)
@@ -13,7 +13,6 @@ import (
        "time"
 
        "git.curoverse.com/arvados.git/sdk/go/arvados"
-
        check "gopkg.in/check.v1"
 )
 
@@ -694,7 +693,7 @@ func (bal *balancerSuite) try(c *check.C, t tester) {
 
 // srvList returns the KeepServices, sorted in rendezvous order and
 // then selected by idx. For example, srvList(3, slots{0, 1, 4})
-// returns the the first-, second-, and fifth-best servers for storing
+// returns the first-, second-, and fifth-best servers for storing
 // bal.knownBlkid(3).
 func (bal *balancerSuite) srvList(knownBlockID int, order slots) (srvs []*KeepService) {
        for _, i := range order {
index 825a35fd0b8ed724fb56a40a05e2e92d2a6b4268..43d1e0e5c83c6a101c3723a8bd2d5c8f279acbbe 100644 (file)
@@ -25,7 +25,7 @@ int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact)
     real_sigaction(SIGINT, act, oldact);
   }
 
-  // Forward the call the the real sigaction.
+  // Forward the call to the real sigaction.
   return real_sigaction(signum, act, oldact);
 }