aboutsummaryrefslogtreecommitdiff
path: root/src/forge/gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'src/forge/gitlab')
-rw-r--r--src/forge/gitlab/mod.rs19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/forge/gitlab/mod.rs b/src/forge/gitlab/mod.rs
index 85efc76..fac60b7 100644
--- a/src/forge/gitlab/mod.rs
+++ b/src/forge/gitlab/mod.rs
@@ -1,8 +1,7 @@
-use anyhow::{bail, Context, Result};
+use anyhow::Result;
use gitlab::AsyncGitlab;
use graphql_client::GraphQLQuery;
-use tracing::{debug, trace};
pub mod config;
@@ -58,18 +57,18 @@ impl super::ForgeTrait for Gitlab {
query_path = "graphql/projects_query.graphql",
schema_path = "graphql/schema.graphql",
response_derives = "Clone,Debug",
- variables_derives = "Clone,Debug",
+ variables_derives = "Clone,Debug"
)]
pub struct Projects;
-impl Into<super::Project> for projects::ProjectsProjectsNodes {
- fn into(self) -> super::Project {
+impl From<projects::ProjectsProjectsNodes> for super::Project {
+ fn from(project: projects::ProjectsProjectsNodes) -> Self {
super::Project {
- id: self.id,
- name: self.name,
- path: self.full_path,
- ssh_clone_url: self.ssh_url_to_repo,
- http_clone_url: self.http_url_to_repo,
+ id: project.id,
+ name: project.name,
+ path: project.full_path,
+ ssh_clone_url: project.ssh_url_to_repo,
+ http_clone_url: project.http_url_to_repo,
}
}
}
a99454&follow=1'>remove too commonly used used for shifty_eyesMax Audron-1/+1 2025-05-06fix truncate on unicodeMax Audron-10/+20 2025-05-06update dependenciesMax Audron-691/+1659 2024-08-12add nix build and moduleMax Audron-5/+427 2022-02-19remove jsonnet lock fileMax Audron-36/+0 2022-02-19fix deploy to work with gitlab agentMax Audron-4/+4 2021-10-22write tons of documentation and reorganize some modulesMax Audron-65/+300 2021-10-22remove wolfram alpha url shorteningMax Audron-1/+2 2021-10-20remove failing wolfram alpha test casesMax Audron-105/+55 2021-10-20bump version to 1.6.2Max Audron-3/+2 2021-10-20prepare for release on crates.ioMax Audron-39/+65 2021-10-20add async docs to macro crate and bump versionMax Audron-9/+10 2021-10-20change hook errors to be logged as warningsMax Audron-3/+3 2021-10-20fix configuration not loading correctly on release buildsMax Audron-8/+23 2021-10-19replace sedregex crate8-rework-sedMax Audron-20/+358 2021-10-19add formatting trait for irc codesMax Audron-0/+129 2021-10-17fix links in readmeMax Audron-2/+2