GithubHelp home page GithubHelp logo

alt-art / commit Goto Github PK

View Code? Open in Web Editor NEW
209.0 3.0 10.0 317 KB

Command-line tool to guide your template commit messages anywhere, anytime

License: MIT License

Rust 98.07% Shell 1.93%
commit git utilities commitizen conventional-commits commit-message commit-message-template rust cli

commit's Introduction

commit's People

Contributors

alt-art avatar dependabot[bot] avatar lemonjamesd avatar letsaguiar avatar waldirborbajr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

commit's Issues

[ERROR] - [RPM] - [v 0.3.0-1] - Error during install / Package conflicts

While installing commit I've encountered an error that wasn't able to be resolved by dnf package manager.

The distro I'm using is Fedora 35 (XFCE official version) the version of the that I'm trying to install commit that I'm trying to install is v 0.3.0-1.

The error it self was:

Error: Transaction test error:
  file /usr/bin from install of commit-0:0.3.0-1.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64

BTW - This app is f****ing amazing!!!

Search in parent folders for commit.json config file

The current implementation only searches the config file in pwd, home folder and argument, But git and other tools as the capability of searching config files and folders in parent folders in case someone move out of the config file folder.

Note: This will need a depth value for stop at a given iteration

Function that will handle this:

commit/src/config/mod.rs

Lines 81 to 92 in ac7cfe0

fn get_config_path() -> Result<PathBuf> {
let current_dir = std::env::current_dir()?;
let current_file = current_dir.join("commit.json");
if current_file.is_file() {
Ok(current_file)
} else {
let config_file = dirs::config_dir()
.ok_or_else(|| anyhow!("Could not find config directory"))?
.join("commit/commit.json");
Ok(config_file)
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.