Skip to content

Commit

Permalink
Friends (#107)
Browse files Browse the repository at this point in the history
* πŸ”„ "Real world testing (#35)

* fix install script

* fix even more install things"
Update anysphere/client commit SHA
πŸ”— 0126583

* πŸ”„ "add story to public id response
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6dbadec

* πŸ”„ "Public identifier (#38)

* implement base58

* implement identifier

* πŸ”„ "implement identifier
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@15117f2"
Update anysphere/client commit SHA
πŸ”— 67a91f0

* πŸ”„ "Public identifier (#18)

* add identifier.proto

* implement base58

* implement identifier"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f8a52a0

* πŸ”„ "Merge branch 'main' into friends
"
Update anysphere/client commit SHA
πŸ”— 7944dd5

* πŸ”„ "Merge branch 'main' into friends
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b4b457d

* πŸ”„ " Implement friend acking (#21)

* update message.proto with control message

* handle control message properly

* check for ack of control message"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@5cdc265

* πŸ”„ " Implement friend acking (#41)

* update message.proto with control message

* πŸ”„ "update message.proto with control message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e92e27b

* handle control message properly

* πŸ”„ "handle control message properly
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@420185b

* check for ack of control message

* πŸ”„ "check for ack of control message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@fd692ae

* normal message shall not be control message

* make compile (almost)"
Update anysphere/client commit SHA
πŸ”— b607bfc

* Async friending schema (#108)

* rename kx_key

* πŸ”„ "rename kx_key
"
Update anysphere/client commit SHA
πŸ”— aec1b8b

* rewrite crypto in the new protocol

* πŸ”„ "rewrite crypto in the new protocol
"
Update anysphere/client commit SHA
πŸ”— fdcafcd

* πŸ”„ "rewrite crypto in the new protocol
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@49b488b

* DB change complete

* πŸ”„ "DB change complete
"
Update anysphere/client commit SHA
πŸ”— 1b6e9bf

* πŸ”„ "redesign daemon schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@96073e4

* πŸ”„ "fix typo
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@1b0185f

* πŸ”„ "add story to sync friend request
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@0485f68

* configure server for async requests

* πŸ”„ "configure server for async requests
"
Update anysphere/client commit SHA
πŸ”— 5b360b9

* πŸ”„ "configure server for async requests
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a0458e2

* πŸ”„ "add public_id to database
"
Update anysphere/client commit SHA
πŸ”— da589ea

* πŸ”„ "check point. Most of the code compiles
"
Update anysphere/client commit SHA
πŸ”— e5d3588

* πŸ”„ "checkpoint. All programs build
"
Update anysphere/client commit SHA
πŸ”— 757fe13

* checkpoint: rewriting test files

* πŸ”„ "checkpoint: rewriting test files
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b60891f

* πŸ”„ "merge arvid's friend branch
"
Update anysphere/client commit SHA
πŸ”— 75dbc77

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b56fda2

* πŸ”„ "checkpoint in merging friend
"
Update anysphere/client commit SHA
πŸ”— 1f391d5

* checkpoint in merging friend

* weird bug. debugging

* πŸ”„ "weird bug. debugging
"
Update anysphere/client commit SHA
πŸ”— 7da1032

* mystery bug resolve. Do not call set_allocated()

* πŸ”„ "mystery bug resolve. Do not call set_allocated()
"
Update anysphere/client commit SHA
πŸ”— 8b247bd

* πŸ”„ "checkpoint: another bug
"
Update anysphere/client commit SHA
πŸ”— 2ec90a8

* update workspace

* πŸ”„ "add linkstatic
"
Update anysphere/client commit SHA
πŸ”— 38ce866

* finally builds correctly

* πŸ”„ "finally builds correctly
"
Update anysphere/client commit SHA
πŸ”— 46ce1bd

* checkpoint: use standard logging

* πŸ”„ "checkpoint: use standard logging
"
Update anysphere/client commit SHA
πŸ”— a90e0b0

* add friend workinggit ca add

* πŸ”„ "add friend workinggit ca add
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@c64027e

* πŸ”„ "Merge branch 'friends' into async_friending_schema"
Update anysphere/client commit SHA
πŸ”— 5b23eb9

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@45a1a19

* merging friends and async_friend_request

* πŸ”„ "add outgoing_friend_request
"
Update anysphere/client commit SHA
πŸ”— e37a115

* fix fast test

* πŸ”„ "remove comment from crypto'
"
Update anysphere/client commit SHA
πŸ”— 737c86c

* πŸ”„ "fix bug in crypto
"
Update anysphere/client commit SHA
πŸ”— 65e51dd

* fix bug

* πŸ”„ "fix bug
"
Update anysphere/client commit SHA
πŸ”— 294d04b

* πŸ”„ "fix daemonrpc bug
"
Update anysphere/client commit SHA
πŸ”— 9177252

* πŸ”„ "add identifier
"
Update anysphere/client commit SHA
πŸ”— 2a32e5c

* πŸ”„ "Merge remote-tracking branch 'origin/async_friending_schema' into async_friending_schema
"
Update anysphere/client commit SHA
πŸ”— 3700ab7

Co-authored-by: Shengtong Zhang <[email protected]>

* πŸ”„ "Async friending schema (#36)

* rename kx_key

* rewrite crypto in the new protocol

* πŸ”„ "rewrite crypto in the new protocol
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@49b488b

* DB change complete

* πŸ”„ "redesign daemon schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@96073e4

* πŸ”„ "fix typo
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@1b0185f

* πŸ”„ "add story to sync friend request
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@0485f68

* configure server for async requests

* πŸ”„ "configure server for async requests
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a0458e2

* add public_id to database

* check point. Most of the code compiles

* checkpoint. All programs build

* checkpoint: rewriting test files

* πŸ”„ "checkpoint: rewriting test files
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b60891f

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b56fda2

* checkpoint in merging friend

* weird bug. debugging

* mystery bug resolve. Do not call set_allocated()

* checkpoint: another bug

* update workspace

* add linkstatic

* finally builds correctly

* checkpoint: use standard logging

* add friend workinggit ca add

* πŸ”„ "add friend workinggit ca add
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@c64027e

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@45a1a19

* add outgoing_friend_request

* remove comment from crypto'

* fix bug in crypto

* fix bug

* fix daemonrpc bug

* add identifier

* correct mistake in key exchange

Co-authored-by: Shengtong Zhang <[email protected]>"
Update anysphere/client commit SHA
πŸ”— 4f97e12

* πŸ”„ "Async friending schema (#22)

* configure server for async requests

* checkpoint: rewriting test files

* add friend workinggit ca add

Co-authored-by: Shengtong Zhang <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a0a42dc

* πŸ”„ "remove rust warning
"
Update anysphere/client commit SHA
πŸ”— 0ebd6d3

* fix tests

* change api

* πŸ”„ "change api
"
Update anysphere/client commit SHA
πŸ”— 293509d

* update protos

* πŸ”„ "update protos
"
Update anysphere/client commit SHA
πŸ”— b518cc0

* add sync test

* πŸ”„ "add sync test
"
Update anysphere/client commit SHA
πŸ”— b3c8ddb

* πŸ”„ "add sync test
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6f74e52

* πŸ”„ "push without compile
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e0bbbc1

* make compile

* πŸ”„ "make compile
"
Update anysphere/client commit SHA
πŸ”— 3469f6b

* πŸ”„ "some things only if registered
"
Update anysphere/client commit SHA
πŸ”— b887016

* use enums instead of integer constants

* πŸ”„ "use enums instead of integer constants
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b54435f

* πŸ”„ "it builds!
"
Update anysphere/client commit SHA
πŸ”— d7e9c33

* everything builds

* πŸ”„ "daemon.protoo changes
"
Update anysphere/client commit SHA
πŸ”— 6e6f0b9

* πŸ”„ "daemon.protoo changes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@785fc95

* update daemon-js protos

* πŸ”„ "update daemon-js protos
"
Update anysphere/client commit SHA
πŸ”— be4c41f

* daemon.proto has been fully sualeh-ified

* πŸ”„ "daemon.proto has been fully sualeh-ified
"
Update anysphere/client commit SHA
πŸ”— ef1e014

* add vsls

* async partitions and a basic test passes

* πŸ”„ "async partitions and a basic test passes
"
Update anysphere/client commit SHA
πŸ”— ced8449

* πŸ”„ "async partitions and a basic test passes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e32c1b6

* some questions about how to handle name of requests

* πŸ”„ "update proto. time for disaster to happen. Gooddddd luck
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@778e942

* πŸ”„ "update protos. We are good.
"
Update anysphere/client commit SHA
πŸ”— 33e39f7

* πŸ”„ "update protos. We are good.
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e0d9a9d

* update protos for Invitation Progres

* πŸ”„ "update protos for Invitation Progres
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@32a45d0

* fix tests

* πŸ”„ "fix tests
"
Update anysphere/client commit SHA
πŸ”— 8120b25

* replace friend_request -> invitation on server

* πŸ”„ "replace friend_request -> invitation on server
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7cf56b7

* added test for people being in different blocks

* πŸ”„ "added test for people being in different blocks
"
Update anysphere/client commit SHA
πŸ”— dd95b76

* commit tests

* πŸ”„ "Friends implementation (#42)

* merge friends

* πŸ”„ "change to system message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@4415feb

* make transmitter use the new db types

* finish transmitter changes

* it builds

* πŸ”„ "it builds
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@209b037

* it builds!

* it builds!

* outgoing async and sync now done

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* fix warnings

* add check_rep

* some changes with errors

* make build

* initial tests passing!!!

* πŸ”„ "initial tests passing!!!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@cd37145"
Update anysphere/client commit SHA
πŸ”— 3abbdb6

* πŸ”„ "Friends implementation (#23)

* change to system message

* it builds

* initial tests passing!!!"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f5f22e7

* πŸ”„ "fix bug!
"
Update anysphere/client commit SHA
πŸ”— 6a547de

* πŸ”„ "add more check_rep consistency constraints
"
Update anysphere/client commit SHA
πŸ”— ab0bdf2

* πŸ”„ "more checkrep!
"
Update anysphere/client commit SHA
πŸ”— b72388b

* revamp crypto

* πŸ”„ "revamp crypto
"
Update anysphere/client commit SHA
πŸ”— 7a2356d

* πŸ”„ "revamp crypto
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a156ca9

* πŸ”„ "add even more check_rep
"
Update anysphere/client commit SHA
πŸ”— 999a256

* πŸ”„ "more checkrep!!! i love checkrep
"
Update anysphere/client commit SHA
πŸ”— f7bf199

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into friends
"
Update anysphere/client commit SHA
πŸ”— 86d93a9

* πŸ”„ "many more check rep
"
Update anysphere/client commit SHA
πŸ”— cd61b82

* πŸ”„ "add check_rep comment
"
Update anysphere/client commit SHA
πŸ”— 06a7825

* πŸ”„ "update comment
"
Update anysphere/client commit SHA
πŸ”— f91ae43

* πŸ”„ "even more checkreppp
"
Update anysphere/client commit SHA
πŸ”— bb9c86e

* πŸ”„ "even more checkrep
"
Update anysphere/client commit SHA
πŸ”— 826873c

* add a few anyhow errors

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into friends
"
Update anysphere/client commit SHA
πŸ”— dcd6d85

* test passes

* πŸ”„ "test passes
"
Update anysphere/client commit SHA
πŸ”— fcb30e4

* empty file deletion

* all test passes

* πŸ”„ "all test passes
"
Update anysphere/client commit SHA
πŸ”— d220c14

* fix htps

* use fail

* πŸ”„ "use fail
"
Update anysphere/client commit SHA
πŸ”— 2a144b8

* fix buiaald

* fmt all

* πŸ”„ "fmt all
"
Update anysphere/client commit SHA
πŸ”— 1b03578

* assert invitation message

* replace control->invitation message

* factor out the async invitation db into its own file

* cap invitation length at 4KB

* enforce arguments are reasonable

* tests enforce good arguments!

* use c++17 std::map syntax

* πŸ”„ "add license notice
"
Update anysphere/client commit SHA
πŸ”— fbc5062

* remove todos

* remove todos

* πŸ”„ "linting fix
"
Update anysphere/client commit SHA
πŸ”— 9c2cf9b

* fix fmt

* πŸ”„ "add license notices
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@bdccc65

* πŸ”„ "add license notices
"
Update anysphere/client commit SHA
πŸ”— d3c5e30

* πŸ”„ "more format fixes
"
Update anysphere/client commit SHA
πŸ”— b7bbdbf

* πŸ”„ "more format fixes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@4e46b68

* πŸ”„ "add asyncinvitation proto and additional check
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@64137a2

* updates

* πŸ”„ "updates
"
Update anysphere/client commit SHA
πŸ”— df1618c

* it compiles

* πŸ”„ "it compiles
"
Update anysphere/client commit SHA
πŸ”— 1907b2b

* πŸ”„ "it compiles
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@c7fcff2

* πŸ”„ "update comments
"
Update anysphere/client commit SHA
πŸ”— ae817fb

* fixes from clang-tidy

* πŸ”„ "comment on tests
"
Update anysphere/client commit SHA
πŸ”— e13fc2a

* remove some nouns

* πŸ”„ "remove some nouns
"
Update anysphere/client commit SHA
πŸ”— a25df0f

* remove TODO checks from google

* πŸ”„ "remove TODO checks from google
"
Update anysphere/client commit SHA
πŸ”— 9b01129

* πŸ”„ "use asphr assert
"
Update anysphere/client commit SHA
πŸ”— e89d54c

* πŸ”„ "document base58 with static_assert
"
Update anysphere/client commit SHA
πŸ”— 141e279

* πŸ”„ "bitcoin base58 test works
"
Update anysphere/client commit SHA
πŸ”— f09c43c

* πŸ”„ "comments on major functions, part1
"
Update anysphere/client commit SHA
πŸ”— c4b54e6

* πŸ”„ "manual test rename
"
Update anysphere/client commit SHA
πŸ”— 6aae3b9

* πŸ”„ "comments on major functions, part 2
"
Update anysphere/client commit SHA
πŸ”— 468ce8a

* πŸ”„ "clean up comment
"
Update anysphere/client commit SHA
πŸ”— 355c910

* πŸ”„ "don't assert false because another user did the wrong thing
"
Update anysphere/client commit SHA
πŸ”— 189ad75

* πŸ”„ "update until chunk handling. Comments Part 3
"
Update anysphere/client commit SHA
πŸ”— a182ff7

* πŸ”„ "add comment
"
Update anysphere/client commit SHA
πŸ”— 3e618ab

* πŸ”„ "update chunk_to_send docs. Comments part 4
"
Update anysphere/client commit SHA
πŸ”— 0b3b604

* πŸ”„ "update transmitter to remove unused variable
"
Update anysphere/client commit SHA
πŸ”— 9d763ff

* πŸ”„ "update some helper docs.
"
Update anysphere/client commit SHA
πŸ”— 4ebe93a

* πŸ”„ "fix receive_ack
"
Update anysphere/client commit SHA
πŸ”— 3b8fb30

* πŸ”„ "dont assert false if bad input
"
Update anysphere/client commit SHA
πŸ”— 620a465

* πŸ”„ "update until invitations. Comments Part 6
"
Update anysphere/client commit SHA
πŸ”— f15468f

* πŸ”„ "remove todo
"
Update anysphere/client commit SHA
πŸ”— ad0309e

* πŸ”„ "fix merge conflict
"
Update anysphere/client commit SHA
πŸ”— fe5fd40

* πŸ”„ "small reg not big reg
"
Update anysphere/client commit SHA
πŸ”— 1fde703

* πŸ”„ "add comment
"
Update anysphere/client commit SHA
πŸ”— 62d257f

* πŸ”„ "remove backticks
"
Update anysphere/client commit SHA
πŸ”— 9597902

* πŸ”„ "fix lex
"
Update anysphere/client commit SHA
πŸ”— 649fadd

* πŸ”„ "make db.rs compile
"
Update anysphere/client commit SHA
πŸ”— ff287d8

* πŸ”„ "move comment to docstring
"
Update anysphere/client commit SHA
πŸ”— a90125e

* πŸ”„ "update comments
"
Update anysphere/client commit SHA
πŸ”— 5f0aa35

Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>
  • Loading branch information
4 people authored Jun 30, 2022
1 parent 5c86e6c commit ad26ee9
Show file tree
Hide file tree
Showing 33 changed files with 1,177 additions and 210 deletions.
20 changes: 10 additions & 10 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ build --repo_env=RULES_RUST_TOOLCHAIN_INCLUDE_RUSTC_SRCS=true
try-import %workspace%/.user.bazelrc

# setting up remote caching
#build --bes_results_url=https://app.buildbuddy.io/invocation/
#build --bes_backend=grpcs://remote.buildbuddy.io
#build --remote_cache=grpcs://remote.buildbuddy.io
#build --remote_upload_local_results
#build --remote_timeout=3600
# build --bes_results_url=https://app.buildbuddy.io/invocation/
# build --bes_backend=grpcs://remote.buildbuddy.io
# build --remote_cache=grpcs://remote.buildbuddy.io
# build --remote_upload_local_results
# build --remote_timeout=3600
# build --experimental_remote_cache_compression
# build --experimental_remote_cache_async
# build --remote_download_toplevel
Expand Down Expand Up @@ -68,7 +68,7 @@ build:asan --strip=never
build:asan --copt -fsanitize=address
build:asan --copt -DADDRESS_SANITIZER
build:asan --copt -g
build:asan --copt -O3
build:asan --copt -O1
build:asan --copt -fno-omit-frame-pointer
# we ignore ODR violations because we have two versions of zlib, one from protobuf and one from seal. not good. but issok.
build:asan --action_env=ASAN_OPTIONS=detect_odr_violation=0
Expand All @@ -80,7 +80,7 @@ build:msan --strip=never
build:msan --copt -fsanitize=memory
build:msan --copt -DMEMORY_SANITIZER
build:msan --copt -g
build:msan --copt -O3
build:msan --copt -O1
build:msan --copt -fno-omit-frame-pointer
build:msan --linkopt -fsanitize=memory

Expand All @@ -90,18 +90,18 @@ build:ubsan --strip=never
build:ubsan --copt -fsanitize=undefined
build:ubsan --copt -DUNDEFINED_BEHAVIOR_SANITIZER
build:ubsan --copt -g
build:ubsan --copt -O3
build:ubsan --copt -O1
build:ubsan --copt -fno-omit-frame-pointer
build:ubsan --linkopt -fsanitize=undefined
build:ubsan --linkopt -lubsan
# build:ubsan --linkopt -lubsan

# All sanitizers!
# CC=clang bazel build --config san
build:san --strip=never
build:san --copt -fsanitize=address,undefined
build:san --copt -DADDRESS_SANITIZER
build:san --copt -g
build:san --copt -O3
build:san --copt -O1
build:san --copt -fno-omit-frame-pointer
# we ignore ODR violations because we have two versions of zlib, one from protobuf and one from seal. not good. but issok.
build:san --action_env=ASAN_OPTIONS=detect_odr_violation=0
Expand Down
1 change: 1 addition & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*out
logs
4 changes: 2 additions & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 0.1
cli:
version: 0.13.1-beta
version: 0.14.1-beta
lint:
enabled:
- [email protected]
Expand All @@ -23,4 +23,4 @@ repo:
host: github.com
owner: anysphere
name: anysphere
trunk_branch: origin/main
trunk_branch: origin/main
1 change: 1 addition & 0 deletions .vscode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.log
5 changes: 2 additions & 3 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"${workspaceFolder}/bazel-out/**/**",
"${workspaceFolder}/bazel-bin/external/**/**",
"${workspaceFolder}/bazel-bin/external/asphr/third_party/**/**",
"/opt/homebrew/opt/libpqxx/include",
"${workspaceFolder}/bazel-out/darwin_arm64-fastbuild/bin/external/asphr/third_party/seal/copy_seal/seal/include",
"${workspaceFolder}/bazel-out/darwin_arm64-fastbuild/bin/external/**/**/**/**",
"${workspaceFolder}/client/bazel-out/darwin_arm64-fastbuild/bin/daemon/**/**/**/**",
"/home/gitpod/.cache/bazel/_bazel_gitpod/**",
"/private/var/tmp/_bazel_sualeh/39d7406b82f7235a3fefe5e0e301d280/execroot/__main__/bazel-out/darwin_arm64-fastbuild-ST-368686e6f71f/bin/external/asphr/third_party/libsodium/copy_libsodium_/libsodium_/include"
"/home/gitpod/.cache/bazel/_bazel_gitpod/**"
],
"defines": [],
"macFrameworkPath": [],
Expand All @@ -21,7 +21,6 @@
"cppStandard": "c++20",
"intelliSenseMode": "${default}",
"compilerArgs": []
// "compileCommands": "${workspaceFolder}/compile_commands.json"
}
],
"version": 4
Expand Down
24 changes: 23 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,27 @@
"bazel-anysphere/**": true
},
"rust-analyzer.linkedProjects": ["client/rust-project.json"],
"trunk.inlineDecorators": false
"trunk.inlineDecorators": false,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "googletest.failed",
"settings": {
"foreground": "#f00"
}
},
{
"scope": "googletest.passed",
"settings": {
"foreground": "#0f0"
}
},
{
"scope": "googletest.run",
"settings": {
"foreground": "#0f0"
}
}
]
}
}
4 changes: 4 additions & 0 deletions .vsls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "http://json.schemastore.org/vsls",
"gitignore": "none"
}
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

git_repository(
name = "asphr",
commit = "bb5afae8fd4c78b8de4139141fcd1747965f5a31", # autoupdate anysphere/asphr
commit = "c7fcff2549426bb3bd4198faabd9e15592f1ec3b", # autoupdate anysphere/asphr
init_submodules = True,
remote = "https://github.com/anysphere/asphr.git",
)
Expand Down Expand Up @@ -39,7 +39,7 @@ setup_asphr("@asphr")

git_repository(
name = "client",
commit = "66467710d906d9ae2d3ce2df08ab91574f5d0069", # autoupdate anysphere/client
commit = "5f0aa35c25b9b8d17dbd06f2e2e755da53db9a27", # autoupdate anysphere/client
init_submodules = True,
remote = "https://github.com/anysphere/client.git",
)
Expand Down
4 changes: 3 additions & 1 deletion integration_tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cc_library(
"daemon_setup.hpp",
"test_helpers.hpp",
],
linkstatic=True,
linkstatic = True,
deps = [
"//server/pir/fast_pir:server_fast_pir_lib",
"//server/src:as_server_lib",
Expand All @@ -19,3 +19,5 @@ cc_library(
all_tests_in_folder(folder = "daemon_tests")

all_tests_in_folder(folder = "multiple_friends_tests")

all_tests_in_folder(folder = "invitation_tests")
19 changes: 19 additions & 0 deletions integration_tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# How to check which tests are in the folder

```
bazel query 'tests(//integration_tests/...)'
```

# How to run individual tests

From the root of the project:

```
bazelisk test //integration_tests:{folder_name}/{test_name}
```

From the integration test folder

```
bazelisk test :{folder_name}/{test_name}
```
Loading

0 comments on commit ad26ee9

Please sign in to comment.