This module implements operations to update and change the package repository, i.e., the index of all packages known to the package manager.
updateRepository
:: Config -> IO ([LogEntry],Either LogEntry ())
Updates the package index from the central Git repository. |
addPackageToRepository
:: Config -> String -> Bool -> Bool -> IO ([LogEntry],Either LogEntry ())
Adds a package stored in the given directory to the repository index. |
Updates the package index from the central Git repository. Cleans also the global package cache in order to support downloading the newest versions. |
Adds a package stored in the given directory to the repository index.
If the argument |