diff --git a/Cargo.toml b/Cargo.toml index 3fb742d..3e2bf50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "saku" version = "0.1.0" edition = "2021" readme = "README.md" -repository = "https://github.com/crispybaccoon/saku" +repository = "https://github.com/comfysage/saku" license = "MIT OR Apache-2.0" [[bin]] diff --git a/README.md b/README.md index abb8d9a..e25d2c5 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Homebrew. Run the installer using curl: ```shell -curl -fsSL https://github.com/crispybaccoon/saku/raw/mega/install.sh | sh +curl -fsSL https://github.com/comfysage/saku/raw/mega/install.sh | sh ``` Setup saku environment, add this to your `.bashrc`/`.zshrc`: @@ -62,7 +62,7 @@ suggestions for improvements, or want to contribute new features, please submit a pull request or open an issue on the GitHub repository. Before contributing, please review the [contribution -guidelines](https://github.com/crispybaccoon/saku/blob/main/CONTRIBUTING.md) +guidelines](https://github.com/comfysage/saku/blob/main/CONTRIBUTING.md) for instructions on how to contribute code, report bugs, and more. ## License @@ -77,4 +77,4 @@ contributors and the open-source community for their valuable contributions. ## Contact For any inquiries or questions, feel free to contact the project maintainer at -[[67917529+CrispyBaccoon@users.noreply.github.com]]. +[[67917529+comfysage@users.noreply.github.com]]. diff --git a/cliff.toml b/cliff.toml index 93729e3..bf67632 100644 --- a/cliff.toml +++ b/cliff.toml @@ -26,7 +26,7 @@ footer = """ """ # postprocessors postprocessors = [ - { pattern = '', replace = "https://github.com/crispybaccoon/saku" }, # replace repository URL + { pattern = '', replace = "https://github.com/comfysage/saku" }, # replace repository URL ] [git] # parse the commits based on https://www.conventionalcommits.org diff --git a/install.sh b/install.sh index b2acb94..3b484f9 100644 --- a/install.sh +++ b/install.sh @@ -8,8 +8,8 @@ printf " -\033[35m setting up\033[0m saku root\n" mkdir -p $SAKUPATH/repo cd $SAKUPATH/repo -printf " -\033[35m cloning\033[0m saku from\033[33m https://github.com/crispybaccoon/saku\033[0m\n" -git clone --filter=blob:none https://github.com/crispybaccoon/saku && cd saku +printf " -\033[35m cloning\033[0m saku from\033[33m https://github.com/comfysage/saku\033[0m\n" +git clone --filter=blob:none https://github.com/comfysage/saku && cd saku printf " -\033[35m building\033[0m saku\n" cargo build -r diff --git a/saku-cli/src/config.rs b/saku-cli/src/config.rs index e1fd0c4..bdadee3 100644 --- a/saku-cli/src/config.rs +++ b/saku-cli/src/config.rs @@ -37,9 +37,9 @@ pub fn init() -> Result<()> { io::mkdir(path::gr("custom"))?; if !path::pkg_exists("flasks", "core") { - msg::fetch("core", "https://github.com/crispybaccoon/pkg"); + msg::fetch("core", "https://github.com/comfysage/pkg"); - flask::add_with_name("core", "crispybaccoon/pkg")?; + flask::add_with_name("core", "comfysage/pkg")?; } if !path::repo_exists("core") { diff --git a/saku-lib/pkg/config.rs b/saku-lib/pkg/config.rs index 98496e7..bd6a5c0 100644 --- a/saku-lib/pkg/config.rs +++ b/saku-lib/pkg/config.rs @@ -29,7 +29,7 @@ pub struct Config { impl Config { pub fn path() -> Result { - if let Some(path) = directories::ProjectDirs::from("dev", "crispybaccoon", "saku") { + if let Some(path) = directories::ProjectDirs::from("dev", "comfysage", "saku") { let dir = path.config_dir(); let path = filepath::join(dir.to_str().ok_or(make_err!())?, &*constants::CONFIG_NAME); return Ok(path); diff --git a/saku-lib/pkg/flask.rs b/saku-lib/pkg/flask.rs index a59eff1..ee543bf 100644 --- a/saku-lib/pkg/flask.rs +++ b/saku-lib/pkg/flask.rs @@ -5,7 +5,7 @@ use crate::prelude::*; use crate::pkg::pkg::Pkg; // examples: -// Flask({ name: "crispybaccoon.core", url: "crispybaccoon/core" }, "crispybaccoon/core") +// Flask({ name: "comfysage.core", url: "comfysage/core" }, "comfysage/core") // Flask({ name: "aur.archlinux.org.pkg", url: "aur.archlinux.org/pkg" }, "aur.archlinux.org/pkg") #[derive(Debug)] @@ -84,12 +84,12 @@ mod test { #[test] fn new() -> Result<()> { - let (name, url) = ("crispybaccoon.core", "crispybaccoon/core"); + let (name, url) = ("comfysage.core", "comfysage/core"); let flask = Flask::new(name, url)?; assert_eq!(flask.pkg().name, name); assert_eq!(flask.url(), url); - let (name, url) = ("core", "crispybaccoon/core"); + let (name, url) = ("core", "comfysage/core"); let flask = Flask::new(name, url)?; assert_eq!(flask.pkg().name, name); assert_eq!(flask.url(), url); @@ -98,12 +98,12 @@ mod test { } #[test] fn from_url() -> Result<()> { - let (name, url) = ("crispybaccoon.core", "crispybaccoon/core"); + let (name, url) = ("comfysage.core", "comfysage/core"); let flask = Flask::from_url(url)?; assert_eq!(flask.pkg().name, name); assert_eq!(flask.url(), url); - let (name, url) = ("crispybaccoon.core", "crispybaccoon/core"); + let (name, url) = ("comfysage.core", "comfysage/core"); let flask = Flask::from_url(url)?; assert_eq!(flask.pkg().name, name); assert_eq!(flask.url(), url); @@ -112,7 +112,7 @@ mod test { } #[test] fn from_pkg() -> Result<()> { - let (name, url) = ("crispybaccoon.core", "crispybaccoon/core"); + let (name, url) = ("comfysage.core", "comfysage/core"); let flask = Flask::new(name, url)?; assert_eq!(flask.pkg().name, name); assert_eq!(flask.url(), url); @@ -122,7 +122,7 @@ mod test { assert_eq!(flask_pkg.pkg().name, name); assert_eq!(flask_pkg.url(), url); - let (name, url) = ("core", "crispybaccoon/core"); + let (name, url) = ("core", "comfysage/core"); let flask = Flask::new(name, url)?; assert_eq!(flask.pkg().name, name); assert_eq!(flask.url(), url); diff --git a/saku-lib/util/url.rs b/saku-lib/util/url.rs index 67f75a4..94850c1 100644 --- a/saku-lib/util/url.rs +++ b/saku-lib/util/url.rs @@ -82,12 +82,12 @@ mod test { #[test] fn extend_url() -> Result<()> { assert_eq!( - super::extend_url("crispybaccoon/pkg")?, - "https://github.com/crispybaccoon/pkg" + super::extend_url("comfysage/pkg")?, + "https://github.com/comfysage/pkg" ); assert_eq!( - super::extend_url("https://github.com/crispybaccoon/pkg")?, - "https://github.com/crispybaccoon/pkg" + super::extend_url("https://github.com/comfysage/pkg")?, + "https://github.com/comfysage/pkg" ); assert_eq!( super::extend_url("aur.archlinux.org/pkg")?, @@ -113,27 +113,27 @@ mod test { ); assert_eq!( - super::shorten_url("https://github.com/crispybaccoon/pkg.git")?, - "crispybaccoon/pkg" + super::shorten_url("https://github.com/comfysage/pkg.git")?, + "comfysage/pkg" ); assert_eq!( - super::shorten_url("github.com/crispybaccoon/pkg.git")?, - "crispybaccoon/pkg" + super::shorten_url("github.com/comfysage/pkg.git")?, + "comfysage/pkg" ); assert_eq!( - super::shorten_url("github.com/crispybaccoon/pkg")?, - "crispybaccoon/pkg" + super::shorten_url("github.com/comfysage/pkg")?, + "comfysage/pkg" ); assert_eq!( - super::shorten_url("crispybaccoon/pkg")?, - "crispybaccoon/pkg" + super::shorten_url("comfysage/pkg")?, + "comfysage/pkg" ); Ok(()) } #[test] fn url_name() -> Result<()> { - assert_eq!(super::url_name("crispybaccoon/core")?, "crispybaccoon.core"); + assert_eq!(super::url_name("comfysage/core")?, "comfysage.core"); assert_eq!( super::url_name("aur.archlinux.org/pkg")?, "aur.archlinux.org.pkg"