-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* serialise one node graph with proto and prost * add minimal support for properties * add better support for properties and start using ids * can encode props and encode and decode edges * added graph const and temporal properties * add test for edge properties * add test for edge deletions * arrange dependencies * add string interning and add protoc to the build * add protoc to rust doctest * try adding github token to binstall and protoc install * add protoc to benchmarks * attempt to fix the github token issues with protoc * more protoc * Graph and Persistend graph now work with pickle and the format is stable * move protobuf in a separate feature * fix the python workflow * fmt * add more protoc in yml * attempt to fix the disk storage * fix python failing * fix graphql lib import issues * change the proto format so it can be easily extended * try ubuntu 20.04 to avoid 143 error * some changes as per review * refactor StableDecode trait * use assert_graph_equals * fix compile issues
- Loading branch information
1 parent
fd400bc
commit 0d45309
Showing
22 changed files
with
1,549 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,10 @@ jobs: | |
~/.cargo/git/db/ | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: ${{ runner.os }}-cargo- | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
git config --global user.email "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,10 @@ jobs: | |
toolchain: 1.77.0 | ||
override: true | ||
components: rustfmt, clippy | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: webfactory/[email protected] | ||
name: Load raphtory-disk_graph key | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,12 @@ jobs: | |
runs-on: '${{ matrix.os }}' | ||
env: | ||
CARGO_NET_GIT_FETCH_WITH_CLI: true | ||
RUST_BACKTRACE: 1 | ||
strategy: | ||
matrix: | ||
include: | ||
- os: macos-latest | ||
- os: ubuntu-latest | ||
- os: ubuntu-20.04 | ||
- os: windows-latest | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
|
@@ -36,12 +37,16 @@ jobs: | |
override: true | ||
components: rustfmt, clippy | ||
- name: Free up space (ubuntu) | ||
if: matrix.os == 'ubuntu-latest' | ||
if: "contains(matrix.os, 'ubuntu')" | ||
run: | | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: webfactory/[email protected] | ||
name: Load pometry-storage key | ||
with: | ||
|
@@ -52,10 +57,8 @@ jobs: | |
name: Cargo cache | ||
with: | ||
cache-all-crates: true | ||
- name: Install bininstall | ||
uses: cargo-bins/cargo-binstall@main | ||
- name: Install nextest | ||
run: cargo binstall -y --force cargo-nextest | ||
uses: taiki-e/install-action@nextest | ||
- name: Run all Tests (no disk_graph) | ||
env: | ||
RUSTFLAGS: -Awarnings | ||
|
@@ -80,6 +83,10 @@ jobs: | |
toolchain: 1.77.0 | ||
override: true | ||
components: rustfmt, clippy | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: Swatinem/rust-cache@v2 | ||
name: Cargo cache | ||
with: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.