Code Monkey home page Code Monkey logo

commitizen-go's Introduction

  • 岛民
  • 基督徒
  • 热爱代码,以及代码相关的一切

致勇敢的乌克兰保卫者

感谢乌克兰人民和泽连斯基总统,不仅抵御了俄罗斯的侵略,更阻止了强权、暴政和恐怖主义对自由世界的侵害!

commitizen-go's People

Contributors

deimosfr avatar junseinagao avatar lintingzhen avatar max-petrovich avatar okhiroyuki avatar xeres 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

commitizen-go's Issues

Problem with homebrew

Macos, installing with homebrew
/opt/homebrew/commitizen-go: Bad CPU type in executable

`git cz` could silently fail

If some pre-commit hook prevents creating a commit (in my case it was a hook checking that commit message starts from lowercase letter), then commit would not be created;git cz though would appear as if it was successful.

Change config file path to project root directory

Hi, I would like commitizen-go to load a configuration file in the root directory of the git repository.

Committers can use commitizen-go to configure different settings for different projects.

Why not implement that feature, ready to submit a PR. 🎉

Support all git commit options

Hi there,

is it possible to pass any flags that this utility do not recognize to git commit?
Sometimes you need to use some commit option, and you probably do not want to write a commit message without this wizard, so it would be nice...

Backspace can't get to previous line

So, if I write a commit message that is long enough to span to new line; and then I try to delete some part of it with backspace - then cursor can't go further that the beginning of the second line.
After it got there, no matter how many times I try to backspace, it stays there.
First line visually stays the same. But actually, if I proceed and create the commit, it will turn out that symbols on the first line were deleted as I was pressing backspace. It is just not shown in any way.

Provide a way to map inputs?

I'd like to Gitmoji with this Go version of Commitizen, but to do that, I need to use the user-selected type as a key to lookup the appropriate emoji code to include in the commit message. How can I do this? I've struggled (in vain) to define a variable like map[string]string in message.template and index that using .type but no joy:

"template": "{{ $emoji := map[string]string{\"prune\": \"fire\"}}}{{index $emoji .type}} ..."

Add support for custom configuration

I've finally found an equivalent of commitizen for Golang projects. Just wondering, are there any plans to add custom configuration files? (as a reference, cz-cli has support for .czrc files)

Brew version

Hi,

Thanks for your commitizen go version!

It would be great if you could make a brew package for it :)

Thanks

Problem Installing via Brew

brew tap lintingzhen/tap - works

brew install commitizen-go
==> Installing commitizen-go from lintingzhen/tap
==> Downloading https://github.com/lintingzhen/commitizen-go/releases/download/v1.0.0/commitizen-Darwin-x86-1.0.0.tgz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/178145467/2a250a00-e728-11ea-89c8-9c07047e2d2b?X-Amz-Algorithm=AW
######################################################################## 100.0%
Error: An exception occurred within a child process:
Errno::ENOENT: No such file or directory - commitizen

Is brew pointing to a bad version?

Add dynamic GOARCH

I have an issue on ubuntu 20.04 arm64,
/usr/lib/git-core/git-cz: 1: Syntax error: "(" unexpected

When i build with arm64 arch - everything is fine
CGO_ENABLED=0 GOOS=${GOOS} GOARCH=arm64 go build -o $@ -ldflags ${REVISION_FLAG}

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.