- Jan 19, 2024
-
-
Antoine Lambert authored
Turns these references into simple links in order for the rst checks performed by PyPI to pass when uploading a new package version.
- Jan 10, 2024
-
-
Antoine R. Dumont authored
-
- Dec 05, 2023
-
-
David Douard authored
-
- Dec 04, 2023
-
-
Antoine Lambert authored
As the known_first_party isort option was not set yet, previous imports ordering got broken so restore it.
-
Antoine Lambert authored
It was placed in mypy.plugins.django-stubs section so it was not taken into account.
-
Antoine Lambert authored
-
- Dec 01, 2023
-
-
David Douard authored
-
- Nov 29, 2023
-
-
David Douard authored
The former does not always plays well with PEP420...
-
David Douard authored
-
- Nov 27, 2023
-
-
I found some deposits on staging which use <entry xmlns="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"> instead
- Nov 24, 2023
-
-
Antoine R. Dumont authored
This ensures the deposit checks in the elastic infra (using azure objstorage) is working. There is currently no way to prevent the content-encoding from being detected and stored in the blobstorage (various tryouts have been tested to no avail). That content-encoding, is then preventing the checking/reading to work (failing [2]). Following the documentation, a workaround has been implemented to reset a posteriori the content-encoding [1]. It's not proper but, from repl experimentation, it's working which is better than the actual failure. [1] https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-properties-metadata-python [2] ``` HttpResponseError: ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check')) ``` Refs. swh/infra/sysadm-environment#5129
-
Antoine R. Dumont authored
Use None instead of empty string to try to prevent content-encoding to be set when writing. Refs. swh/infra/sysadm-environment#5129
- Nov 23, 2023
- Nov 22, 2023
-
-
Antoine R. Dumont authored
Currently, the writing in the azure objstorage adds extra headers to the blobs. Which prevents the correct reading of those blobs when checking the tarballs. According to the documentation, this option opening should allow to configure more appropriately. Refs. swh/infra/sysadm-environment#5129
-
- Nov 20, 2023
-
-
Antoine R. Dumont authored
If done on the full path, the conditional technically fails the check for the wrong reason. This also adds tests on this case. Refs. swh/infra/sysadm-environment#5129
- Nov 17, 2023
-
-
Antoine R. Dumont authored
Refs. swh/infra/sysadm-environment#5129
-
Antoine R. Dumont authored
Similar adaptation of the deposit_check endpoint to allow reading remote tarballs when using remote storage backends. Refs. swh/infra/sysadm-environment#5129
-
Antoine R. Dumont authored
Using the File api is consistent across various storage backends. The previous implementation was only working for file storage. As we are migrating towards remote backends, this no longer is enough. Unfortunately though, we cannot rely on zipfile.is_zipfile or tarfile.is_tarfile as those only works with local filepath. So we need to rely on testing & failing with exception trapping to read properly the tarballs... Refs. swh/infra/sysadm-environment#5129
-
Antoine R. Dumont authored
They were only checking one tarball case (the ones reference in the ready_deposit_ok deposit). This now creates as much deposit as there are extensions to check. This only had to adapt the deposit so it's provided with a valid metadata. Otherwise, the metadata checks were invalid, failing the overall tests. Refs. swh/infra/sysadm-environment#5129
-
Antoine R. Dumont authored
Refs. swh/infra/sysadm-environment#5129
-
- Nov 16, 2023
-
-
Antoine R. Dumont authored
-
- Nov 09, 2023
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
This reverts commit bb22867c. Not ready yet
-
Antoine R. Dumont authored
- Nov 07, 2023
-
-
Antoine R. Dumont authored
This adapts the memcached import the same way the swh.web module did. Follow up 9210c012 Refs. swh/infra/sysadm-environment#5129
-
Antoine R. Dumont authored
This adapts the memcached import the same way the swh.web module did. Follow up on 4698e8c9 Refs. swh/infra/sysadm-environment#5129
- Oct 18, 2023