Coder Social home page Coder Social logo

cz-jira-smart-commit's People

Contributors

jimthedev avatar linusu 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  avatar  avatar  avatar  avatar  avatar  avatar

cz-jira-smart-commit's Issues

When using cz-jira-smart-commit no commit is generated

I just downloaded Commitizen and cz-jira-smart-commit to implement them in our internal projects but I can't seem to get the latter to work.

When I run git cz I get the correct prompt (i.e. GitHub commit message, Jira Issude Id, Workflow command etc) but after filling them all in no commit is generated and the files remain in staging without being actually committed to the project.

I tried with both packages installed locally and globally but no chance, using any other wrapper (i.e. cz-conventional-changelog) everything works flawlessy. Any idea what could be causing the JIRA wrapper not to be working correctly?

My .cz.json looks like the following:

{
   "path": "node_modules/cz-jira-smart-commit"
}

feature request: config to add/change current project

Background: Most (not all) of my work has a consistent project for a number of issues at a time, so having to retype it over and over, then add the issue id number can be irritating (especially if the current project has a long ID).

Request: I'm thinking it would be good to have a config option that lets you set the project prefix so all you have to do is type the number of the issue - until you change it. Or if you are working in between projects all day you just leave the config value empty and it asks you to complete the whole thing.

I'll just leave this request here in case someone (or I) can get some work done on this and do a PR.

Thanks!

Does not commit

Hello,

I am not able to commit with this adapter for commitizen. I have used the cz-conventional-changelog adapter and that appears to work without issue. We would like to switch to this adapter as we use Jira. Any help would be appreciated.

Versions: [email protected], [email protected]
Private module and repo.
Installed as dev dependency.
cz config path is local: "path": "./node_modules/cz-jira-smart-commit"

Steps to reproduce:

  1. Edit file.
  2. Stage file: git stage -p (interactive hunks) or git add .
  3. Commit with cz: git cz
  4. Add prompt responses (Jira ticket number, comments, etc)

Expected: A clean working tree with a commit message based upon prompt responses.
Actual: Dirty working tree that has staged edits and no commit has occured.

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.