Command Central 10.11 | 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:
*Master and image repositories:
sagcc update repository fixes {master | image} repo_name
[credentials=credAlias
[location=image_filename | repositoryURL]       
[description="description"] [options]
*Mirror repositories:
sagcc update repository fixes mirror repo_name 
[sourceRepos=repo_name1,repo_name2...repo_nameN
[productRepos=repo_name1,repo_name2,...repo_nameN]
[location=repositoryURL] [products=product_list] [artifacts=fix_list]
[username=username] [password=password
[description=“description”] [options]
*Not supported by Platform Manager.
Arguments and Options
Argument or Option
Description
repo_name
Required. The name of the repository that you want to update.
[credentials=credAlias]
Optional. The alias of the COMMON-CREDENTIALS configuration instance that has the details for accessing the fix repository. If the instance already exists, you can retrieve the alias using sagcc list configuration instances. If the configuration instance does not exist, you must create it with sagcc create configuration data.
[location=image_file | repositoryURL]
Optional. The name of the image file or valid URL to the new location of the image file referenced by the repository.
For mirror repositories, the only valid value is [location=repositoryURL]

[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=product_list | productId_version list| INSTALLED] ]
Optional. A list of IDs of the products for which to update the fixes in the mirror repository.

[artifacts=fix_list | fixId_version_list | LATEST | ALL]
Optional. A list of the names of the fixes from the source repositories that you want to update in the mirror repository.
[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.
Usage Notes
When installing products on nodes version 9.12 or lower from a mirror repository, if you change the credentials of the Platform Manager on which the mirror repository is stored, you must also update the mirror repository credentials. Use the sagcc update repository fixes command to update the mirror repository credentials.
Examples When Executing on Command Central
*To update the user name and password for a fix repository with name “QARepo”:
sagcc update repository fixes mirror 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 image repo1 location=file:///vmtest/image.zip