summaryrefslogtreecommitdiff
path: root/lib/rpmfs.h
Commit message (Collapse)AuthorAgeFilesLines
* Reset file actions between rpmtsRun() calls (RhBug:1076552)Panu Matilainen2014-03-211-0/+3
| | | | | | | | - When the world changes underneath us (eg by %pretrans hackery) between test-transaction and actual transaction, in some cases the file action does not get recomputed if already set. Always reset file actions to FA_UNKNOWN before disposition calculations to ensure have a clean starting point.
* Eliminate header and rpmte knowledge from rpmfsPanu Matilainen2012-04-241-2/+1
| | | | | | | | - rpmfs is such a low-level construct it doesn't need to know anything about the upper layers. Gather the necessary bits of info in the sole caller instead and pass only whats needed to rpmfsNew() to enable creating a filestate item without having rpmte/header at hand, which we'll be needing in the fsm shortly.
* Bury build filestate setting inside fsm remainsPanu Matilainen2012-04-241-1/+1
| | | | | | | | - This whole thing probably isn't needed anymore, but for now just lift the FA_SKIP/FA_COPYOUT setting to rpmPackageFilesArchive(), allowing rpmfsSetAction() to become properly internal-only function. - Trim out unnecessary now unnecessary librpm internal includes from librpmbuild code
* Use correct file state for colored file replacementsPanu Matilainen2011-08-291-1/+3
| | | | | | | | | | - On colored file conflict resolution, the non-preferred colored file state would depend on installation order: if non-preferred arch is installed first, and the preferred arch in another transaction, the non-preferred color would get marked "replaced" indicating a forced install when none was used. This fixes the file state in such cases to "wrong color" to be consistent of the other installation scenarios.
* Add "c++ protection" to (hopefully) all of our internal headersPanu Matilainen2010-09-211-0/+8
|
* Move header filecount retrieve from addTE() to rpmfsNew()Panu Matilainen2010-05-061-1/+1
|
* Split file state structures + routines out of rpmte to separate sourcesPanu Matilainen2010-03-121-0/+55
- no functional changes