summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2013-06-06 10:06:47 +0200
committerNiels Weber <niels.weber@digia.com>2013-06-06 13:43:27 +0200
commit648da4adfdcd98431b37d3f111a5dbb5ab4c1a71 (patch)
tree83c68fea56ad59982ebd0fa2a210935799473fa9 /doc
parent17401372c003949a86540c7581e830b980606b73 (diff)
Document how to add, remove and replace repositories.
Change-Id: I26871df34e48a0da944ce2156880235ff808b2b0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/installerfw.qdoc35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc
index b5b08dc6e..355021862 100644
--- a/doc/installerfw.qdoc
+++ b/doc/installerfw.qdoc
@@ -986,6 +986,41 @@
then Updates.xml. The package names include version numbers, and therefore,
end users receive old packages until the new ones are fully uploaded.
+ \section1 Changing Repositories
+
+ To have the current update repository point to other repositories, edit the
+ Updates.xml file in the current repository. You can add, replace, or remove
+ repositories.
+
+ \section2 Adding Repositories
+ To update a repository, add the following code to Updates.xml:
+
+ \code
+ <RepositoryUpdate>
+ <Repository action="add" url="http://www.example.com/repository" name="user" password="password"
+ displayname="Example Repository" />
+ </RepositoryUpdate>
+ \endcode
+
+ \section2 Removing Repositories
+ To remove a repository, add the following code to Updates.xml:
+
+ \code
+ <RepositoryUpdate>
+ <Repository action="remove" url="http://www.example.com/repository" />
+ </RepositoryUpdate>
+ \endcode
+
+ \section2 Replacing repositories
+ To replace one repository with another, add the following code to Updates.xml:
+
+ \code
+ <RepositoryUpdate>
+ <Repository action="replace" oldurl="http://www.example.com/repository"
+ newurl="http://www.example.com/newrepository" name="user" password="password"
+ displayname="New Example Repository" />
+ </RepositoryUpdate>
+ \endcode
*/
/*!