spiegel_podman/libpod
Matt Heon f5bc2abe4c Remove BoltDB state support
This also includes a number of significant changes to the SQLite
state made possible by removal of the legacy DB.

1. Enable database unit tests for SQLite state, with numerous
   tweaks to get tests passing. Most notable changes are to
   container removal - where we previously didn't return an error
   if there was no container to remove - and RemovePodContainers,
   which I don't think ever worked properly from my reading of
   the failures.
2. Removal of AddContainerToPod/RemoveContainerToPod. On SQLite,
   these functions are identical to AddContainer/RemoveContainer
   and there is no reason to retain duplicates.
3. Removal of SafeRewriteContainerConfig - it's identical to
   RewriteContainerConfig in SQLite, no reason to have duplicate
   entrypoints.

As an exciting side-note, this removes Podman's requirement that
containers and pods cannot share a name, which was a BoltDB
restriction only.

Signed-off-by: Matt Heon <matthew.heon@pm.me>
2025-10-28 12:09:04 -04:00
..
define Bump Go version to v6 2025-10-23 11:00:15 -04:00
driver Bump Go version to v6 2025-10-23 11:00:15 -04:00
events Bump Go version to v6 2025-10-23 11:00:15 -04:00
layers Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
linkmode chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
lock Bump Go version to v6 2025-10-23 11:00:15 -04:00
logs Bump Go version to v6 2025-10-23 11:00:15 -04:00
plugin Bump Go version to v6 2025-10-23 11:00:15 -04:00
shutdown Revert "libpod: remove shutdown.Unregister()" 2024-11-27 08:09:50 -05:00
common_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
container_api.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_commit.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_config.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_copy_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_copy_freebsd.go Mount volumes before copying into a container 2024-11-27 08:09:50 -05:00
container_copy_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_exec.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container_graph.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_graph_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_inspect.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_inspect_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_inspect_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_internal.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
container_internal_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_internal_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_internal_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_internal_linux_test.go libpod: --user works with --hostuser entries 2025-04-07 18:11:06 +02:00
container_internal_test.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
container_linux.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container_log.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_log_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_log_unsupported.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_path_resolution.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_path_resolution_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container_stat_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_stat_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container_stat_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_top_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_top_linux.c libpod/container_top_linux.c: fix missing header 2024-06-27 10:50:17 +02:00
container_top_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
container_top_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container_validate.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
diff.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
doc.go document that using libpod package directly is not supported 2022-03-23 19:05:29 +01:00
events.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
healthcheck.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
healthcheck_config.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
healthcheck_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
healthcheck_nosystemd_linux.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
healthcheck_unsupported.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
info.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
info_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
info_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
info_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
kube.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
mounts_linux.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
networking_common.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
networking_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
networking_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
networking_linux_test.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
networking_machine.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
networking_pasta_linux.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
networking_slirp4netns.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci_conmon.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
oci_conmon_attach_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci_conmon_attach_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
oci_conmon_attach_linux.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
oci_conmon_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci_conmon_exec_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci_conmon_exec_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
oci_conmon_exec_linux.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
oci_conmon_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
oci_conmon_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci_missing.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci_util.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
options.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
pod.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
pod_api.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
pod_internal.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
pod_internal_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
pod_internal_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
pod_status.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
pod_top_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
pod_top_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
reset.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
rlimit_int64.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
rlimit_uint64.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
runtime.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
runtime_cstorage.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_ctr.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
runtime_ctr_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
runtime_ctr_linux.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
runtime_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
runtime_img.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_migrate.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_migrate_freebsd.go libpod: fix a confusing error message from 'podman system reset' on FreeBSD 2025-02-11 15:13:29 +00:00
runtime_migrate_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_migrate_unsupported.go libpod: fix a confusing error message from 'podman system reset' on FreeBSD 2025-02-11 15:13:29 +00:00
runtime_pod.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_pod_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_pod_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
runtime_pod_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_pre_go1.20.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
runtime_renumber.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_test.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
runtime_volume.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_volume_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
runtime_worker.go create runtime's worker queue before queuing any job 2024-07-09 11:15:29 +02:00
service.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
sqlite_state.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
sqlite_state_internal.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
state.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
state_test.go Remove BoltDB state support 2025-10-28 12:09:04 -04:00
stats_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
stats_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
stats_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
storage.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
util.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
util_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
util_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
util_linux_test.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
util_test.go libpod: fix mount order for "/" volume 2025-05-20 15:52:27 +02:00
volume.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
volume_inspect.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
volume_internal.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
volume_internal_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
volume_internal_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
volume_internal_linux.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00