Compare commits
17 Commits
feat/try-a
...
renovate/a
Author | SHA1 | Date | |
---|---|---|---|
4017adf763 | |||
15298f1f96 | |||
b86fec2a58 | |||
687792706b | |||
1c29770ce2 | |||
c1e1215f3c | |||
e94513c24f | |||
6aa90d22ea | |||
8fe00b22c5 | |||
78262a138d | |||
bcebe4bce4 | |||
1f8a5d52c4 | |||
9207ef8f81 | |||
7df629290a | |||
54829a7fe4
|
|||
0ebe88a470
|
|||
67af5e7aa6 |
1457
Cargo.lock
generated
1457
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -17,14 +17,14 @@ anyhow = { version = "1.0.79", features = ["backtrace"] }
|
||||
serde = { version = "1.0.196", features = ["derive"] }
|
||||
serde_yaml = "0.9.31"
|
||||
walkdir = "2.4.0"
|
||||
git2 = { version = "0.18.2", default-features = false, features = [
|
||||
git2 = { version = "0.20.0", default-features = false, features = [
|
||||
"vendored-libgit2",
|
||||
"vendored-openssl",
|
||||
"ssh",
|
||||
] }
|
||||
clap = { version = "4.4.18", features = ["env", "string"] }
|
||||
envconfig = "0.10.0"
|
||||
dirs = "5.0.1"
|
||||
envconfig = "0.11.0"
|
||||
dirs = "6.0.0"
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }
|
||||
log = { version = "0.4.20", features = ["std", "kv_unstable"] }
|
||||
@@ -34,18 +34,18 @@ libz-sys = { version = "1.1.15", default-features = false, features = [
|
||||
"libc",
|
||||
"static",
|
||||
] }
|
||||
inquire = { version = "0.6.2", features = ["console"] }
|
||||
inquire = { version = "0.7.0", features = ["console"] }
|
||||
tempfile = { version = "3.10.0" }
|
||||
serde_json = "1.0.113"
|
||||
rlua = "0.19.8"
|
||||
rlua = "0.20.0"
|
||||
rlua-searcher = "0.1.0"
|
||||
dotenv = { version = "0.15.0", features = ["clap"] }
|
||||
dotenvy = { version = "0.15.7" }
|
||||
blake3 = "1.5.0"
|
||||
tokio = { version = "1.36.0", features = ["full"] }
|
||||
futures-util = "0.3.30"
|
||||
fs_extra = "1.3.0"
|
||||
|
||||
[dependencies.reqwest]
|
||||
version = "0.11"
|
||||
version = "0.12"
|
||||
default-features = false
|
||||
features = ["rustls-tls", "json"]
|
||||
|
@@ -129,7 +129,7 @@ pub fn execute_init(exe_submatch: &ArgMatches, _cli: CuddleCli) -> anyhow::Resul
|
||||
if dir.count() != 0 {
|
||||
for entry in read_dir(&path)? {
|
||||
let entry = entry?;
|
||||
if entry.file_name() == ".git" {
|
||||
if entry.file_name() == ".git" || entry.file_name() == ".jj" {
|
||||
continue;
|
||||
} else {
|
||||
anyhow::bail!("Directory {} is not empty", &path);
|
||||
|
@@ -11,7 +11,7 @@ mod util;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
init_logging()?;
|
||||
let _ = dotenv::dotenv();
|
||||
let _ = dotenvy::dotenv();
|
||||
|
||||
let config = CuddleConfig::from_env()?;
|
||||
|
||||
|
@@ -98,6 +98,7 @@ impl From<CuddlePlanVariables> for Vec<CuddleVariable> {
|
||||
pub enum CuddlePlanVar {
|
||||
Str(String),
|
||||
Nested(HashMap<String, CuddlePlanVar>),
|
||||
Array(Vec<CuddlePlanVar>),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
@@ -120,6 +121,7 @@ impl From<HashMap<String, CuddlePlanVar>> for CuddleVariables {
|
||||
|
||||
variables.append(&mut combined_variables);
|
||||
}
|
||||
CuddlePlanVar::Array(_) => {}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"base": {
|
||||
"title": "Base url from which to base current cuddle plan on",
|
||||
@@ -27,6 +27,9 @@
|
||||
},
|
||||
{
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"type": "array"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user