Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ironArray/Caterva2

REST and on-demand access to local/remote Blosc2 data repositories
https://github.com/ironArray/Caterva2

Change location

b7fbf6f0c13117eaa2f697e46106807baababea4 authored about 1 year ago
Add logo for Caterva in README

8e28218c6141f78eceec549da20192be6767fef7 authored about 1 year ago
Add logos for caterva

085727378e3c8b5a7a052d54c06d9904374ae27d authored about 1 year ago
Test can be run standalone too

ca03efb4a72926ad00c29ff504d160a4d02fabf5 authored about 1 year ago
[WIP] Decoupling utils.py (eventually removed)

c5518f60fe7c67708bb6bdd73365c02d981458b6 authored about 1 year ago
New /api/fetch REST. Tests are passing now.

c6b03ca6c393c0b50bb414f9a95562d28973023f authored about 1 year ago
First, preliminary decoupling

32cc2674056b08937d0d0d5e749a79160098ac28 authored about 1 year ago
New scripts for caterva

fd7d01937886f26fc99e82f9df469fc42ef20a6a authored about 1 year ago
Update obsolete reference to test files in readme

555f43673920f7db4333bb693c8a162b15707847 authored about 1 year ago
Fix obsolete mentions to tests services module in docs

fedc57857ee4580069646da259258ba436a7b724 authored about 1 year ago
Merge branch 'test-fixtures'

This removes some boilerplate in test code, better exploiting pytest fixtures.
Some repetition m...

4669a348e64a51dd569a3e66ce1212b8671d23d9 authored about 1 year ago
Remove source fixture

Not necessary anymore.

db79d8b2f56ee8eb3015306db47cdc11ecb8aac4 authored about 1 year ago
Use test published root constant from module instead of services

As that name can only be ensured for managed services, not for external ones.

