mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 12:09:33 +01:00
update to forgejo-api
v0.2.0
This commit is contained in:
parent
36d970fb09
commit
df25728644
4 changed files with 5 additions and 5 deletions
5
Cargo.lock
generated
5
Cargo.lock
generated
|
@ -336,8 +336,9 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "forgejo-api"
|
name = "forgejo-api"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
source = "git+https://codeberg.org/Cyborus/forgejo-api.git?rev=a4c081a770#a4c081a770a2d8093df0bf064f0ae7b7c37bf947"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f0452961a1435fdf127da1a1ba13cb840efe26bf6169bfd8d6dafecdd3e0eafa"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64ct",
|
"base64ct",
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|
|
@ -10,7 +10,7 @@ auth-git2 = "0.5.3"
|
||||||
clap = { version = "4.3.11", features = ["derive"] }
|
clap = { version = "4.3.11", features = ["derive"] }
|
||||||
directories = "5.0.1"
|
directories = "5.0.1"
|
||||||
eyre = "0.6.8"
|
eyre = "0.6.8"
|
||||||
forgejo-api = "0.1.0"
|
forgejo-api = "0.2.0"
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
git2 = "0.17.2"
|
git2 = "0.17.2"
|
||||||
open = "5.0.0"
|
open = "5.0.0"
|
||||||
|
|
|
@ -309,7 +309,6 @@ async fn list_releases(
|
||||||
let query = forgejo_api::structs::RepoListReleasesQuery {
|
let query = forgejo_api::structs::RepoListReleasesQuery {
|
||||||
pre_release: Some(prerelease),
|
pre_release: Some(prerelease),
|
||||||
draft: Some(draft),
|
draft: Some(draft),
|
||||||
per_page: None,
|
|
||||||
page: None,
|
page: None,
|
||||||
limit: None,
|
limit: None,
|
||||||
};
|
};
|
||||||
|
@ -558,7 +557,6 @@ async fn find_release(
|
||||||
let query = RepoListReleasesQuery {
|
let query = RepoListReleasesQuery {
|
||||||
draft: None,
|
draft: None,
|
||||||
pre_release: None,
|
pre_release: None,
|
||||||
per_page: None,
|
|
||||||
page: None,
|
page: None,
|
||||||
limit: None,
|
limit: None,
|
||||||
};
|
};
|
||||||
|
|
|
@ -296,6 +296,7 @@ impl RepoCommand {
|
||||||
issue_labels: None,
|
issue_labels: None,
|
||||||
license: None,
|
license: None,
|
||||||
name: repo.clone(),
|
name: repo.clone(),
|
||||||
|
object_format_name: None,
|
||||||
private: Some(private),
|
private: Some(private),
|
||||||
readme: Some(String::new()),
|
readme: Some(String::new()),
|
||||||
template: Some(false),
|
template: Some(false),
|
||||||
|
|
Loading…
Reference in a new issue