From e28f473966ce2c86b8321db9cacd7eb08f03566d Mon Sep 17 00:00:00 2001 From: Fabian Murariu Date: Mon, 3 Jun 2024 15:53:31 +0100 Subject: [PATCH] rename more things to pometry-storage --- .github/workflows/_release_rust.yml | 4 ++-- .github/workflows/test_python_workflow.yml | 6 +++--- .github/workflows/test_rust_workflow.yml | 12 ++++++------ Makefile | 10 +++++----- ..._private_arrow.py => activate_private_storage.py} | 0 ...rivate_arrow.py => deactivate_private_storage.py} | 0 6 files changed, 16 insertions(+), 16 deletions(-) rename scripts/{activate_private_arrow.py => activate_private_storage.py} (100%) rename scripts/{deactivate_private_arrow.py => deactivate_private_storage.py} (100%) diff --git a/.github/workflows/_release_rust.yml b/.github/workflows/_release_rust.yml index 48e37003c3..127bc89818 100644 --- a/.github/workflows/_release_rust.yml +++ b/.github/workflows/_release_rust.yml @@ -60,12 +60,12 @@ jobs: with: command: publish args: --token ${{ secrets.CRATES_TOKEN }} --package raphtory-api --allow-dirty - - name: "Publish raphtory-arrow to crates.io" + - name: "Publish pometry-storage to crates.io" if: ${{ !inputs.dry_run }} uses: actions-rs/cargo@v1 with: command: publish - args: --token ${{ secrets.CRATES_TOKEN }} --package raphtory-arrow --allow-dirty + args: --token ${{ secrets.CRATES_TOKEN }} --package pometry-storage --allow-dirty - name: "Publish raphtory to crates.io" if: ${{ !inputs.dry_run }} uses: actions-rs/cargo@v1 diff --git a/.github/workflows/test_python_workflow.yml b/.github/workflows/test_python_workflow.yml index cad65b237f..29dfc6a954 100644 --- a/.github/workflows/test_python_workflow.yml +++ b/.github/workflows/test_python_workflow.yml @@ -59,15 +59,15 @@ jobs: with: python-version: ${{ matrix.python }} cache: 'pip' - - name: Activate raphtory-arrow in Cargo.toml - run: make pull-arrow + - name: Activate pometry-storage in Cargo.toml + run: make pull-storage - name: Run Maturin develop uses: PyO3/maturin-action@v1 with: working-directory: ./python command: build target: ${{ matrix.target }} - args: --release --features arrow + args: --release --features storage - name: Install Python dependencies (Unix) if: "contains(matrix.os, 'Ubuntu') || contains(matrix.os, 'macOS')" run: | diff --git a/.github/workflows/test_rust_workflow.yml b/.github/workflows/test_rust_workflow.yml index 577d6867ef..1bb134740d 100644 --- a/.github/workflows/test_rust_workflow.yml +++ b/.github/workflows/test_rust_workflow.yml @@ -43,7 +43,7 @@ jobs: sudo rm -rf /opt/ghc sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: webfactory/ssh-agent@v0.7.0 - name: Load raphtory-arrow key + name: Load pometry-storage key with: ssh-private-key: ${{ secrets.RA_SSH_PRIVATE_KEY }} - name: Rust version @@ -62,14 +62,14 @@ jobs: TEMPDIR: ${{ runner.temp }} run: | cargo nextest run --all --no-default-features - - name: Activate raphtory-arrow in Cargo.toml - run: make pull-arrow + - name: Activate pometry-storage in Cargo.toml + run: make pull-storage - name: Run all Tests (arrow) env: RUSTFLAGS: -Awarnings TEMPDIR: ${{ runner.temp }} run: | - cargo nextest run --all --no-default-features --features "arrow" + cargo nextest run --all --no-default-features --features "storage" - name: Run Tests (features=io) env: RUSTFLAGS: -Awarnings @@ -90,11 +90,11 @@ jobs: RUSTFLAGS: -Awarnings run: | cargo check -p raphtory --no-default-features --features "vectors" - - name: Run Tests (features=arrow) + - name: Run Tests (features=storage) env: RUSTFLAGS: -Awarnings run: | - cargo check -p raphtory --no-default-features --features "arrow" + cargo check -p raphtory --no-default-features --features "storage" doc-test: if: ${{ !inputs.skip_tests }} name: "Doc tests" diff --git a/Makefile b/Makefile index 6bd3acadbd..8476de7221 100644 --- a/Makefile +++ b/Makefile @@ -37,11 +37,11 @@ rust-test-all: cargo check -p raphtory --no-default-features --features "search" cargo check -p raphtory --no-default-features --features "vectors" -activate-arrow: - ./scripts/activate_private_arrow.py +activate-storage: + ./scripts/activate_private_storage.py -deactivate-arrow: - ./scripts/deactivate_private_arrow.py +deactivate-storage: + ./scripts/deactivate_private_storage.py -pull-arrow: activate-arrow +pull-storage: activate-storage git submodule update --init --recursive diff --git a/scripts/activate_private_arrow.py b/scripts/activate_private_storage.py similarity index 100% rename from scripts/activate_private_arrow.py rename to scripts/activate_private_storage.py diff --git a/scripts/deactivate_private_arrow.py b/scripts/deactivate_private_storage.py similarity index 100% rename from scripts/deactivate_private_arrow.py rename to scripts/deactivate_private_storage.py