Fix renovate and project links

This commit is contained in:
hodasemi 2024-04-10 08:14:53 +02:00
parent 7f482d0fe5
commit 1952f4c55d
5 changed files with 9 additions and 10 deletions

View file

@ -1,3 +0,0 @@
[submodule "python-cepi"]
path = python-cepi
url = git@gitlab.ptspaper.de:scs/phoenix/python-cepi.git

View file

@ -12,7 +12,7 @@ mysql = "23.0.1"
serde = { version = "1.0.160", features = ["derive"] } serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96" serde_json = "1.0.96"
chrono = { version = "0.4.24" } chrono = { version = "0.4.24" }
rust-database = { git = "ssh://git@gitlab.ptspaper.de/scs/phoenix/rust-database" } rust-database = { path = "../rust-database-master" }
clap = { version = "4.3.2", features = ["derive"] } clap = { version = "4.3.2", features = ["derive"] }
[dev-dependencies] [dev-dependencies]

View file

@ -29,7 +29,7 @@ fn main() -> Result<()> {
let file = args.file; let file = args.file;
let cepi_reader = PythonObject::new("python-cepi/cepi_read_function.py")?; let cepi_reader = PythonObject::new("../python-cepi-master/cepi_read_function.py")?;
let cepi_data = cepi_reader.execute_script( let cepi_data = cepi_reader.execute_script(
"read", "read",
@ -78,7 +78,7 @@ fn main() -> Result<()> {
"%Y-%m-%d %H:%M:%S", "%Y-%m-%d %H:%M:%S",
)?; )?;
let unix_time_stamp = dt.timestamp(); let unix_time_stamp = dt.and_utc().timestamp();
let (config_id, result_id) = let (config_id, result_id) =
db.write_measurement(&meta_info, unix_time_stamp, "Ok", &measurements)?; db.write_measurement(&meta_info, unix_time_stamp, "Ok", &measurements)?;

View file

@ -4,11 +4,13 @@
"config:base" "config:base"
], ],
"prHourlyLimit": 0, "prHourlyLimit": 0,
"baseBranches": ["dev"],
"packageRules": [ "packageRules": [
{ {
"matchUpdateTypes": ["minor", "patch"], "matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true "automerge": true
} }
] ]
} }

View file

@ -7,6 +7,6 @@ edition = "2021"
[dependencies] [dependencies]
anyhow = { version = "1.0.70", features = ["backtrace"] } anyhow = { version = "1.0.70", features = ["backtrace"] }
mysql = "23.0.1" mysql = "25.0.0"
serde = { version = "1.0.160", features = ["derive"] } serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96" serde_json = "1.0.96"