[Pkg-owncloud-commits] [owncloud-doc] 21/40: add tip for testing custom client deployments

David Prévot taffit at moszumanska.debian.org
Thu Dec 17 19:22:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.2.2RC1
in repository owncloud-doc.

commit ecf8fc68ac87f60a224fe38201ac7459241b598a
Author: Carla Schroder <carla at owncloud.com>
Date:   Wed Dec 2 14:04:25 2015 -0800

    add tip for testing custom client deployments
---
 .../custom_client_repos.rst                               | 15 ++++++++++++---
 admin_manual/configuration_server/index.rst               |  1 +
 admin_manual/enterprise_clients/custom_client_repos.rst   | 15 ++-------------
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/admin_manual/enterprise_clients/custom_client_repos.rst b/admin_manual/configuration_server/custom_client_repos.rst
similarity index 52%
copy from admin_manual/enterprise_clients/custom_client_repos.rst
copy to admin_manual/configuration_server/custom_client_repos.rst
index 8776936..a8acb28 100644
--- a/admin_manual/enterprise_clients/custom_client_repos.rst
+++ b/admin_manual/configuration_server/custom_client_repos.rst
@@ -2,8 +2,8 @@
 Custom Client Download Repositories
 ===================================
 
-You may set up your own download repositories for your ownCloud desktop 
-clients and mobile apps in :file:`config/config.php`. This example shows 
+You may configure the URLs to your own download repositories for your ownCloud 
+desktop clients and mobile apps in :file:`config/config.php`. This example shows 
 the default download locations:
 
 .. code-block:: php
@@ -14,4 +14,13 @@ the default download locations:
     "customclient_android" => "https://play.google.com/store/apps/details?id=com.owncloud.android",
     "customclient_ios"     => "https://itunes.apple.com/us/app/owncloud/id543672169?mt=8",
 
-Simply replace the URLs with the links to your own preferred download repos.
\ No newline at end of file
+Simply replace the URLs with the links to your own preferred download repos.
+
+You may test alternate URLs without editing :file:`config/config.php` by setting a test URL as an environment variable::
+
+ export OCC_UPDATE_URL=https://test.example.com
+  
+When you're finished testing you can disable the environment variable::
+
+ unset OCC_UPDATE_URL
+ 
\ No newline at end of file
diff --git a/admin_manual/configuration_server/index.rst b/admin_manual/configuration_server/index.rst
index f123a48..c381762 100644
--- a/admin_manual/configuration_server/index.rst
+++ b/admin_manual/configuration_server/index.rst
@@ -14,6 +14,7 @@ ownCloud Server Configuration
    config_sample_php_parameters
    email_configuration
    external_sites
+   custom_client_repos
    knowledgebase_configuration
    language_configuration
    logging_configuration
diff --git a/admin_manual/enterprise_clients/custom_client_repos.rst b/admin_manual/enterprise_clients/custom_client_repos.rst
index 8776936..8b52616 100644
--- a/admin_manual/enterprise_clients/custom_client_repos.rst
+++ b/admin_manual/enterprise_clients/custom_client_repos.rst
@@ -2,16 +2,5 @@
 Custom Client Download Repositories
 ===================================
 
-You may set up your own download repositories for your ownCloud desktop 
-clients and mobile apps in :file:`config/config.php`. This example shows 
-the default download locations:
-
-.. code-block:: php
-
-  <?php
-
-    "customclient_desktop" => "https://owncloud.org/sync-clients/",
-    "customclient_android" => "https://play.google.com/store/apps/details?id=com.owncloud.android",
-    "customclient_ios"     => "https://itunes.apple.com/us/app/owncloud/id543672169?mt=8",
-
-Simply replace the URLs with the links to your own preferred download repos.
\ No newline at end of file
+See :doc:`../configuration_server/custom_client_repos` to learn how test and
+configure custom download repository URLs for your branded clients.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list