[ARVADOS] created: f3e7d40574c721225c280de14394ffd5b97ab4ab

git at public.curoverse.com git at public.curoverse.com
Fri Mar 13 10:39:35 EDT 2015


        at  f3e7d40574c721225c280de14394ffd5b97ab4ab (commit)


commit f3e7d40574c721225c280de14394ffd5b97ab4ab
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Mar 13 10:43:13 2015 -0400

    Add note to application.default.yml and installation documentation that
    uuid_prefix must be exactly 5 characters.

diff --git a/doc/install/install-api-server.html.textile.liquid b/doc/install/install-api-server.html.textile.liquid
index c3d5200..3aa123e 100644
--- a/doc/install/install-api-server.html.textile.liquid
+++ b/doc/install/install-api-server.html.textile.liquid
@@ -59,7 +59,7 @@ Consult @config/application.default.yml@ for a full list of configuration option
 
 h3(#uuid_prefix). uuid_prefix
 
-It is recommended to explicitly define your @uuid_prefix@ in @config/application.yml@, by setting the 'uuid_prefix' field in the section for your environment.
+Define your @uuid_prefix@ in @config/application.yml@ by setting the @uuid_prefix@ field in the section for your environment.  This prefix is used for all database identifiers to identify the record as originating from this site.  It must be exactly 5 alphanumeric characters (lowercase ASCII letters and digits).
 
 h3(#git_repositories_dir). git_repositories_dir
 
diff --git a/services/api/config/application.default.yml b/services/api/config/application.default.yml
index 5547704..8ecef11 100644
--- a/services/api/config/application.default.yml
+++ b/services/api/config/application.default.yml
@@ -47,6 +47,9 @@ test:
   workbench_address: https://localhost:3001/
 
 common:
+  # The prefix used for all database identifiers to identify the record as
+  # originating from this site.  Must be exactly 5 alphanumeric characters
+  # (lowercase ASCII letters and digits).
   uuid_prefix: <%= Digest::MD5.hexdigest(`hostname`).to_i(16).to_s(36)[0..4] %>
 
   # If not false, this is the hostname that will be used for root_url and

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list