CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
|
Cards info class. More...
#include <cards_info.h>
Public Member Functions | |
Cards_info (const CardsArgumentParser &argParser, const std::string &configFileName) | |
![]() | |
Pkginfo (const std::string &commandName) | |
virtual void | run (int argc, char **argv) |
virtual void | parseArguments (int argc, char **argv) |
virtual void | run () |
virtual void | finish () |
virtual void | printHelp () const |
Pkginfo (const std::string &commandName) | |
virtual void | run (int argc, char **argv) |
virtual void | parseArguments (int argc, char **argv) |
virtual void | run () |
virtual void | finish () |
virtual void | printHelp () const |
![]() | |
Pkgdbh (const std::string &name) | |
virtual void | progressInfo () |
virtual void | treatErrors (const std::string &s) const |
void | print_version () const |
int | getNumberOfPackages () |
std::set< std::string > | getListOfPackageName () |
bool | checkPackageNameExist (const std::string &name) const |
unsigned int | getFilesNumber () |
unsigned int | getInstalledFilesNumber () |
std::set< std::string > | getFilesList () |
Pkgdbh (const std::string &name) | |
virtual void | progressInfo () |
virtual void | treatErrors (const std::string &s) const |
void | print_version () const |
int | getNumberOfPackages () |
std::set< std::string > | getListOfPackageName () |
bool | checkPackageNameExist (const std::string &name) const |
unsigned int | getFilesNumber () |
unsigned int | getInstalledFilesNumber () |
std::set< std::string > | getFilesList () |
![]() | |
Pkgrepo (const std::string &fileName) | |
std::set< std::string > | getListOutOfDate () |
std::string | getPortDir (const std::string &portName) |
std::string | getBasePortName (const std::string &portName) |
std::string | getBasePackageName (const std::string &packageName) |
std::string | getBasePackageVersion (const std::string &packageName) |
std::string | getPortVersion (const std::string &portName) |
int | getBasePackageRelease (const std::string &packageName) |
int | getPortRelease (const std::string &portName) |
bool | checkPortExist (const std::string &portName) |
std::set< std::string > | getListOfPackagesFromCollection (const std::string &collectionName) |
time_t | getBinaryBuildTime (const std::string &portName) |
std::set< std::string > | getBinaryPackageList () |
std::set< Pkg * > | getListOfPackages () |
std::vector< RepoInfo > | getRepoInfo () |
unsigned int | getPortsList () |
bool | getBinaryPackageInfo (const std::string &packageName) |
bool | getPortInfo (const std::string &portName) |
Pkgrepo (const std::string &fileName) | |
std::set< std::string > | getListOutOfDate () |
std::string | getPortDir (const std::string &portName) |
std::string | getBasePortName (const std::string &portName) |
std::string | getBasePackageName (const std::string &packageName) |
std::string | getBasePackageVersion (const std::string &packageName) |
std::string | getPortVersion (const std::string &portName) |
int | getBasePackageRelease (const std::string &packageName) |
int | getPortRelease (const std::string &portName) |
bool | checkPortExist (const std::string &portName) |
std::set< std::string > | getListOfPackagesFromCollection (const std::string &collectionName) |
time_t | getBinaryBuildTime (const std::string &portName) |
std::set< std::string > | getBinaryPackageList () |
std::set< Pkg * > | getListOfPackages () |
std::vector< RepoInfo > | getRepoInfo () |
unsigned int | getPortsList () |
bool | getBinaryPackageInfo (const std::string &packageName) |
bool | getPortInfo (const std::string &portName) |
Additional Inherited Members | |
![]() | |
static int | parseConfig (const char *fileName, Config &config) |
static int | parseConfig (const char *fileName, Config &config) |
![]() | |
std::set< std::string > | getFilesOfPackage (const std::string &packageName) |
int | getListOfPackageNames (const std::string &path) |
std::pair< std::string, pkginfo_t > | getInfosPackage (const std::string &packageName) |
void | buildSimpleDatabase () |
void | buildCompleteDatabase (const bool &silent) |
void | buildDatabase (const bool &progress, const bool &simple, const bool &all, const bool &files, const std::string &packageName) |
void | addPackageFilesRefsToDB (const std::string &name, const pkginfo_t &info) |
bool | checkPackageNameUptodate (const std::pair< std::string, pkginfo_t > &archiveName) |
bool | checkPackageNameBuildDateSame (const std::pair< std::string, time_t > &dependencieNameBuild) |
void | removePackageFiles (const std::string &name) |
void | removePackageFiles (const std::string &name, const std::set< std::string > &keep_list) |
void | removePackageFilesRefsFromDB (const std::string &name) |
void | removePackageFilesRefsFromDB (std::set< std::string > files, const std::set< std::string > &keep_list) |
std::set< std::string > | getConflictsFilesList (const std::string &name, const pkginfo_t &info) |
std::pair< std::string, pkginfo_t > | openArchivePackage (const std::string &filename) |
std::set< std::pair< std::string, time_t > > | getPackageDependencies (const std::string &filename) |
void | extractAndRunPREfromPackage (const std::string &filename) |
void | installArchivePackage (const std::string &filename, const std::set< std::string > &keep_list, const std::set< std::string > &non_install_files) |
void | moveMetaFilesPackage (const std::string &name, pkginfo_t &info) |
void | readRulesFile () |
void | getInstallRulesList (const std::vector< rule_t > &rules, rule_event_t event, std::vector< rule_t > &found) const |
bool | checkRuleAppliesToFile (const rule_t &rule, const std::string &file) |
void | getFootprintPackage (std::string &filename) |
std::set< std::string > | getFilesOfPackage (const std::string &packageName) |
int | getListOfPackageNames (const std::string &path) |
std::pair< std::string, pkginfo_t > | getInfosPackage (const std::string &packageName) |
void | buildSimpleDatabase () |
void | buildCompleteDatabase (const bool &silent) |
void | buildDatabase (const bool &progress, const bool &simple, const bool &all, const bool &files, const std::string &packageName) |
void | addPackageFilesRefsToDB (const std::string &name, const pkginfo_t &info) |
bool | checkPackageNameUptodate (const std::pair< std::string, pkginfo_t > &archiveName) |
bool | checkPackageNameBuildDateSame (const std::pair< std::string, time_t > &dependencieNameBuild) |
void | removePackageFiles (const std::string &name) |
void | removePackageFiles (const std::string &name, const std::set< std::string > &keep_list) |
void | removePackageFilesRefsFromDB (const std::string &name) |
void | removePackageFilesRefsFromDB (std::set< std::string > files, const std::set< std::string > &keep_list) |
std::set< std::string > | getConflictsFilesList (const std::string &name, const pkginfo_t &info) |
std::pair< std::string, pkginfo_t > | openArchivePackage (const std::string &filename) |
std::set< std::pair< std::string, time_t > > | getPackageDependencies (const std::string &filename) |
void | extractAndRunPREfromPackage (const std::string &filename) |
void | installArchivePackage (const std::string &filename, const std::set< std::string > &keep_list, const std::set< std::string > &non_install_files) |
void | moveMetaFilesPackage (const std::string &name, pkginfo_t &info) |
void | readRulesFile () |
void | getInstallRulesList (const std::vector< rule_t > &rules, rule_event_t event, std::vector< rule_t > &found) const |
bool | checkRuleAppliesToFile (const rule_t &rule, const std::string &file) |
void | getFootprintPackage (std::string &filename) |
![]() | |
int | parseConfig (const char *fileName) |
void | parsePkgRepoCollectionFile () |
void | parseCollectionDirectory () |
void | parseCurrentPackagePkgRepoFile () |
void | parsePackagePkgfileFile () |
int | parseConfig (const char *fileName) |
void | parsePkgRepoCollectionFile () |
void | parseCollectionDirectory () |
void | parseCurrentPackagePkgRepoFile () |
void | parsePackagePkgfileFile () |
![]() | |
std::string | m_arg |
int | m_runtimedependencies_mode |
int | m_footprint_mode |
int | m_archiveinfo |
int | m_installed_mode |
int | m_list_mode |
int | m_owner_mode |
int | m_details_mode |
int | m_libraries_mode |
int | m_runtime_mode |
int | m_epoc |
![]() | |
std::string | m_packageArchiveName |
std::string | m_packageName |
std::string | m_packageArchiveVersion |
std::string | m_packageArchiveRelease |
std::string | m_packageArchiveCollection |
std::string | m_packageVersion |
std::string | m_packageRelease |
std::string | m_packageCollection |
std::string | m_utilName |
std::string | m_root |
std::string | m_build |
std::vector< rule_t > | m_actionRules |
std::set< std::pair< std::string, int > > | m_postInstallList |
alias_t | m_listOfAlias |
packages_t | m_listOfInstPackages |
packages_t | m_listOfDepotPackages |
action | m_actualAction |
error | m_actualError |
![]() | |
bool | m_parsePkgRepoCollectionFile |
bool | m_parseCollectionDirectory |
bool | m_parsePackagePkgfileFile |
std::vector< PortsDirectory >::iterator | m_PortsDirectory_i |
std::vector< BasePackageInfo >::iterator | m_BasePackageInfo_i |
std::vector< PortFilesList >::iterator | m_PortFilesList_i |
std::vector< PortFilesList > | m_portFilesList |
std::string | m_packageFileName |
std::string | m_packageFileNameSignature |
std::string | m_configFileName |
Config | m_config |
std::vector< PortsDirectory > | m_portsDirectoryList |
Cards info class.
Cards_info class. This class takes care of printing out information about installed packages, availables packages on remote server or available ports that can be compiled.
Cards_info::Cards_info | ( | const CardsArgumentParser & | argParser, |
const std::string & | configFileName | ||
) |
Default constructor
argParser | CardsArgumentParser type |
configFileName | Specify the configuration file name to use |