object-storage-client 0.4.4__tar.gz → 0.4.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.github/workflows/ci.yaml +231 -16
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/Cargo.lock +5 -5
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/Cargo.toml +3 -3
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/PKG-INFO +34 -3
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/README.md +33 -2
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/deny.toml +6 -1
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/CONFIGURATION.md +8 -3
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/DEVELOPMENT.md +21 -7
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/GUI.md +14 -5
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/TESTING.md +1 -1
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/UPGRADING.md +21 -0
- object_storage_client-0.4.8/packaging/aur/PKGBUILD.template +29 -0
- object_storage_client-0.4.8/packaging/icon/osc-gui.png +0 -0
- object_storage_client-0.4.8/packaging/linux/osc-gui.desktop +9 -0
- object_storage_client-0.4.8/packaging/macos/Info.plist.template +28 -0
- object_storage_client-0.4.8/packaging/macos/README.txt +43 -0
- object_storage_client-0.4.8/packaging/nfpm.yaml +60 -0
- object_storage_client-0.4.8/scripts/release/check-glibc.sh +30 -0
- object_storage_client-0.4.8/scripts/release/linux-packages.sh +35 -0
- object_storage_client-0.4.8/scripts/release/linux-tarball.sh +37 -0
- object_storage_client-0.4.8/scripts/release/macos-dmg.sh +89 -0
- object_storage_client-0.4.8/scripts/release/render-aur.sh +38 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/azure.rs +25 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/gcs.rs +16 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/http.rs +15 -2
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/mod.rs +72 -2
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/s3.rs +72 -2
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/client.rs +128 -1
- object_storage_client-0.4.8/src/core/mod.rs +20 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/registry.rs +56 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/close.rs +0 -1
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/conn.rs +13 -3
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/job.rs +6 -26
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/tests/conn.rs +39 -4
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/tests/jobs.rs +2 -8
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/tests.rs +1 -1
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action.rs +1 -1
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/gui}/connection/aws.rs +208 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/gui}/connection/mod.rs +31 -1
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/location.rs +0 -20
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/model.rs +1 -7
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view/address_bar.rs +4 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view/dialogs.rs +0 -34
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view/panel.rs +1 -1
- object_storage_client-0.4.8/src/gui/view/security.rs +268 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view/tests.rs +2 -9
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view/toolbar.rs +4 -6
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view.rs +1 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/worker/tests.rs +1 -1
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/worker.rs +1 -1
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui.rs +3 -2
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/lib.rs +14 -17
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/perf_guards.rs +2 -2
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.cargo/config.toml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.docker/garage.toml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.gitattributes +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.github/dependabot.yml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.github/workflows/perf.yaml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.github/workflows/tests.yaml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.gitignore +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/.python-version +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/LICENSE +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/benches/alloc-counter/Cargo.toml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/benches/alloc-counter/src/lib.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/benches/common/mod.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/benches/throughput.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/compose.yml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/BEHAVIOR.md +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/ENCRYPTION.md +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/docs/images/osc-gui.png +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/proptest-regressions/encryption/context.txt +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/pyproject.toml +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/python/object_storage_client/__init__.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/python/object_storage_client/__init__.pyi +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/python/object_storage_client/_stream.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/python/object_storage_client/_types.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/python/object_storage_client/py.typed +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/scripts/esdk_oracle.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/scripts/hostile-env.sh +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/scripts/perf_smoke.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/args.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/enc/tests.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/enc.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/harden.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/keyring.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/cli}/main.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/output.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/tests.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/transfer/tests.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/transfer.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/tree/tests.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli/tree.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/cli.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/aws_profile.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/body.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/connector.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/local.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/backend/stub.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/client/local_delete.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/codec.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/context.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/envelope/tests.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/envelope.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/fixtures.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/frame.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/fuzzing.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/header.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/keys/keyring/tests.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/keys/keyring.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/keys/mod.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/keys/raw_aes.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/mod.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/suite.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/encryption/tamper_tests.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/forward.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/fsmode.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/hex.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/python/client.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/python/encryption.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/python/mod.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/python/stream.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/sign.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/text.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/core}/upload.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/nav.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/tests/close.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/action/tests/nav.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/app.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/args.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/gui}/connection/azure.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/gui}/connection/gcp.rs +0 -0
- {object_storage_client-0.4.4/src → object_storage_client-0.4.8/src/gui}/connection/sso.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/display.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/keys.rs +0 -0
- /object_storage_client-0.4.4/src/bin/osc-gui.rs → /object_storage_client-0.4.8/src/gui/main.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/ops/tests.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/ops.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/startup.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view/startup_error.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/src/gui/view/status.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional/aws_profile.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional/cli.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional/client.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional/encryption.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional/golden.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional/sign.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional/suite.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/functional.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/azure_storage_ops.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/common/azurite.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/common/gcs.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/common/mod.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/common/provider.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/encryption.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/file_roundtrip.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/gcs_storage_ops.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/gui_ops.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/reencrypt.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/s3_storage_ops.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration/storage_ops.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/integration.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/conftest.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_abort_at_exit.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_encrypted_client.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_encryption_runtime.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_free_threading.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_gil_contention.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_list_stream.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_pipe_native.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_plain_client.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_profile.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_roundtrip.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_shared_client.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_stream_leak.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_stream_sticky.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_stub_conformance.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_subinterpreter.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/python/test_worker_threads.py +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/support/mini_http.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/support/mock.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/support/mod.rs +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/README.md +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/ctx_long.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/ctx_min.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/ctx_utf8.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/manifest.json +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p0_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p0_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p1_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p1_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p200000_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p200000_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p4095_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p4095_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p4096_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p4096_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p4097_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p4097_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p65535_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p65535_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p65536_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p65536_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p65537_f4096.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/esdk/p65537_f65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/README.md +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/context.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/keyring +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/manifest.json +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/old_key.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/size_0.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/size_1.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/size_200000.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/golden/v1/size_65536.bin +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/keyrings/README.md +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/keyrings/one.keyring +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/keyrings/other.keyring +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/tests/vectors/keyrings/two.keyring +0 -0
- {object_storage_client-0.4.4 → object_storage_client-0.4.8}/uv.lock +0 -0
|
@@ -17,6 +17,21 @@ concurrency:
|
|
|
17
17
|
|
|
18
18
|
jobs:
|
|
19
19
|
|
|
20
|
+
# Advisories and yanks change over time, so a release re-checks them.
|
|
21
|
+
deny:
|
|
22
|
+
name: cargo deny (advisories, bans, sources)
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
27
|
+
with:
|
|
28
|
+
persist-credentials: false
|
|
29
|
+
|
|
30
|
+
- uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1
|
|
31
|
+
with:
|
|
32
|
+
command: check advisories bans sources
|
|
33
|
+
arguments: --all-features
|
|
34
|
+
|
|
20
35
|
test:
|
|
21
36
|
# Stable only: a beta or nightly compiler problem must not block a release.
|
|
22
37
|
name: Test
|
|
@@ -62,21 +77,6 @@ jobs:
|
|
|
62
77
|
- name: Run clippy
|
|
63
78
|
run: cargo clippy --locked --all-targets --all-features -- -D warnings
|
|
64
79
|
|
|
65
|
-
# Advisories and yanks change over time, so a release re-checks them.
|
|
66
|
-
deny:
|
|
67
|
-
name: cargo deny (advisories, bans, sources)
|
|
68
|
-
runs-on: ubuntu-latest
|
|
69
|
-
|
|
70
|
-
steps:
|
|
71
|
-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
72
|
-
with:
|
|
73
|
-
persist-credentials: false
|
|
74
|
-
|
|
75
|
-
- uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1
|
|
76
|
-
with:
|
|
77
|
-
command: check advisories bans sources
|
|
78
|
-
arguments: --all-features
|
|
79
|
-
|
|
80
80
|
build-wheels:
|
|
81
81
|
name: Build wheels (${{ matrix.os }}${{ matrix.target && format(' / {0}', matrix.target) || '' }} / py${{ matrix.python }})
|
|
82
82
|
needs: [ test, rustfmt ]
|
|
@@ -305,12 +305,227 @@ jobs:
|
|
|
305
305
|
id-token: write
|
|
306
306
|
|
|
307
307
|
steps:
|
|
308
|
-
|
|
308
|
+
# Only the wheels and the sdist: the desktop packages from build-linux
|
|
309
|
+
# and build-macos are in this run too, and must not reach PyPI.
|
|
310
|
+
- name: Download wheels
|
|
311
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
312
|
+
with:
|
|
313
|
+
pattern: wheels-*
|
|
314
|
+
path: dist
|
|
315
|
+
merge-multiple: true
|
|
316
|
+
|
|
317
|
+
- name: Download sdist
|
|
309
318
|
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
310
319
|
with:
|
|
320
|
+
name: sdist
|
|
311
321
|
path: dist
|
|
312
322
|
merge-multiple: true
|
|
313
323
|
|
|
324
|
+
- name: Check that only Python distributions are present
|
|
325
|
+
run: |
|
|
326
|
+
set -euo pipefail
|
|
327
|
+
extra=$(find dist -type f ! -name '*.whl' ! -name '*.tar.gz')
|
|
328
|
+
if [ -n "$extra" ]; then
|
|
329
|
+
echo "error: non-Python files in dist/, refusing to publish:" >&2
|
|
330
|
+
echo "$extra" >&2
|
|
331
|
+
exit 1
|
|
332
|
+
fi
|
|
333
|
+
ls -l dist
|
|
334
|
+
|
|
314
335
|
# Trusted Publishing (OIDC): no stored token. Also uploads PEP 740 attestations.
|
|
315
336
|
- name: Publish to PyPI
|
|
316
337
|
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
338
|
+
|
|
339
|
+
# Release binaries for Linux, built in the manylinux_2_28 image so they run
|
|
340
|
+
# on glibc 2.28 and newer. Each arch builds on a native runner: no QEMU.
|
|
341
|
+
build-linux:
|
|
342
|
+
name: Build Linux (${{ matrix.arch }})
|
|
343
|
+
needs: [ test, rustfmt ]
|
|
344
|
+
runs-on: ${{ matrix.runner }}
|
|
345
|
+
|
|
346
|
+
strategy:
|
|
347
|
+
fail-fast: false
|
|
348
|
+
matrix:
|
|
349
|
+
include:
|
|
350
|
+
- arch: x86_64
|
|
351
|
+
runner: ubuntu-latest
|
|
352
|
+
image: quay.io/pypa/manylinux_2_28_x86_64
|
|
353
|
+
nfpm_arch: x86_64
|
|
354
|
+
nfpm_sha256: 6d7f9a28b2f397934403950fcbba83f598b08d02edbe79a0815b3b4897341750
|
|
355
|
+
- arch: aarch64
|
|
356
|
+
runner: ubuntu-24.04-arm
|
|
357
|
+
image: quay.io/pypa/manylinux_2_28_aarch64
|
|
358
|
+
nfpm_arch: arm64
|
|
359
|
+
nfpm_sha256: a9a75213763783b7669719e505474c748c5ad7dc66591a195619deb50f85c2f4
|
|
360
|
+
|
|
361
|
+
steps:
|
|
362
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
363
|
+
with:
|
|
364
|
+
persist-credentials: false
|
|
365
|
+
|
|
366
|
+
# Rust is installed inside the container with rustup (minimal profile).
|
|
367
|
+
- name: Build in manylinux
|
|
368
|
+
env:
|
|
369
|
+
IMAGE: ${{ matrix.image }}
|
|
370
|
+
run: |
|
|
371
|
+
docker run --rm \
|
|
372
|
+
-v "$PWD:/work" -w /work \
|
|
373
|
+
"$IMAGE" \
|
|
374
|
+
bash -euo pipefail -c '
|
|
375
|
+
curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs \
|
|
376
|
+
| sh -s -- -y --profile minimal --default-toolchain stable
|
|
377
|
+
. "$HOME/.cargo/env"
|
|
378
|
+
cargo build --locked --release --features gui --bin osc --bin osc-gui
|
|
379
|
+
target/release/osc --version
|
|
380
|
+
'
|
|
381
|
+
|
|
382
|
+
- name: Check the glibc requirement
|
|
383
|
+
run: bash scripts/release/check-glibc.sh 2.28 target/release/osc target/release/osc-gui
|
|
384
|
+
|
|
385
|
+
- name: Install nfpm
|
|
386
|
+
env:
|
|
387
|
+
NFPM_VERSION: 2.48.0
|
|
388
|
+
NFPM_ARCH: ${{ matrix.nfpm_arch }}
|
|
389
|
+
NFPM_SHA256: ${{ matrix.nfpm_sha256 }}
|
|
390
|
+
run: |
|
|
391
|
+
archive="nfpm_${NFPM_VERSION}_Linux_${NFPM_ARCH}.tar.gz"
|
|
392
|
+
curl --proto '=https' --tlsv1.2 -sSfL -o "$RUNNER_TEMP/$archive" \
|
|
393
|
+
"https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/${archive}"
|
|
394
|
+
echo "${NFPM_SHA256} $RUNNER_TEMP/$archive" | sha256sum --check --strict -
|
|
395
|
+
mkdir -p "$RUNNER_TEMP/nfpm"
|
|
396
|
+
tar -xzf "$RUNNER_TEMP/$archive" -C "$RUNNER_TEMP/nfpm" nfpm
|
|
397
|
+
echo "$RUNNER_TEMP/nfpm" >> "$GITHUB_PATH"
|
|
398
|
+
|
|
399
|
+
- name: Make the tarball, deb and rpm
|
|
400
|
+
env:
|
|
401
|
+
ARCH: ${{ matrix.arch }}
|
|
402
|
+
run: |
|
|
403
|
+
version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
|
|
404
|
+
mkdir -p dist
|
|
405
|
+
bash scripts/release/linux-tarball.sh "$version" "$ARCH" target/release dist
|
|
406
|
+
bash scripts/release/linux-packages.sh "$version" "$ARCH" target/release dist
|
|
407
|
+
ls -l dist
|
|
408
|
+
|
|
409
|
+
- name: Upload Linux artifacts
|
|
410
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
411
|
+
with:
|
|
412
|
+
name: linux-${{ matrix.arch }}
|
|
413
|
+
path: dist/*
|
|
414
|
+
if-no-files-found: error
|
|
415
|
+
|
|
416
|
+
# The macOS app has no signing secrets: the bundle is ad-hoc signed only.
|
|
417
|
+
build-macos:
|
|
418
|
+
name: Build macOS (arm64)
|
|
419
|
+
needs: [ test, rustfmt ]
|
|
420
|
+
runs-on: macos-latest
|
|
421
|
+
|
|
422
|
+
steps:
|
|
423
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
424
|
+
with:
|
|
425
|
+
persist-credentials: false
|
|
426
|
+
|
|
427
|
+
- name: Install Rust
|
|
428
|
+
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1
|
|
429
|
+
with:
|
|
430
|
+
toolchain: stable
|
|
431
|
+
|
|
432
|
+
- name: Build
|
|
433
|
+
run: cargo build --locked --release --features gui --bin osc --bin osc-gui
|
|
434
|
+
|
|
435
|
+
- name: Make the dmg
|
|
436
|
+
run: |
|
|
437
|
+
version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
|
|
438
|
+
mkdir -p dist
|
|
439
|
+
bash scripts/release/macos-dmg.sh "$version" target/release dist
|
|
440
|
+
ls -l dist
|
|
441
|
+
|
|
442
|
+
- name: Run the binaries from the mounted dmg
|
|
443
|
+
run: |
|
|
444
|
+
mnt="$RUNNER_TEMP/dmg"
|
|
445
|
+
mkdir -p "$mnt"
|
|
446
|
+
hdiutil attach -readonly -nobrowse -mountpoint "$mnt" dist/*.dmg
|
|
447
|
+
trap 'hdiutil detach "$mnt"' EXIT
|
|
448
|
+
app="$mnt/Object Storage Client.app/Contents/MacOS"
|
|
449
|
+
"$app/osc" --version
|
|
450
|
+
"$app/osc-gui" --version
|
|
451
|
+
|
|
452
|
+
- name: Upload macOS artifact
|
|
453
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
454
|
+
with:
|
|
455
|
+
name: macos-arm64
|
|
456
|
+
path: dist/*.dmg
|
|
457
|
+
if-no-files-found: error
|
|
458
|
+
|
|
459
|
+
# Installs each package into a fresh distribution on its own architecture.
|
|
460
|
+
test-packages:
|
|
461
|
+
name: Test packages (${{ matrix.arch }})
|
|
462
|
+
needs: [ build-linux ]
|
|
463
|
+
runs-on: ${{ matrix.runner }}
|
|
464
|
+
|
|
465
|
+
strategy:
|
|
466
|
+
fail-fast: false
|
|
467
|
+
matrix:
|
|
468
|
+
include:
|
|
469
|
+
- arch: x86_64
|
|
470
|
+
runner: ubuntu-latest
|
|
471
|
+
- arch: aarch64
|
|
472
|
+
runner: ubuntu-24.04-arm
|
|
473
|
+
|
|
474
|
+
steps:
|
|
475
|
+
- name: Download the packages
|
|
476
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
477
|
+
with:
|
|
478
|
+
name: linux-${{ matrix.arch }}
|
|
479
|
+
path: dist
|
|
480
|
+
|
|
481
|
+
- name: Install the deb in debian
|
|
482
|
+
run: |
|
|
483
|
+
docker run --rm -v "$PWD/dist:/dist:ro" debian:stable \
|
|
484
|
+
bash -euo pipefail -c '
|
|
485
|
+
apt-get update
|
|
486
|
+
apt-get install -y /dist/*.deb
|
|
487
|
+
osc --version
|
|
488
|
+
osc-gui --version
|
|
489
|
+
'
|
|
490
|
+
|
|
491
|
+
- name: Install the rpm in fedora
|
|
492
|
+
run: |
|
|
493
|
+
docker run --rm -v "$PWD/dist:/dist:ro" fedora:latest \
|
|
494
|
+
bash -euo pipefail -c '
|
|
495
|
+
dnf install -y /dist/*.rpm
|
|
496
|
+
osc --version
|
|
497
|
+
osc-gui --version
|
|
498
|
+
'
|
|
499
|
+
|
|
500
|
+
publish-release:
|
|
501
|
+
name: Attach packages to the GitHub release
|
|
502
|
+
needs: [ deny, package-crate, build-linux, build-macos, test-packages ]
|
|
503
|
+
runs-on: ubuntu-latest
|
|
504
|
+
environment: release
|
|
505
|
+
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v')
|
|
506
|
+
permissions:
|
|
507
|
+
contents: write
|
|
508
|
+
|
|
509
|
+
steps:
|
|
510
|
+
- name: Download the Linux artifacts
|
|
511
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
512
|
+
with:
|
|
513
|
+
pattern: linux-*
|
|
514
|
+
path: dist
|
|
515
|
+
merge-multiple: true
|
|
516
|
+
|
|
517
|
+
- name: Download the macOS artifact
|
|
518
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
519
|
+
with:
|
|
520
|
+
name: macos-arm64
|
|
521
|
+
path: dist
|
|
522
|
+
|
|
523
|
+
- name: Upload to the release
|
|
524
|
+
env:
|
|
525
|
+
GH_TOKEN: ${{ github.token }}
|
|
526
|
+
run: |
|
|
527
|
+
cd dist
|
|
528
|
+
sha256sum -- *.tar.gz *.deb *.rpm *.dmg > SHA256SUMS
|
|
529
|
+
cat SHA256SUMS
|
|
530
|
+
gh release upload "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --clobber \
|
|
531
|
+
*.tar.gz *.deb *.rpm *.dmg SHA256SUMS
|
|
@@ -2819,9 +2819,9 @@ dependencies = [
|
|
|
2819
2819
|
|
|
2820
2820
|
[[package]]
|
|
2821
2821
|
name = "mime"
|
|
2822
|
-
version = "0.3.
|
|
2822
|
+
version = "0.3.18"
|
|
2823
2823
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2824
|
-
checksum = "
|
|
2824
|
+
checksum = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1"
|
|
2825
2825
|
|
|
2826
2826
|
[[package]]
|
|
2827
2827
|
name = "miniz_oxide"
|
|
@@ -3346,7 +3346,7 @@ dependencies = [
|
|
|
3346
3346
|
|
|
3347
3347
|
[[package]]
|
|
3348
3348
|
name = "object-storage-client"
|
|
3349
|
-
version = "0.4.
|
|
3349
|
+
version = "0.4.8"
|
|
3350
3350
|
dependencies = [
|
|
3351
3351
|
"alloc-counter",
|
|
3352
3352
|
"async-trait",
|
|
@@ -5885,9 +5885,9 @@ dependencies = [
|
|
|
5885
5885
|
|
|
5886
5886
|
[[package]]
|
|
5887
5887
|
name = "winnow"
|
|
5888
|
-
version = "1.0.
|
|
5888
|
+
version = "1.0.5"
|
|
5889
5889
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5890
|
-
checksum = "
|
|
5890
|
+
checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef"
|
|
5891
5891
|
dependencies = [
|
|
5892
5892
|
"memchr",
|
|
5893
5893
|
]
|
|
@@ -9,7 +9,7 @@ license = "GPL-3.0-only"
|
|
|
9
9
|
name = "object-storage-client"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
repository = "https://github.com/bixority/object-storage-client"
|
|
12
|
-
version = "0.4.
|
|
12
|
+
version = "0.4.8"
|
|
13
13
|
|
|
14
14
|
[lib]
|
|
15
15
|
# maturin adds the cdylib crate type itself; do not list it here.
|
|
@@ -67,12 +67,12 @@ python = ["dep:pyo3", "dep:pyo3-async-runtimes", "encryption"]
|
|
|
67
67
|
|
|
68
68
|
[[bin]]
|
|
69
69
|
name = "osc"
|
|
70
|
-
path = "src/main.rs"
|
|
70
|
+
path = "src/cli/main.rs"
|
|
71
71
|
required-features = ["cli"]
|
|
72
72
|
|
|
73
73
|
[[bin]]
|
|
74
74
|
name = "osc-gui"
|
|
75
|
-
path = "src/
|
|
75
|
+
path = "src/gui/main.rs"
|
|
76
76
|
required-features = ["gui"]
|
|
77
77
|
|
|
78
78
|
[[bench]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: object-storage-client
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.8
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -68,8 +68,20 @@ and takes the same encryption options as `osc`.
|
|
|
68
68
|
|
|
69
69
|
### Install
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
Each [GitHub release](https://github.com/bixority/object-storage-client/releases)
|
|
72
|
+
has packages for both binaries:
|
|
73
|
+
|
|
74
|
+
- **macOS (Apple silicon):** open the `.dmg` and drag the app to Applications.
|
|
75
|
+
The app is not signed with an Apple Developer ID, so macOS blocks it on first
|
|
76
|
+
launch. Open System Settings → Privacy & Security and choose **Open Anyway**.
|
|
77
|
+
The README in the `.dmg` shows how to put `osc` on your PATH.
|
|
78
|
+
- **Debian and Ubuntu:** `sudo apt install ./object-storage-client_<version>-1_amd64.deb`
|
|
79
|
+
- **Fedora and RHEL-family:** `sudo dnf install ./object-storage-client-<version>-1.x86_64.rpm`
|
|
80
|
+
|
|
81
|
+
The Linux packages install the GUI's runtime libraries (Wayland, xkbcommon,
|
|
82
|
+
EGL and GL) as dependencies.
|
|
83
|
+
|
|
84
|
+
Or install both binaries from the registry:
|
|
73
85
|
|
|
74
86
|
```bash
|
|
75
87
|
export CARGO_REGISTRIES_BIXORITY_INDEX="sparse+https://codeberg.org/api/packages/bixority/cargo/"
|
|
@@ -84,6 +96,22 @@ cargo install --path . --features gui
|
|
|
84
96
|
|
|
85
97
|
On Linux, `osc-gui` needs a Wayland session; X11 is not supported.
|
|
86
98
|
|
|
99
|
+
#### Build for this machine
|
|
100
|
+
|
|
101
|
+
The release packages and a plain `cargo install` target a generic CPU, so they
|
|
102
|
+
run on any x86-64 (or aarch64) machine. To build for the CPU you have, set
|
|
103
|
+
`target-cpu=native` in `RUSTFLAGS`. The binary then uses that CPU's extensions
|
|
104
|
+
and will not run on older CPUs, so do not copy it to other machines:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
RUSTFLAGS="-C target-cpu=native" cargo install object-storage-client --registry bixority --features gui
|
|
108
|
+
# or, from a checkout:
|
|
109
|
+
RUSTFLAGS="-C target-cpu=native" cargo install --path . --features gui
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
The same works for `osc` (drop `--features gui`). The repository does not set
|
|
113
|
+
this flag itself, so it applies only when you set it.
|
|
114
|
+
|
|
87
115
|
### Run
|
|
88
116
|
|
|
89
117
|
```bash
|
|
@@ -114,6 +142,9 @@ cargo install object-storage-client --registry bixority
|
|
|
114
142
|
# or, from a checkout: cargo install --path .
|
|
115
143
|
```
|
|
116
144
|
|
|
145
|
+
To tune the build for your CPU, see [Build for this machine](#build-for-this-machine)
|
|
146
|
+
(`RUSTFLAGS="-C target-cpu=native"`).
|
|
147
|
+
|
|
117
148
|
### Run
|
|
118
149
|
|
|
119
150
|
```bash
|
|
@@ -48,8 +48,20 @@ and takes the same encryption options as `osc`.
|
|
|
48
48
|
|
|
49
49
|
### Install
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
Each [GitHub release](https://github.com/bixority/object-storage-client/releases)
|
|
52
|
+
has packages for both binaries:
|
|
53
|
+
|
|
54
|
+
- **macOS (Apple silicon):** open the `.dmg` and drag the app to Applications.
|
|
55
|
+
The app is not signed with an Apple Developer ID, so macOS blocks it on first
|
|
56
|
+
launch. Open System Settings → Privacy & Security and choose **Open Anyway**.
|
|
57
|
+
The README in the `.dmg` shows how to put `osc` on your PATH.
|
|
58
|
+
- **Debian and Ubuntu:** `sudo apt install ./object-storage-client_<version>-1_amd64.deb`
|
|
59
|
+
- **Fedora and RHEL-family:** `sudo dnf install ./object-storage-client-<version>-1.x86_64.rpm`
|
|
60
|
+
|
|
61
|
+
The Linux packages install the GUI's runtime libraries (Wayland, xkbcommon,
|
|
62
|
+
EGL and GL) as dependencies.
|
|
63
|
+
|
|
64
|
+
Or install both binaries from the registry:
|
|
53
65
|
|
|
54
66
|
```bash
|
|
55
67
|
export CARGO_REGISTRIES_BIXORITY_INDEX="sparse+https://codeberg.org/api/packages/bixority/cargo/"
|
|
@@ -64,6 +76,22 @@ cargo install --path . --features gui
|
|
|
64
76
|
|
|
65
77
|
On Linux, `osc-gui` needs a Wayland session; X11 is not supported.
|
|
66
78
|
|
|
79
|
+
#### Build for this machine
|
|
80
|
+
|
|
81
|
+
The release packages and a plain `cargo install` target a generic CPU, so they
|
|
82
|
+
run on any x86-64 (or aarch64) machine. To build for the CPU you have, set
|
|
83
|
+
`target-cpu=native` in `RUSTFLAGS`. The binary then uses that CPU's extensions
|
|
84
|
+
and will not run on older CPUs, so do not copy it to other machines:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
RUSTFLAGS="-C target-cpu=native" cargo install object-storage-client --registry bixority --features gui
|
|
88
|
+
# or, from a checkout:
|
|
89
|
+
RUSTFLAGS="-C target-cpu=native" cargo install --path . --features gui
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
The same works for `osc` (drop `--features gui`). The repository does not set
|
|
93
|
+
this flag itself, so it applies only when you set it.
|
|
94
|
+
|
|
67
95
|
### Run
|
|
68
96
|
|
|
69
97
|
```bash
|
|
@@ -94,6 +122,9 @@ cargo install object-storage-client --registry bixority
|
|
|
94
122
|
# or, from a checkout: cargo install --path .
|
|
95
123
|
```
|
|
96
124
|
|
|
125
|
+
To tune the build for your CPU, see [Build for this machine](#build-for-this-machine)
|
|
126
|
+
(`RUSTFLAGS="-C target-cpu=native"`).
|
|
127
|
+
|
|
97
128
|
### Run
|
|
98
129
|
|
|
99
130
|
```bash
|
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
yanked = "deny"
|
|
5
5
|
# Triage an advisory by updating the crate; only if that is impossible, add
|
|
6
6
|
# its id here with a reason.
|
|
7
|
-
ignore = [
|
|
7
|
+
ignore = [
|
|
8
|
+
# astral-tokio-tar is unmaintained (all versions); it comes only from the
|
|
9
|
+
# dev-dependency testcontainers 0.28 (the latest), so it never ships.
|
|
10
|
+
# Remove once testcontainers drops it.
|
|
11
|
+
{ id = "RUSTSEC-2026-0440", reason = "dev-only via testcontainers 0.28; no maintained alternative yet" },
|
|
12
|
+
]
|
|
8
13
|
|
|
9
14
|
[bans]
|
|
10
15
|
multiple-versions = "allow"
|
|
@@ -275,9 +275,14 @@ connections it finds on the machine and gives each one a client of its own
|
|
|
275
275
|
lists for a subscription, signed in through `az` (`AZURE_USE_AZURE_CLI`).
|
|
276
276
|
|
|
277
277
|
A profile, gcloud or Azure CLI connection takes nothing else from the
|
|
278
|
-
environment: `S3_ENDPOINT
|
|
279
|
-
|
|
280
|
-
|
|
278
|
+
environment: `S3_ENDPOINT` and the timeout and transport variables do not apply
|
|
279
|
+
to it, and an AWS profile's S3 endpoint comes from the profile. The one
|
|
280
|
+
exception is the region of an AWS profile connection: as with the AWS CLI,
|
|
281
|
+
`S3_REGION`, `AWS_REGION` and `AWS_DEFAULT_REGION` (as they were when
|
|
282
|
+
`osc-gui` searched for connections) come before the profile's `region`, else
|
|
283
|
+
`us-east-1`. When S3 answers that a bucket lives in another region (a `301`
|
|
284
|
+
or `400` naming it in `x-amz-bucket-region`), `osc-gui` uses that region for
|
|
285
|
+
the bucket from then on and lists it again. The system proxy settings still apply, and the
|
|
281
286
|
AWS SDK's own SSO and STS requests still read the process environment (see
|
|
282
287
|
[AWS profiles and SSO](#aws-profiles-and-sso)). A global `AWS_ENDPOINT_URL` is
|
|
283
288
|
refused for a profile connection, as described under Endpoints: a panel on that
|
|
@@ -107,13 +107,16 @@ otherwise a `--locked` check of the fuzz crate fails.
|
|
|
107
107
|
|
|
108
108
|
## Layout
|
|
109
109
|
|
|
110
|
-
- `src/
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
`
|
|
116
|
-
- `src/
|
|
110
|
+
- `src/core/`: the library shared by both binaries. `src/core/client.rs` and
|
|
111
|
+
`src/core/codec.rs` hold the `Client` API and the plain codec;
|
|
112
|
+
`src/core/backend/` has one module per storage provider;
|
|
113
|
+
`src/core/encryption/` has the message format, framing, keyrings and the
|
|
114
|
+
encrypting codec; `src/core/python/` the bindings. `lib.rs` re-exports
|
|
115
|
+
`core` under the module names the library has always had.
|
|
116
|
+
- `src/cli.rs`, `src/cli/`, `src/cli/main.rs`: the `osc` binary
|
|
117
|
+
- `src/gui.rs`, `src/gui/`, `src/gui/main.rs`: the `osc-gui` binary;
|
|
118
|
+
`src/gui/connection/`: its connection discovery and SSO login
|
|
119
|
+
- `python/object_storage_client/`: the Python package and its type stubs
|
|
117
120
|
- `tests/`, `benches/`, `fuzz/`, `scripts/`: see [Testing](TESTING.md)
|
|
118
121
|
- `compose.yml`: Garage and Azurite for manual exploration (`docker compose up`)
|
|
119
122
|
|
|
@@ -155,6 +158,17 @@ otherwise a `--locked` check of the fuzz crate fails.
|
|
|
155
158
|
next to the Codeberg token) and `publish-to-pypi` uses PyPI Trusted
|
|
156
159
|
Publishing (OIDC), with no stored token. Run it by hand (`workflow_dispatch`)
|
|
157
160
|
from a branch to dry-run everything except publishing.
|
|
161
|
+
- `ci.yaml` also builds the desktop packages for each release: Linux tarballs,
|
|
162
|
+
`.deb` and `.rpm` for x86_64 and aarch64, and a macOS `.dmg` for Apple
|
|
163
|
+
silicon. The Linux binaries are built in the `manylinux_2_28` image, so they
|
|
164
|
+
run on glibc 2.28 and newer; `check-glibc.sh` enforces that. The scripts in
|
|
165
|
+
`scripts/release/` make the packages, and `packaging/` holds their inputs.
|
|
166
|
+
`test-packages` installs the `.deb` and `.rpm` in Debian and Fedora
|
|
167
|
+
containers. `publish-release` attaches everything to the GitHub release with
|
|
168
|
+
a `SHA256SUMS` file. The `.dmg` is ad-hoc signed only, so users approve the
|
|
169
|
+
app once in System Settings. A `workflow_dispatch` run builds and tests all of
|
|
170
|
+
it and publishes nothing. There is no AUR job: the AUR package is not part of
|
|
171
|
+
CI.
|
|
158
172
|
- Every `uses:` in every workflow is pinned to a full commit SHA with the tag
|
|
159
173
|
in a trailing comment, and the `lint` job fails on an unpinned one.
|
|
160
174
|
Dependabot proposes updates to the pins weekly; review them by hand.
|
|
@@ -39,8 +39,14 @@ The options are the ones `osc` takes:
|
|
|
39
39
|
| `--require-encryption` | `OSC_REQUIRE_ENCRYPTION` | Refuse to start without a key source |
|
|
40
40
|
|
|
41
41
|
The key source is opened once, at launch; a keyring file then reloads itself
|
|
42
|
-
when it changes, while a key command is not run again. The
|
|
43
|
-
|
|
42
|
+
when it changes, while a key command is not run again. The top right of the
|
|
43
|
+
toolbar shows a key (🔑) when client-side encryption is on and ⊘ when it is
|
|
44
|
+
off; hover it to see whether the keys came from a keyring file or a key
|
|
45
|
+
command. Next to each connection selector, a shield (🛡️) means the endpoint
|
|
46
|
+
uses HTTPS and its certificate is verified, a warning sign (⚠️) means HTTPS with
|
|
47
|
+
certificate verification turned off for that connection, and ◌ means no TLS
|
|
48
|
+
(a plain `http` endpoint, or Local). An AWS profile's `endpoint_url` is read when
|
|
49
|
+
the connections are found, so "Rescan" picks up a change. Hover an icon for its text. With encryption on,
|
|
44
50
|
every copy and move encrypts what it writes and decrypts what it reads, as `osc
|
|
45
51
|
cp` and `osc mv` do.
|
|
46
52
|
|
|
@@ -64,7 +70,11 @@ local files and variables and never asks you to log in; for Azure it also asks
|
|
|
64
70
|
`AZURE_STORAGE_ACCOUNT_NAME` variable.
|
|
65
71
|
|
|
66
72
|
Anything it could not use is listed under the connections as a small grey
|
|
67
|
-
note.
|
|
73
|
+
note. A note also names an AWS profile that repeats `sso_start_url` or
|
|
74
|
+
`sso_region` next to `sso_session`: the AWS SDK refuses that profile, so
|
|
75
|
+
remove the repeated keys (they belong in the `[sso-session]` section). After
|
|
76
|
+
an SSO login, every panel whose profile shares that login is reloaded. An AWS
|
|
77
|
+
profile is refused while `AWS_ENDPOINT_URL` is set, and a panel on
|
|
68
78
|
it shows that error (see CONFIGURATION.md). "Rescan" searches again. A
|
|
69
79
|
connection uses only its own settings, so one panel can use another account than
|
|
70
80
|
the other, and copies between panels on different connections stream through
|
|
@@ -151,8 +161,7 @@ lose data, and Esc cancels.
|
|
|
151
161
|
- **Existing destinations are checked first**, for up to 1,000 items: one
|
|
152
162
|
question per job offers to overwrite all, skip existing or cancel. A larger
|
|
153
163
|
job is not checked; you are warned that existing objects will be overwritten.
|
|
154
|
-
- **Moves and deletes ask first.**
|
|
155
|
-
type the bucket name.
|
|
164
|
+
- **Moves and deletes ask first.**
|
|
156
165
|
- **Copying or moving a folder into itself is refused.** So is copying or
|
|
157
166
|
moving onto the folder the selection already is in.
|
|
158
167
|
- **Empty directories can stay behind.** Moving or deleting a local folder can
|
|
@@ -29,7 +29,7 @@ through `object_store`'s clients, which always honour system proxies and cannot
|
|
|
29
29
|
turn them off. The clients the crate builds itself ignore proxies in tests
|
|
30
30
|
(injected variables).
|
|
31
31
|
|
|
32
|
-
Backend unit tests that talk to a loopback stub (`src/backend/stub.rs`) run on
|
|
32
|
+
Backend unit tests that talk to a loopback stub (`src/core/backend/stub.rs`) run on
|
|
33
33
|
the real tokio clock, not `start_paused`: on macOS a paused clock can jump to
|
|
34
34
|
the HTTP timeouts while a loopback connect is still pending.
|
|
35
35
|
`stub::closed_port()` keeps its port bound, so a concurrent test's stub cannot
|
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Upgrading
|
|
2
2
|
|
|
3
|
+
## From 0.4.4 to 0.4.8
|
|
4
|
+
|
|
5
|
+
### `osc-gui`
|
|
6
|
+
|
|
7
|
+
- The toolbar shows a key icon (🔑) when encryption is on and ⊘ when it is off,
|
|
8
|
+
in place of the "Encryption on/off" text; hover it for where the keys came
|
|
9
|
+
from. Each panel shows a TLS icon left of its connection selector: 🛡️
|
|
10
|
+
verified HTTPS, ⚠️ HTTPS without certificate verification, ◌ no TLS.
|
|
11
|
+
- An AWS profile connection now takes `S3_REGION`, `AWS_REGION` and
|
|
12
|
+
`AWS_DEFAULT_REGION` from the environment, before the profile's `region`, as
|
|
13
|
+
the AWS CLI does. They used to be ignored, so a profile without `region`
|
|
14
|
+
signed for `us-east-1`.
|
|
15
|
+
- A bucket in another region than the one used no longer fails with
|
|
16
|
+
`301 PermanentRedirect`: the region S3 names is used for that bucket and the
|
|
17
|
+
listing is retried once.
|
|
18
|
+
- A profile with `sso_session` and its own `sso_start_url` or `sso_region` is
|
|
19
|
+
named in a note; the AWS SDK refuses it. Remove the repeated keys.
|
|
20
|
+
- After an SSO login, panels on every profile that shares the login reload.
|
|
21
|
+
- Deleting entries at the top of a bucket no longer asks you to type the
|
|
22
|
+
bucket name; it asks like any other delete.
|
|
23
|
+
|
|
3
24
|
## From 0.4.3 to 0.4.4
|
|
4
25
|
|
|
5
26
|
### Errors
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Maintainer: Olegs Korsaks <olegs.korsaks@bixority.com>
|
|
2
|
+
# Rendered by scripts/release/render-aur.sh. Do not edit the rendered file.
|
|
3
|
+
pkgname=object-storage-client-bin
|
|
4
|
+
pkgver=@VERSION@
|
|
5
|
+
pkgrel=1
|
|
6
|
+
pkgdesc='Client for S3-compatible object storage (osc and osc-gui), prebuilt binaries'
|
|
7
|
+
arch=('x86_64' 'aarch64')
|
|
8
|
+
url='https://github.com/bixority/object-storage-client'
|
|
9
|
+
license=('GPL-3.0-only')
|
|
10
|
+
depends=('glibc' 'gcc-libs' 'wayland' 'libxkbcommon' 'libglvnd')
|
|
11
|
+
provides=('object-storage-client')
|
|
12
|
+
conflicts=('object-storage-client')
|
|
13
|
+
options=('!strip')
|
|
14
|
+
# Literal arch in each URL (not $CARCH) so .SRCINFO is right on any host.
|
|
15
|
+
source_x86_64=("object-storage-client-$pkgver-linux-x86_64.tar.gz::https://github.com/bixority/object-storage-client/releases/download/v$pkgver/object-storage-client-$pkgver-linux-x86_64.tar.gz")
|
|
16
|
+
source_aarch64=("object-storage-client-$pkgver-linux-aarch64.tar.gz::https://github.com/bixority/object-storage-client/releases/download/v$pkgver/object-storage-client-$pkgver-linux-aarch64.tar.gz")
|
|
17
|
+
sha256sums_x86_64=('@SHA256_X86_64@')
|
|
18
|
+
sha256sums_aarch64=('@SHA256_AARCH64@')
|
|
19
|
+
|
|
20
|
+
package() {
|
|
21
|
+
cd "$srcdir/object-storage-client-$pkgver-linux-$CARCH"
|
|
22
|
+
install -Dm755 osc "$pkgdir/usr/bin/osc"
|
|
23
|
+
install -Dm755 osc-gui "$pkgdir/usr/bin/osc-gui"
|
|
24
|
+
install -Dm644 osc-gui.desktop "$pkgdir/usr/share/applications/osc-gui.desktop"
|
|
25
|
+
install -Dm644 osc-gui.png "$pkgdir/usr/share/icons/hicolor/1024x1024/apps/osc-gui.png"
|
|
26
|
+
install -Dm644 README.md "$pkgdir/usr/share/doc/object-storage-client/README.md"
|
|
27
|
+
install -Dm644 LICENSE "$pkgdir/usr/share/doc/object-storage-client/LICENSE"
|
|
28
|
+
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
29
|
+
}
|
|
Binary file
|