aboutsummaryrefslogtreecommitdiff
path: root/paludis/fs_merger.cc
AgeCommit message (Collapse)AuthorLines
2016-08-06modernize: use default method synthesisAvatar Saleem Abdulrasool -3/+1
Convert a number of destructors to default synthesized functions. Try to inline a few instances into the header. It should be possible to inline all of them, however, gcc seems to emit a number of warnings. Furthermore, some of the destructors are pure-virtualed, but provide an implementation. Placing the definition into the header causes ODR violations.
2016-08-04modernize: convert to range based for-loopsAvatar Saleem Abdulrasool -5/+5
Automated conversion to range based for loops. NFC
2015-08-21throw() -> noexceptAvatar Wouter van Kesteren -1/+1
Change-Id: I461abfda8b7297c1bd04f1090f8d58fa96364616 Reviewed-on: https://galileo.mailstation.de/gerrit/1892 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Kylie McClain <somasis@exherbo.org>
2013-06-23C++11: auto convert to nullptr via cpp11-migrateAvatar Saleem Abdulrasool -2/+2
This is a blanket migration via the clang C++11 migration tool to convert NULL pointer to nullptr usage. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-06-01merger: add support for selective partsAvatar Saleem Abdulrasool -12/+81
This adds the ability to take the associated classification information via expart and then use that along with options to selectively install parts. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-05-22Use nullptrAvatar Ciaran McCreesh -1/+0
2013-05-18FSMerger: initialise merged_how to avoid operator+Avatar Saleem Abdulrasool -4/+4
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-05-18merger: refactor merge displayAvatar Saleem Abdulrasool -0/+35
This moves the stringification of the classification, and the formatting of the merge display into FSMerger so that it may be shared across the VDB merger and the NDBAM merger. This will be used internally in FSMerger for selective parts. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-05-18merger: refactor make_arrowsAvatar Saleem Abdulrasool -0/+55
make_arrows is used to generate indicators for FS mergers. The arrows that are generated are similar for all FS mergers. Permit overriding of the arrow generation in the future if necessary by making the method virtual and hoist it into the base class FSMerger so that it may be shared across the VDB merger as well as the NDBAM merger. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-03-02remove unexecuted statementsAvatar Saleem Abdulrasool -2/+1
This reworks some idiom usage to avoid unexecutable statements. This is a code cleanup of locations flagged by the clang parser. No functionality change is intended.
2012-01-14Allow some FSMerger warnings to be fatalAvatar Ciaran McCreesh -2/+7
2011-06-21Merger::permit_destinationAvatar Ciaran McCreesh -0/+1
2011-03-05security.selinux xattr is specialAvatar Ciaran McCreesh -2/+10
2011-01-09Rework Pimp to avoid ImpPtr ickinessAvatar Ciaran McCreesh -3/+2
Fixes: ticket:1070
2010-10-08XFS fallocate clobbers set*id bitsAvatar Ciaran McCreesh -5/+5
2010-08-27Make use of fallocate if availableAvatar Ciaran McCreesh -0/+23
We don't use posix_fallocate because it's weird with sizes and won't fail on filesystems that don't support it. Fixes: ticket:966
2010-08-24FSEntry -> FSPath, FSStatAvatar Ciaran McCreesh -74/+84
Fixes: ticket:967
2010-08-12Use output managers for merger hooksAvatar Ciaran McCreesh -14/+15
2010-08-12Let hooks take an output managerAvatar Ciaran McCreesh -14/+29
2010-07-31Move mtime fixing into MergerAvatar Ciaran McCreesh -27/+5
2010-07-31Move symlink rewriting into MergerAvatar Ciaran McCreesh -39/+12
2010-07-31Support merging subdirectoriesAvatar Ciaran McCreesh -0/+15
2010-07-31Start basic TarMergerAvatar Ciaran McCreesh -99/+34
2010-07-28Move some code into MergerAvatar Ciaran McCreesh -372/+120
2010-07-28Merger -> FSMergerAvatar Ciaran McCreesh -0/+1297