Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove password store & clean lint warnings
Remove password store as we no longer need it since we aren't collecting the credentials for ssh signing anymore. I also cleaned up a bunch of lint warnings that were largely caused by poor code organization. I also removed a couple dependencies that are no longer needed since the shift of the ssh signing to an external command. <!-- ps-id: 2e704aaf-e058-4ad9-a4a9-160b85c131ce -->
- Loading branch information
1 parent
19a85af
commit e5c95f0
Showing
31 changed files
with
68 additions
and
1,075 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/ps/private/config/branch_config_dto.rs → ...rivate/config/branch/branch_config_dto.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use super::super::utils; | ||
use super::super::super::utils; | ||
use serde::Deserialize; | ||
use std::option::Option; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mod branch_config_dto; | ||
|
||
pub use branch_config_dto::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/ps/private/config/fetch_config_dto.rs → .../private/config/fetch/fetch_config_dto.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use super::super::utils; | ||
use super::super::super::utils; | ||
use serde::Deserialize; | ||
use std::option::Option; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mod fetch_config_dto; | ||
|
||
pub use fetch_config_dto::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ps/private/config/integrate_config_dto.rs → .../config/integrate/integrate_config_dto.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use super::super::utils; | ||
use super::super::super::utils; | ||
use serde::Deserialize; | ||
use std::option::Option; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mod integrate_config_dto; | ||
|
||
pub use integrate_config_dto::*; |
2 changes: 1 addition & 1 deletion
2
src/ps/private/config/list_config_dto.rs → ...ps/private/config/list/list_config_dto.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mod list_config_dto; | ||
|
||
pub use list_config_dto::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
mod branch_config_dto; | ||
pub mod branch; | ||
pub mod fetch; | ||
pub mod integrate; | ||
pub mod list; | ||
pub mod pull; | ||
pub mod request_review; | ||
|
||
mod config_dto; | ||
mod fetch_config_dto; | ||
mod get_config; | ||
mod integrate_config_dto; | ||
mod list_config_dto; | ||
mod ps_config; | ||
mod pull_config_dto; | ||
mod read_config; | ||
mod read_config_or_default; | ||
mod request_review_config_dto; | ||
|
||
pub use branch_config_dto::*; | ||
pub use config_dto::*; | ||
pub use get_config::*; | ||
pub use ps_config::*; | ||
pub use request_review_config_dto::*; | ||
pub use list_config_dto::ColorSelector; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mod pull_config_dto; | ||
|
||
pub use pull_config_dto::*; |
2 changes: 1 addition & 1 deletion
2
src/ps/private/config/pull_config_dto.rs → ...ps/private/config/pull/pull_config_dto.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use super::super::utils; | ||
use super::super::super::utils; | ||
use serde::Deserialize; | ||
use std::option::Option; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use super::config_dto::*; | ||
use super::ConfigDto; | ||
use std::fs; | ||
use std::io; | ||
use std::path; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mod request_review_config_dto; | ||
|
||
pub use request_review_config_dto::*; |
2 changes: 1 addition & 1 deletion
2
...ivate/config/request_review_config_dto.rs → ...quest_review/request_review_config_dto.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use super::super::utils; | ||
use super::super::super::utils; | ||
use serde::Deserialize; | ||
use std::option::Option; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/ps/private/git/config_get_bool.rs → src/ps/private/git/config/config_get_bool.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
src/ps/private/git/config_get_string.rs → ...s/private/git/config/config_get_string.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
mod config_get_bool; | ||
mod config_get_error; | ||
mod config_get_string; | ||
mod config_get_to_option; | ||
|
||
pub use config_get_bool::*; | ||
pub use config_get_error::*; | ||
pub use config_get_string::*; | ||
pub use config_get_to_option::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
use super::super::super::password_store; | ||
|
||
#[derive(Debug)] | ||
pub enum SignerError { | ||
KeyParsing(Box<dyn std::error::Error>), | ||
ReadPassword(std::io::Error), | ||
KeyDecryption(Box<dyn std::error::Error>), | ||
Signing(Box<dyn std::error::Error>), | ||
SignatureFormatting(Box<dyn std::error::Error>), | ||
GetPassword(password_store::GetSshKeyPasswordError), | ||
SetPassword(password_store::SetSshKeyPasswordError), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters