-
Notifications
You must be signed in to change notification settings - Fork 2
Managing Repositories
Zend SDK provides some tools for managing Zend Repositories. Currently, following operations are supported:
- Generating Repository
- Adding Repository
- Removing Repository
- Listing Repositories
Information about repositories is stored in a local repository storage. It contains repository descriptors. It is possible to check what repositories are in it by calling 'list repositories' command (described below).
Zend SDK allows to generate new repository.
zend generate repository -o <destination> -p <path_to_package> -t <path_to_template> [-e <existing_repository>]
This command is responsible for creating new repositories and adding application to repository. There are two possible scenarions:
- There is already existing Zend Repository ("-e" option).
- There is no Zend Repository.
In the first case new application information is added to specified repository. In the second case, new repository is created in specified destination.
Zend SDK allows to add existing repository the the local repository storage. In the result, added repository will be available for other repository dedicated commands.
zend add repository -o <repository_url>
Zend SDK allows to remove repository.
zend remove repository -o <repository_url>
It removes specified repository from the local repository storage.
Zend SDK allows to list available repositories which are in the local repository storage.
zend list repository [-s <repository_url>]