Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce new-github-indexer (WIP) + Separate DB schema and DB client #9

Merged
merged 11 commits into from
Sep 29, 2023
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