libzypp  17.1.3
TargetImpl.cc File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <list>
#include <set>
#include <sys/types.h>
#include <dirent.h>
#include "zypp/base/LogTools.h"
#include "zypp/base/Exception.h"
#include "zypp/base/Iterator.h"
#include "zypp/base/Gettext.h"
#include "zypp/base/IOStream.h"
#include "zypp/base/Functional.h"
#include "zypp/base/UserRequestException.h"
#include "zypp/base/Json.h"
#include "zypp/ZConfig.h"
#include "zypp/ZYppFactory.h"
#include "zypp/PoolItem.h"
#include "zypp/ResObjects.h"
#include "zypp/Url.h"
#include "zypp/TmpPath.h"
#include "zypp/RepoStatus.h"
#include "zypp/ExternalProgram.h"
#include "zypp/Repository.h"
#include "zypp/ResFilters.h"
#include "zypp/HistoryLog.h"
#include "zypp/target/TargetImpl.h"
#include "zypp/target/TargetCallbackReceiver.h"
#include "zypp/target/rpm/librpmDb.h"
#include "zypp/target/CommitPackageCache.h"
#include "zypp/target/RpmPostTransCollector.h"
#include "zypp/parser/ProductFileReader.h"
#include "zypp/repo/SrcPackageProvider.h"
#include "zypp/sat/Pool.h"
#include "zypp/sat/detail/PoolImpl.h"
#include "zypp/sat/Transaction.h"
#include "zypp/PluginExecutor.h"
Include dependency graph for TargetImpl.cc:

Go to the source code of this file.

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::json
 
 zypp::target
 

Macros

#define SUBST_IF(PAT, VAL)   if ( ret.find( PAT ) != std::string::npos ) ret = str::gsub( ret, PAT, VAL )
 

Functions

template<>
std::string zypp::json::toJSON (const ZYppCommitResult::TransactionStepList &steps_r)
 
template<>
std::string zypp::json::toJSON (const sat::Transaction::Step &step_r)
 See COMMITBEGIN (added in v1) on page Commit plugin for the specs. More...
 
void zypp::target::writeUpgradeTestcase ()
 
void zypp::target::XRunUpdateMessages (const Pathname &root_r, const Pathname &messagesPath_r, const std::vector< sat::Solvable > &checkPackages_r, ZYppCommitResult &result_r)
 
 zypp::target::IMPL_PTR_TYPE (TargetImpl)
 
static std::string zypp::target::generateRandomId ()
 generates a random id using uuidgen More...
 
void zypp::target::updateFileContent (const Pathname &filename, boost::function< bool()> condition, boost::function< string()> value)
 updates the content of filename if condition is true, setting the content the the value returned by value More...
 
static bool zypp::target::fileMissing (const Pathname &pathname)
 helper functor More...
 

Macro Definition Documentation

◆ SUBST_IF

#define SUBST_IF (   PAT,
  VAL 
)    if ( ret.find( PAT ) != std::string::npos ) ret = str::gsub( ret, PAT, VAL )

Variable Documentation

◆ _guard

TrueBool _guard

Definition at line 1356 of file TargetImpl.cc.

◆ _result

ZYppCommitResult& _result

Definition at line 1357 of file TargetImpl.cc.