Command Central Developer Reference : Using the Command Line Interface : Repository Commands : sagcc update repository fixes
sagcc update repository fixes
Updates fix repository details, such as user credentials, location, and description.
For mirror repositories, the command adds the new fixes specified in the artifacts argument to the mirror repository, but does not remove existing fixes or fix versions.
Syntax
*Command Central syntax:
*Using arguments for all types of repositories:
sagcc update repository fixes repo_name [username=username]      
[password=password] [location= image_file | URL
[description="description"] [options]
      
      
*Using arguments for master and image repositories:
sagcc update repository fixes {master | image} repo_name
[username=username] [password=password
[location=image_filename | URL]       
[description="description"] [options]
*Using arguments for mirror repositories:
sagcc update repository fixes mirror repo_name 
[sourceRepos=repo_name1,repo_name2...repo_nameN
[productRepos=repo_name1,repo_name2,...repo_nameN
[products=productId_list | productId_version_list | INSTALLED] 
[artifacts=fixId_list | fixId_version_list | LATEST | ALL] 
[description=“description”]  [options]
*Not supported by Platform Manager.
Arguments or Options
Argument or Option
Description
repo_name
Required. The name of the repository that you want to update.
[username=username]
Optional. A valid user name for the fix repository.
[password=password]
Optional. A valid password to the fix repository.
[location=image_file | URL]
Optional. The name of the image file or valid URL to the new location of the image file referenced by the repository.

[sourceRepos=repo_name1, repo_name2...repo_nameN]
Optional. A list of the source repositories from which to update the mirror repository.

[productRepos=repo_name1, repo_name2...repo_nameN]
Optional. A list of product repositories for which to add fixes in the fix mirror repository.

[products=productId_list |  productId_version list| INSTALLED] ]
Optional. A list of IDs of the products for which to update the fixes in the mirror repository. Valid values:
*productId_list - a list of product IDs
*product Id version_list - a list of product IDs with the product version
*INSTALLED - include fixes for all installed products

[artifacts=fixId_list |  fixId_version_list | LATEST | ALL]
Optional. A list of IDs of the fixes from the source repositories that you want to update in the mirror repository. Valid values:
*fixId_list - a list of fix IDs
*fixId_list_version - a list of fix IDs with the fix version
*LATEST - include only the latest fixes
*ALL - include all available fixes
[description="description"]
Optional. The new description of the repository.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Examples When Executing on Command Central
*To update the user name and password for a fix repository with name “QARepo”:
sagcc update repository fixes QARepo username=sum password=secret
*To change the location of the file “image.zip”referenced by the fix repository with name “repo1”:
sagcc update repository fixes repo1 location=file:///vmtest/image.zip
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback