Skip to content

Commit

Permalink
Introduce new-github-indexer (WIP) + Separate DB schema and DB client (
Browse files Browse the repository at this point in the history
  • Loading branch information
ofux authored Sep 29, 2023
1 parent fb977a9 commit ae8b7e2
Show file tree
Hide file tree
Showing 121 changed files with 1,340 additions and 324 deletions.
231 changes: 193 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ members = [
"common/testing",
"common/olog",
"github-indexer",
"new-github-indexer/domain",
"new-github-indexer/infrastructure"
]
6 changes: 3 additions & 3 deletions api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ diesel = { version = "2.1.0", default-features = false, features = [
"uuid",
"chrono",
] }
diesel_migrations = "2.1.0"
diesel-derive-newtype = "2.1.0"
diesel_json = "0.2.0"
uuid = { version = "1.3.3", default_features = false, features = [
Expand All @@ -38,9 +39,8 @@ uuid08 = { package = "uuid", version = "0.8", default_features = false, features
] }

# Github
octocrab = { git = "https://github.com/onlydustxyz/octocrab.git", features = [
"stream",
] }

octocrab = { package = "octocrab", version = "0.19.0", features = ["stream"] }

# Http client
http-api-problem = { version = "0.56.0", features = ["rocket"] }
Expand Down
2 changes: 1 addition & 1 deletion api/src/application/budget/allocate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use domain::{
sponsor, AggregateRepository, Amount, Budget, BudgetId, DomainError, Event, Project, ProjectId,
Publisher,
};
use infrastructure::database::Repository;
use infrastructure::dbclient::Repository;
use tracing::instrument;

use crate::{domain::Publishable, models::Sponsor};
Expand Down
Loading

0 comments on commit ae8b7e2

Please sign in to comment.