Commit Graph

7 Commits

Author SHA1 Message Date
Panu Matilainen 6800e0a4df Axe --nopromote and most of the related infrastructure
Epoch promotion was a thing around and before the turn of the millenium,
we really shouldn't be carrying that cruft around anymore.

Remove all traces that we can without too much guilt about breaking
ABI/API and not bumping soname which we dont want to do for this
stupid old thing: all the symbols are left in place, they just don't
work anymore. Nobody should notice as nobody can have been using this
stuff in the last 15+ years.
2020-05-27 14:14:00 +02:00
Panu Matilainen 2652bab3e9 Eliminate rpmdsNotify() from the API + Python bindings
This is an internal helper for debug logging and should've never been
part of the API in the first place. We're removing all sorts of things
on this round anyway so it's a fine opportunity for removing this too.
It's not as if anybody used this outside rpm because it's ... not
exactly useful.
2017-03-28 16:34:12 +03:00
Lubos Kardos 846d0e0203 Add rpmdsFilterTi() to filter rpmds according to trigger index. 2015-02-05 08:08:12 +01:00
Lubos Kardos 06122bc1a4 Now it is possible to save trigger index in rpmds.
This enables to handle trigger rpmds in the same way as normal
rpmds. Merging of rpmds takes into account trigger indices if
they are set and rpmdsPutToHeader()/rpmdsNewPool() puts/gets
trigger indices into/from header if resulting rpmds is trigger
rpmds.
2014-07-08 11:49:46 +02:00
Panu Matilainen 541234b02e Export the pool-aware rpmds constructors
- Private pools can be very expensive when constructing and tearing
  down dependency sets by the masses. Permit taking advantage of
  shared pool outside librpm internals.
2013-04-16 07:42:04 +03:00
Panu Matilainen 3ff6fdd688 Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now
- In the package/transaction related things the strpool is more of
  an internal implementation detail than an end-goal in itself, move
  string pool related interfaces of rpmts, rpmfi and rpmds to
  internal-only APIs for now. The kind interfaces we'll want to eventually
  export a) dont exist yet and b) are likely to be something very different.
- The string pool itself remains exported however, its a handy data
  structure for all sorts of things and both librpm and librpmbuild
  heavily use it already.
2012-11-01 09:59:57 +02:00
Panu Matilainen f4758b1920 Export the indexed rpmds accessors internally
- Add an internal header for rpmds too to allow adding interfaces we
  dont necessarily want to export in the public API, make the indexed
  accessors available internally.
2012-10-05 10:07:52 +03:00