From 00555964ee640177feecc0aadbc8d6fe4e8ded6a Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Wed, 18 Dec 2024 21:56:39 +0100
Subject: [PATCH] #239: refact: rename `release_runtime` module to `gitlab`

---
 xtask/src/{release_runtime.rs => gitlab.rs}            |  0
 .../{release_runtime => gitlab}/create_asset_link.rs   |  0
 .../create_network_release.rs                          |  0
 .../src/{release_runtime => gitlab}/create_release.rs  |  0
 xtask/src/{release_runtime => gitlab}/get_changes.rs   |  0
 xtask/src/{release_runtime => gitlab}/get_issues.rs    |  0
 xtask/src/{release_runtime => gitlab}/get_release.rs   |  0
 xtask/src/main.rs                                      | 10 +++++-----
 8 files changed, 5 insertions(+), 5 deletions(-)
 rename xtask/src/{release_runtime.rs => gitlab.rs} (100%)
 rename xtask/src/{release_runtime => gitlab}/create_asset_link.rs (100%)
 rename xtask/src/{release_runtime => gitlab}/create_network_release.rs (100%)
 rename xtask/src/{release_runtime => gitlab}/create_release.rs (100%)
 rename xtask/src/{release_runtime => gitlab}/get_changes.rs (100%)
 rename xtask/src/{release_runtime => gitlab}/get_issues.rs (100%)
 rename xtask/src/{release_runtime => gitlab}/get_release.rs (100%)

diff --git a/xtask/src/release_runtime.rs b/xtask/src/gitlab.rs
similarity index 100%
rename from xtask/src/release_runtime.rs
rename to xtask/src/gitlab.rs
diff --git a/xtask/src/release_runtime/create_asset_link.rs b/xtask/src/gitlab/create_asset_link.rs
similarity index 100%
rename from xtask/src/release_runtime/create_asset_link.rs
rename to xtask/src/gitlab/create_asset_link.rs
diff --git a/xtask/src/release_runtime/create_network_release.rs b/xtask/src/gitlab/create_network_release.rs
similarity index 100%
rename from xtask/src/release_runtime/create_network_release.rs
rename to xtask/src/gitlab/create_network_release.rs
diff --git a/xtask/src/release_runtime/create_release.rs b/xtask/src/gitlab/create_release.rs
similarity index 100%
rename from xtask/src/release_runtime/create_release.rs
rename to xtask/src/gitlab/create_release.rs
diff --git a/xtask/src/release_runtime/get_changes.rs b/xtask/src/gitlab/get_changes.rs
similarity index 100%
rename from xtask/src/release_runtime/get_changes.rs
rename to xtask/src/gitlab/get_changes.rs
diff --git a/xtask/src/release_runtime/get_issues.rs b/xtask/src/gitlab/get_issues.rs
similarity index 100%
rename from xtask/src/release_runtime/get_issues.rs
rename to xtask/src/gitlab/get_issues.rs
diff --git a/xtask/src/release_runtime/get_release.rs b/xtask/src/gitlab/get_release.rs
similarity index 100%
rename from xtask/src/release_runtime/get_release.rs
rename to xtask/src/gitlab/get_release.rs
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 07dd4e976..df700dff4 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -17,7 +17,7 @@
 #![feature(let_chains)]
 
 mod gen_doc;
-mod release_runtime;
+mod gitlab;
 
 use anyhow::{Context, Result};
 use clap::Parser;
@@ -104,20 +104,20 @@ async fn main() -> Result<()> {
             inject_runtime_code(&raw_spec, &runtime)
         }
         DuniterXTaskCommand::ReleaseNetwork { network, branch } => {
-            release_runtime::release_network(network, branch).await
+            gitlab::release_network(network, branch).await
         }
         DuniterXTaskCommand::ReleaseRuntime {
             name,
             network,
             branch,
             milestone,
-        } => release_runtime::release_runtime(name, network, branch, milestone).await,
-        DuniterXTaskCommand::PrintSpec { network } => release_runtime::print_spec(network).await,
+        } => gitlab::release_runtime(name, network, branch, milestone).await,
+        DuniterXTaskCommand::PrintSpec { network } => gitlab::print_spec(network).await,
         DuniterXTaskCommand::CreateAssetLink {
             tag,
             asset_name,
             asset_url,
-        } => release_runtime::create_asset_link(tag, asset_name, asset_url).await,
+        } => gitlab::create_asset_link(tag, asset_name, asset_url).await,
         DuniterXTaskCommand::Test => test(),
     }
 }
-- 
GitLab