refactor: use ergo module to load profile
modified src/bin/cib.rs
@@ -9,12 +9,12 @@ use std::{
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -193,8 +193,6 @@ struct QueuedCmd {}
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -232,7 +230,7 @@ impl QueuedCmd {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -274,13 +272,11 @@ impl ProcessEventsCmd {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -334,6 +330,9 @@ impl ProcessEventsCmd {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -346,9 +345,6 @@ enum CibError {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -394,8 +390,8 @@ impl CibError {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/bin/cibtool.rs
@@ -18,13 +18,13 @@ use std::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -250,12 +250,12 @@ enum RunSubCmd {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
modified src/bin/cibtoolcmd/event.rs
@@ -130,8 +130,8 @@ impl Leaf for AddEvent {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -365,8 +365,9 @@ pub struct RecordEvents {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -419,7 +420,7 @@ pub struct CiEvents {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -435,7 +436,7 @@ impl Leaf for CiEvents {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/bin/cibtoolcmd/report.rs
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
@@ -18,14 +18,12 @@ pub struct ReportCmd {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/pages.rs
@@ -28,7 +28,7 @@ use radicle::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -863,7 +863,7 @@ pub struct StatusPage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -874,13 +874,13 @@ impl StatusPage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -935,7 +935,7 @@ impl StatusPage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/util.rs
@@ -73,10 +73,6 @@ pub fn oid_from_cli_arg(profile: &Profile, rid: RepoId, commit: &str) -> Result<
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -160,9 +156,6 @@ pub fn safely_overwrite<P: AsRef<Path>>(filename: P, data: &[u8]) -> Result<(),
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -216,10 +209,6 @@ pub enum UtilError {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|