mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 07:11:11 -05:00
Moves package versions between Published/Unlisted/Archived (UpdatePackageVersionsStatus) or permanently to Disposed with real asset deletion (DisposePackageVersions), for generic and every container-backed format. Both share the same all-or-nothing batch semantics, NOT_FOUND/MISMATCHED_REVISION/MISMATCHED_STATUS/NOT_ALLOWED error codes, and SKIPPED fallback confirmed against the User Guide's own worked examples. Container-backed formats (maven/npm/pypi/nuget) get a new in-memory status-override store, since none of their sidecars have a native status concept beyond existing-or-not; generic already had status/revision on its own record. GetPackageVersionAsset now 404s for Archived/Disposed versions (assets undownloadable per the User Guide), and ListPackageVersions correctly surfaces real Archived/Disposed/Unlisted data instead of the previously-unreachable filtering branch. Verified end to end against all four real sidecar containers, not just mocks.