13 #ifndef ZYPP_HISTORYLOGDATA_H_ 14 #define ZYPP_HISTORYLOGDATA_H_ 18 #include <zypp/APIConfig.h> 26 #define HISTORY_LOG_DATE_FORMAT "%Y-%m-%d %H:%M:%S" 74 const std::string &
asString(
bool pad =
false)
const;
108 using Ptr = shared_ptr<HistoryLogData>;
160 const std::string & optionalAt(
size_type idx_r )
const;
163 {
return optionalAt( idx_r ); }
169 const std::string & at(
size_type idx_r )
const;
202 using Ptr = shared_ptr<HistoryLogDataInstall>;
203 using constPtr = shared_ptr<const HistoryLogDataInstall>;
224 std::string name()
const;
227 std::string reqby()
const;
228 std::string repoAlias()
const;
230 std::string userdata()
const;
242 using Ptr = shared_ptr<HistoryLogPatchStateChange>;
243 using constPtr = shared_ptr<const HistoryLogPatchStateChange>;
266 std::string name()
const;
269 std::string repoAlias()
const;
272 std::string oldstate()
const;
273 std::string newstate()
const;
274 std::string userdata()
const;
286 using Ptr = shared_ptr<HistoryLogDataRemove>;
287 using constPtr = shared_ptr<const HistoryLogDataRemove>;
306 std::string name()
const;
309 std::string reqby()
const;
310 std::string userdata()
const;
321 using Ptr = shared_ptr<HistoryLogDataRepoAdd>;
322 using constPtr = shared_ptr<const HistoryLogDataRepoAdd>;
339 std::string alias()
const;
341 std::string userdata()
const;
352 using Ptr = shared_ptr<HistoryLogDataRepoRemove>;
353 using constPtr = shared_ptr<const HistoryLogDataRepoRemove>;
369 std::string alias()
const;
370 std::string userdata()
const;
381 using Ptr = shared_ptr<HistoryLogDataRepoAliasChange>;
382 using constPtr = shared_ptr<const HistoryLogDataRepoAliasChange>;
399 std::string oldAlias()
const;
400 std::string newAlias()
const;
401 std::string userdata()
const;
412 using Ptr = shared_ptr<HistoryLogDataRepoUrlChange>;
413 using constPtr = shared_ptr<const HistoryLogDataRepoUrlChange>;
430 std::string alias()
const;
432 std::string userdata()
const;
444 using Ptr = shared_ptr<HistoryLogDataStampCommand>;
445 using constPtr = shared_ptr<const HistoryLogDataStampCommand>;
462 std::string executedBy()
const;
463 std::string command()
const;
464 std::string userdata()
const;
bool operator!=(const HistoryActionID &lhs, const HistoryActionID &rhs)
repository providing the package
SeverityFlag
Possible severity levels for (security) patches.
static const HistoryActionID STAMP_COMMAND ZYPP_API
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Edition represents [epoch:]version[-release]
RWCOW_pointer< Impl > _pimpl
Implementation class.
Index
< indices of known fields
A zypp history log line for a removed packge.
static const HistoryActionID REPO_CHANGE_URL ZYPP_API
static const HistoryActionID NONE ZYPP_API
FieldVector::size_type size_type
Store and operate on date (time_t).
A zypp history log line for an installed packaged.
repository providing the patch
requested by (user, pid:appname, or empty (solver))
const std::string & operator[](size_type idx_r) const
A zypp history log line for a repo url change.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
static const HistoryActionID REPO_REMOVE ZYPP_API
shared_ptr< HistoryLogData > Ptr
static const HistoryActionID REPO_CHANGE_ALIAS ZYPP_API
static const HistoryActionID PATCH_STATE_CHANGE ZYPP_API
A zypp history log line for a removed repository.
const std::string & asString(bool pad=false) const
std::vector< std::string > FieldVector
A zypp history log line split into fieldsEach valid history log line starts with a date and HistoryAc...
static HistoryActionID::ID parse(const std::string &strval_r)
A zypp history log line for an installed packaged.
requested by (user, pid:appname, or empty (solver))
A zypp history log line for a repo alias change.
static const HistoryActionID REMOVE ZYPP_API
shared_ptr< const HistoryLogData > constPtr
std::string checksum(const Pathname &file, const std::string &algorithm)
Compute a files checksum.
static const HistoryActionID INSTALL ZYPP_API
A zypp history log line identifying the program that triggered the following commit.
the state of the patch after the change
FieldVector::const_iterator const_iterator
A zypp history log line for an added repository.
Enumeration of known history actions.
the state of the patch before the change
static const HistoryActionID REPO_ADD ZYPP_API
Easy-to use interface to the ZYPP dependency resolver.
bool operator==(const HistoryActionID &lhs, const HistoryActionID &rhs)