This leaves `Serv...

658592f8815bdace75ddc9d1cfc45302b1000528 authored about 1 year ago
Use examples fixture in tests services module

Both for fixture and standalone script.

2bdc3aeb7fa496964ba25496e1c99f4602287a5d authored about 1 year ago
Use example files test fixture in API tests

bd7d7a1068b39c883f2b8636a9031f31b2b1a167 authored about 1 year ago
Remove unused constant from tests services modules

If needed, the corresponding test fixture should be used.

343519a1e761073fb5f8954d72a062bc6c39b6e0 authored about 1 year ago
Add test fixtures for source directory and example files

To help avoid boilerplate in path computation.

They have session scope so that the tests servic...

918e9fad7c7c8f3666ed50f03d475364120eaaea authored about 1 year ago
Test services: minor aesthetic and consistency fixes in docstring

0a7805d91bdb7ae22c595bec9f6899531cf21371 authored about 1 year ago
No longer export test-internal `CATERVA2_SOURCE` environment var

Not needed as service programs are part of the `caterva2` package now.

20013c1ad3287dc8e96dce868454c250a46d73cf authored about 1 year ago
Import test published root name from services into client tests

To avoid duplication. Also, remove unused example dir name there.

d593e0035f364122f851a5efd2c349cf471a9ed4 authored about 1 year ago
Use same Python for tests and test client execution

For consistency and to avoid weird errors.

ce81754179f2e4db7fc10653d9e3f719cb66af10 authored about 1 year ago
Merge pull request #8 from Blosc/package2

Here it is more work for adopting package conventions inside Caterva2. Now, services, clients an...

fabf53dbb1fdb615b2371942dfb3e4c445b75fe1 authored about 1 year ago
Services are modules now

d1bc67707795ee00a32c66be83ddfc791345164c authored about 1 year ago
Syntax for deps

118aa747b9dc4032c6ebf387f4278391287659c8 authored about 1 year ago
Add dependencies for services and clients

331de5558fc96c3e02f442bb77a3daabf74e596f authored about 1 year ago
cli is now meant to run as a module

0c062571e95e0a3d9d3884850c8fca6befeaaf96 authored about 1 year ago
Be able to run tests from inside the package

37d40806e7d4679b12bafdb33442bdbda61822ba authored about 1 year ago
tests moved into the main package. PYTHONPATH not needed anymore.

ef6d006e49c8ba5c146fcd42d16c12fa8c4c3a57 authored about 1 year ago
CATERVA2_USE_EXTERNAL==1 will use external

a2142f18a29192479492cf9a3cafa05518e9671b authored about 1 year ago
Switch to hatch as builder, and more packaging work

2c23267be50d5a3102a6a1508473d0d2ba0dd810 authored about 1 year ago
Using flit as builder

12e5cf79158c7b42e75caa79973ed231ca828c54 authored about 1 year ago
Fix comment

96b0819eecb46b73231647f796b1983c490389b4 authored about 1 year ago
Remove requirements.txt in favor of pyproject.toml

aca72548b17ddb8ca7c2a6baea423397645ca444 authored about 1 year ago
Add PYTHONPATH=.

aa61acb5f1e8365b8dc895d8760c2c674aff1a9d authored about 1 year ago
Create python-app.yml

41b07ca434db44d4026e7ebc3533ea4d3c222bef authored about 1 year ago
Move tests dependencies to opcional section

fc1fd9afc40ae07b426a804faaad2ba247372a47 authored about 1 year ago
Add other missing dependencies to pyproject.toml

027846c2f66204a0b9f3bd6275ab7e14e0d85747 authored about 1 year ago
Specify minimum Blosc2 version in pyproject.toml

feb3390532b80700c94c9e38592caca5eba695d4 authored about 1 year ago
Add missing dependency on tqdm to pyproject.toml

fbc7f8280fb743471ab539b9206387b49ca4dc6a authored about 1 year ago
Have individual script requirements pull `caterva2` requirements

Since all of them import the `caterva2` package now.

6065838a779f3ee930a1a15e5cd1a44e112015bd authored about 1 year ago
Merge branch 'tests-with-subproc'

This updates changes from pull request #7 (which replaced the Supervisor-based
tests services wi...

2f24ece544c96f8735edac97af09eb851600ff01 authored about 1 year ago
Devel readme: indicate where state files end up in each case

9be1d4edeea29fee50494722ca7b58cff146a924 authored about 1 year ago
Devel readme: how to run tests with managed daemons

de57326f91371cf90ac7e1e8c30e1979100a8fbe authored about 1 year ago
Remove old script to start test daemons

5aba327f95f6fc8ba0c5d5c15b09069c5bddcfef authored about 1 year ago
Devel readme: update to use `tests.services`

8eceafa42e82e9323356afc6fc215a220e8affd5 authored about 1 year ago
Devel readme: remove obsolete mention to Supervisor

The configuration file was quite dependent on the test setup and not very
useful to others, anyway.

7585beaceaa882f02af074f0cdfe568631ee67a1 authored about 1 year ago
Tests services: add exporting PYTHONPATH to module docstring

It is now needed since service scripts import `caterva2`.

b7840c9e2b093f5562df68433ecca383df8cbc22 authored about 1 year ago
Restore tests services fixture in tests

3311190c9aca4b81081e8c59d7ebfbe23459f152 authored about 1 year ago
Fix test client path being hard-coded to subdir of current directory

976f28b05beffa8e154f2c60badb5084206968b4 authored about 1 year ago
Merge remote-tracking branch 'origin/main' into tests-with-subproc

1221f217ff8022ee5dd91908366ef9f931b9d2fd authored about 1 year ago
Merge pull request #7 from Blosc/tests-with-subproc

Tests with subproc

3869680d6528c904ef1afe719dbf1b7847c17651 authored about 1 year ago
Remove no longer used Supervisor stuff

ea8d6b0a763b80a3dbf198c3baa5e5f7967ee8b2 authored about 1 year ago
Use tests services fixture instead of Supervisor machinery

462e8f40781a950f4a84a5b7ac3fb3adaa7917f2 authored about 1 year ago
Tests services: add usage examples to module docstring

66d72f23d575e6640ee9054de2c4c88930230e8b authored about 1 year ago
Tests services: add module docstring

357542076ef39fa8c0accc1200087ea94ce85a22 authored about 1 year ago
Tests services: support `--help` option when running as a script

9e417234df78328b769764fa7ed2be074f07e24b authored about 1 year ago
Tests services: raise error if service is not available on time

84b287e7c38a819feaffa1e3cddc01ec5bb177f0 authored about 1 year ago
Tests services: use external services unless CATERVA2_USE_EXTERNAL=0

cee93088d64c836f160c672052c305edb41ec035 authored about 1 year ago
SPECS add TODO section

a2514622309c51e894df0b1cccef99cd4bf28732 authored about 1 year ago
Tests services: no argv and env arguments to main function

The global values from `sys` and `os` modules are being used.

a89bd91ac0ef3f0857305240f8022f888b20db27 authored about 1 year ago
Add a new scenario for comm failures

e7c37cb969fe5689acae7cb167a21c33ee0a2dc4 authored about 1 year ago
etag mtime + size

0c43aac7ff1d232c1c33a860e6337c5cd2d60005 authored about 1 year ago
Resolve a number of TODOs

bc6b4dfe49cbf45c56ea1f0d50a2b60432aaf6fd authored about 1 year ago
Tests services: place published root name in module constant

For better visibility.

0704783de0d7f836c0c85f4096f17cf5fbe3dbd1 authored about 1 year ago
SPECS: new --daemon option and caterva2.toml

b62acbb8e66fb3aa204a7c01b15fab54a98b82e6 authored about 1 year ago
Tests services: check for service presence before running it

This should detect if a service is already running when a test session is
started which is expec...

ea8f02794089caabad769151747d4f0c758901e2 authored about 1 year ago
Tests services: force decimal port representation

faa08e738ef626f874c08b779c8b4ff25751e58c authored about 1 year ago
Tests services: factor out common behavior to base services class

c711f9a731091a29e7c63fd5acbe479a127dddbe authored about 1 year ago
Tests services: allow using external services in test fixture

Availability of the required services is checked. Still not configurable.

471fedb60b816e4d3d2daa694f9110f5313270da authored about 1 year ago
Tests services: place API availability checks in their own variables

1c783303e9841423cb329c1255b77d5961249bcc authored about 1 year ago
Merge pull request #6 from Blosc/package

Package

f6f958d4cd8c80f208df72edf191cafc841590ae authored about 1 year ago
More tests for donwload and pure frames

86662898197afbfd129a6a4759ea4675c6143b81 authored about 1 year ago
Tests services: retry kill with stronger signal after one second

SIGHUP should kill the process without leaving a core dump.

ba365d6fe7e96728b0816e429cf5eacadb43476b authored about 1 year ago
Tests services: handle already dead processes on stop

8f5f99bf000ebe511419ef2c8abf241e2e6eaf1f authored about 1 year ago
Tests services: implement start check functions for API availability

635c8abaa93d59789426ac5c6abb0daaac799583 authored about 1 year ago
download should support slices now

d081e385c9ae266c0019730b8291b4d598c4933c authored about 1 year ago
Tests services: add support for service start check function

5f5b61018a19fa9323212dc92f4f548d7545775d authored about 1 year ago
Out of bounds slicing is supported now

7b178e82e39d3579af42490493a82f9b108533d4 authored about 1 year ago
Tests services: use `try:finally:` to ensure processes are stopped

5120531fe4d4731dc5513d3ccd0553b58b8f2e52 authored about 1 year ago
Tests services: extract setup code into separate method

ac896c116199954bb7e1dcbc6989d317035066d1 authored about 1 year ago
Factor out process start code in tests services script

7aeabe5d5dda5c464cf4523371c46016bfa2cbad authored about 1 year ago
Place test services script processes in dictionary

For easier programmatic handling.

068133e8ce4da604d624237ece0923783fac603c authored about 1 year ago
Allow downloading a slice to a file for now

d392632d43de91dbd74b6425d68ebc4d9bc9c024 authored about 1 year ago
Avoid repeated materializing of entire schunk in subscriptor.

Instead, do a partial fill of the downloaded data, and deliver the
slice of it. The result is e...

0c980414003c360a0a75288b50a1e96dd53789ad authored about 1 year ago
Add Dataset.__getitem__()

dee07523100df04d64d62f688207ae5638edc874 authored about 1 year ago
Streamline instance variables in test services script

Only leave state directory and main source directory. The rest are computed
locally.

df795c8e4d00cbb29ae3291b814c5f77a0f2ce70 authored about 1 year ago
Have test services script populate test data dir with example files

6f7dbe31fb4a29bfd6dde6324bc75d523c351b34 authored about 1 year ago
Test services script removes state directory when acting as fixture

When acting as a plain script, use the already existing directory for safety.

d7d2ca0e5c244dab440636684ff7dce404239931 authored about 1 year ago
Use same Python for test services script and services scripts

For consistency and to avoid weird errors.

1485c301046ac922066df95420e296dfacbf63b2 authored about 1 year ago
Allow test services script to be used as a pytest fixture

For instance, by doing `from .services import services`.

The fixture uses `_caterva2_tests` as ...

b141ad508b9159ba78c8e1eed5429ded7d938055 authored about 1 year ago
Add method to test services script to stop all processes

By killing them with SIGTERM.

d863114c2fb997c1a1da65d1a371a063c29ebe91 authored about 1 year ago
Create initial test script to start all services

Very rough, simplistic and buggy.

b2f19d590072e75638c360da13898d0e139c6c43 authored about 1 year ago
Avoid decompressing slices in memory

ab906f287d5d38ef9b1c033688b0f3b734cf29e7 authored about 1 year ago
Add dependency on "safer" to pyproject.toml

5483bc7c6bae46c3f6cd2f27ae25deca66d41950 authored about 1 year ago
Use `_caterva2_tests` in current directory for tests state files

This finally supports a read-only source code directory; test may be run with
`pytest -v <SOURCE...

72bf1869b70ae98d18f108064f0e09e478050c6d authored about 1 year ago
Rename test configuration variable for readability

5a257241196ef08f10273c537d715210ebc35f31 authored about 1 year ago
Use `tests/test-cat2-state` as tests state directory

Quite descriptive and unlikely to clash with an already existing directory.
Still placing it und...

b7df2dff1cf964e8c8c36582999a9c9af23e88e1 authored about 1 year ago
Use option to specify state directory of processes.

Passing it as an environment variable will allow to set it at runtime (e.g. to
use the current d...

68567145c90ec8554ad81442a2c9eba778083f21 authored about 1 year ago
Avoid materializing slice in memory

c2c7d0b3b900af041f5ccb91d2bca258312aeb18 authored about 1 year ago
Add dependency on "safer" to pyproject.toml

2813ed44866c112f150a903de85afc1b57dd68e3 authored about 1 year ago