Pisi CLI Operations ( repo commands)

 

Add-repo

 pisi add-repo repo-address http://repo.address.com/repo/directory/pisi-index.xml  

• Local addresses i.e. /home/example/pisi/repo/pisi-index.xml

• Web addresses i.e. http://example.com/pisi/repo/pisi-index.xml

Note: Default name for repository index file is pisi-index.xml, but compressing it as pisi-index.xml.bz2 can

also be used in order to prevent high bandwidth usage.

 

Removing Repositories

remove-repo command with repo-name parameter is used in order to remove repositories.

 pisi remove-repo repo-name  

 

Listing Repositories

list-repo command is used in order to list which repositories are available.

 pisi list-repo  

 

Updating Repositories

update-repo command is used in order to update all available repositories.

 pisi update-repo  

One or more repo-name parameters can be used in order to update proper repositories.

 pisi update-repo repo-name  

 

Listing Components

list-components command is used in order to list all components in available repositories.

 pisi list-components  

One or more repo-name parameters can be used in order to list components in proper repositories.

 pisi list-components repo-name  

 

Creating Repository Index

index command in the repo directory is used in order to create the repository index (pisi-index.xml).

 pisi index  

 

When you add a new package to the Repositories you must write before you add it

 pisi ix --skip-signing  

 

 

Advertisements