Complete Installation and Upgrade Information for Software AG Products : Command Central : Command Central Developer Reference : Using the Command Line Interface : Repository Commands : sagcc add repository fixes
sagcc add repository fixes
Adds a fix repository in Command Central.
*Command Central syntax:
*Master repository:
sagcc add repository fixes master name=repo_name location=remote_location
username=user password=password
[description="description"]  [options]
*Mirror repository:
sagcc add repository fixes mirror name=repo_name 
[products=product_list] [nodeAlias=node_alias
*Image repository:
In the following command, you must include either the --input file option or the location argument:
sagcc add repository fixes image name=repo_name 
[--input | i image_file_on_client | location=image_file_on_server
*Not supported by Platform Manager.
Arguments and Options
Argument or Option
Required. The name of the fix repository to add.
Optional. A description for the repository.
For master repository
Required. The URL of the remote master repository.
Required. The name of the user account that has access to the master repository.
Required. The password for the specified user name.
For mirror repository

sourceRepos=repo_name1, repo_name2...repo_nameN
Required. A list of the source repositories to include in the new mirror repository.

[productRepos=repo_name1, repo_name2,...repo_nameN]

Optional. Select product repositories for which to add fixes in the fix mirror repository. See the Usage Notes for some important details about this argument.

[products=productId list]
Optional. A list of IDs of the products for which to include fixes in the mirror repository.
Optional. Specifies the alias name of the Platform Manager installation in which you want to add the repository. If you do not include this parameter, the repository is added to the local Platform Manager node.

Optional. A list of the names of the fixes from the source repositories to include in the mirror repository.
artifacts=LATEST adds all the latest fixes available in the source repositories.
For image repository
--input | -i image_file_on_client
Required. Identifies an image archive file created with Software AG Installer or Software AG Update Manager. For more information about the --input | i option, see input.
Required. A valid URL that points to the location where the repository is added. If location points to an installation image file, the image file must exist on the Command Central server. If the image file does not exist, the repository is not created.
Two repositories cannot point to the same location.
Usage Notes
When creating a fix mirror repository, Software AG recommends that you specify a list of product repositories or products for which to include fixes, because Empower contains a lot of fixes for different releases and Command Central requires a filter through which to select the fixes.
When creating a fix mirror repository, you must consider the following about the [productRepos] argument:
*You can leave out the list of product repositories in the following cases:
*When the sourceRepos argument lists image repositories. In the following example, the mirror repository is created from a single “isImage” image source repository:
sagcc add repository fixes mirror name=Mirror sourceRepos=isImage
*When you list specific artifacts in the artifacts parameter. In the following example, Command Central will add all versions of the “wMFix.integrationServer.DummyForSPM” fix, specified in the artifacts parameter, with all its dependecies:
sagcc add repository fixes mirror name=Mirror1 sourceRepos=Mirror2 
*When you use the productRepos argument, listing specific artifacts in the artifacts argument is not supported. For example the following command is not supported, because it includes the productRepos argument, and the artifacts argument points to the specific artifact "wmFix.integrationServer":
sagcc create repository fixes mirror name=myMir sourceRepos=QARepo
However, when artifacts=LATEST, you can use the productRepos and artifacts arguments in the same command. For example, the following command will create a mirror repository with all the latest fixes for all products installed from the "webMethods-9.12_MirrorRepo" product repository:
sagcc create repository fixes mirror name=myMir sourceRepos=QARepo
productRepos=webMethods-9.12_MirrorRepo artifacts=LATEST
Examples When Executing on Command Central
*To upload an image file named “” from the current directory to Command Central and create a fix repository with name “test” that points to that image:
sagcc add repository fixes name=test -i
*To create a mirror repository with name “Mirror1” that contains the latest fixes, selected from Empower, for the products included in the “isImage” and “mwsImage” product image repositories, with all fix dependencies:
sagcc create repository fixes mirror name=Mirror1 sourceRepos=Empower 
productRepos=isImage,mwsImage artifacts=LATEST
*To create a mirror repository with name “Mirror1” that contains fixes selected from Empower for the products installed on the node where the mirror repository is created. You can use this command to create a mirror repository for tested fixes on a specific node.
sagcc create repository fixes mirror name=Mirror1 sourceRepos=Empower 
*To create a mirror repository with name “Mirror1” that contains the latest version of the fixes available on Empower for the product with ID “integrationServer” and version 9.10. The product version is determined from the version of the specified product repository:
sagcc add repository fixes mirror name=Mirror1 sourceRepos=Empower 
productRepos=webMethods-9.10_CC_PI_TR products=integrationServer 
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback