Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 0 additions & 117 deletions .mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

Binary file modified .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
6 changes: 4 additions & 2 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
wrapperVersion=3.3.4
distributionType=bin
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar
8 changes: 4 additions & 4 deletions .sops.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
stores:
yaml:
indent: 2
yaml:
indent: 2
creation_rules:
- path_regex: .env.shared.yaml
azure_keyvault: "https://sops-master.vault.azure.net/keys/sops-key/"
- path_regex: .env.shared.yaml
azure_keyvault: "https://sops-master.vault.azure.net/keys/sops-key/"
6 changes: 3 additions & 3 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ las-dev *args:
lass-dev *args:
cd ./internal/leetcode-auth-stealer-service && uv sync && GRPC_REFLECTION=true GRPC_VERBOSITY=ERROR uv run src/server.py

# Generate the leetcode auth stealer gRPC stubs for the main codebloom service
lass-gen *args:
cd ./internal/leetcode-auth-stealer-service && uv sync && uv run src/generate.py
# Generate the leetcode auth service gRPC stubs for the main codebloom service
las-gen *args:
rm -rf lib/leetcode-auth-service/src/main/java && bash ./mvnw -q protobuf:compile protobuf:compile-custom {{args}}

# Run the backend Spring server with an exposed debugger at :5005
backend-dev-debug *args:
Expand Down
13 changes: 0 additions & 13 deletions internal/leetcode-auth-stealer-service/src/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
python_output = root / "src" / "generated"

repo = root.parent.parent
java_output = repo / "lib" / "leetcode-auth-stealer-service" / "src" / "main" / "java"

python_output.mkdir(parents=True, exist_ok=True)
java_output.mkdir(parents=True, exist_ok=True)

subprocess.run(
[
Expand All @@ -26,14 +24,3 @@
],
check=True,
)

subprocess.run(
[
"protoc",
f"-I{proto_dir}",
f"--java_out={java_output}",
f"--grpc-java_out={java_output}",
str(proto_dir / "LeetcodeAuthStealerService.proto"),
],
check=True,
)
Loading
Loading