podman/hack
Valentin Rothberg 09dc701097 podman rmi: refactor logic
While this commit was initially meant to fix #5847, it has turned into a
bigger refactoring which I did not manage to break into smaller pieces:

 * Fix #5847 by refactoring the image-removal logic.

 * Make the api handler for image-removal use the ABI code. This way,
   both (i.e., ABI and Tunnel) end up using the same code.  Achieving
   this code share required to move some code around to prevent circular
   dependencies.

 * Everything in pkg/api (excluding pkg/api/types) must now only be
   accessed from code using `ABISupport`.

 * Avoid imports from entities on handlers to prevent circular
   dependencies.

 * Move `podman system service` logic into `cmd` to prevent circular
   dependencies - it depends on pkg/api.

 * Also remove the build header from infra/abi files.  It will otherwise
   confuse swagger and other tools; errors we cannot fix as go doesn't
   expose a build-tag env variable.

Fixes: #5847
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-21 08:12:25 +02:00
..
apparmor_tag.sh AppArmor: runtime check if it's enabled on the host 2018-07-23 18:11:09 +00:00
btrfs_installed_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
btrfs_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
get_ci_vm.sh Cirrus: Fix not growing Fedora root 2020-02-28 09:54:35 -05:00
get_release_info.sh Cirrus: Fix gate image & false-positive exits 2020-03-02 08:50:54 -05:00
golangci-lint.sh podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
install_catatonit.sh catatonit: clone and build 2019-09-25 11:05:41 +02:00
install_golangci.sh Cirrus: Fix gate image & false-positive exits 2020-03-02 08:50:54 -05:00
libdm_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
man-page-checker Merge pull request #5465 from edsantiago/man_page_option_checker 2020-03-19 16:53:02 +01:00
podman-commands.sh auto updates 2020-03-17 17:18:56 +01:00
podmanv2-retry podmanv2-retry - new helper for testing v2 2020-04-01 14:14:00 -06:00
release.sh Fix a syntax error in hack/release.sh 2020-01-31 10:55:17 -05:00
selinux_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
swagger-check swagger-check: new CI tool to cross-check swagger 2020-04-14 11:27:44 -06:00
systemd_tag.sh Use systemd/sd-daemon.h headers for systemd presence 2019-12-16 20:37:15 +05:30
tree_status.sh Cirrus: Add check for make varlink_api_generate 2019-05-03 15:04:48 -04:00
xref-helpmsgs-manpages New test: man page cross-ref against --help 2020-03-18 11:03:26 -06:00