swh-archiver
Orchestrator in charge of guaranteeing that object storage content is pristine and available in a sufficient amount of copies.
Tests
This module's tests need a postgres db to run. It is recommended to run those but they can be skipped:
make test: will run all testsmake test-nodb: will run only tests that do not need a local DBmake test-db: will run only tests that do need a local DB
If you do want to run DB-related tests, you should ensure you have access with sufficient privileges to a Postgresql database.
Using your system database
You need to:
-
ensure that your user is authorized to create and drop DBs, and in particular DBs named "softwareheritage-test" and "softwareheritage-dev"
-
ensure that you have the storage testdata repository checked out in ../swh-storage-testdata
Using pifpaf
pifpaf is a suite of fixtures and a command-line tool that allows to start and stop daemons for a quick throw-away usage.
It can be used to run tests that need a Postgres database without any other configuration reauired nor the need to have special access to a running database:
$ pifpaf run postgresql make test-db
[snip]
----------------------------------------------------------------------
Ran 12 tests in 0.903s
OK
Note that pifpaf is not yet available as a Debian package, so you may have to install it in a venv.
Metadata
Release files for swh.archiver 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| swh.archiver-0.0.6.tar.gz | 24.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swh.archiver-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.8 kB
Release files / swh.archiver-0.0.6.tar.gz
| Download URL | swh.archiver-0.0.6.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4676734edd8f6af7050e92348a78518afb0df6af06be958977c886c18bd8bea5
|
|
BLAKE2b-256 checksum How to use checksums |
38afd0290617b67023b99ec8640f29031f5b4e1b80b8ef808cbd44bc839c6703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3
|
Release files / swh.archiver-0.0.6-py3-none-any.whl
| Download URL | swh.archiver-0.0.6-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b961f38d03e253132357e95c82db296e967d33daffdc76fe76735c1f63d4152a
|
|
BLAKE2b-256 checksum How to use checksums |
f4851531cb15c826012ecd75789a2522807231791057ab28c7e9bd3b6da7f64f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3
|
Security for swh.archiver 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.