Giter Site home page Giter Site logo

git-flow-hooks's People

Contributors

exaspark avatar gkorshunov avatar jaspernbrouwer avatar kitzberger 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

git-flow-hooks's Issues

Allow global git-flow-hooks-config.sh

I want your hooks to be available in every local repository, existing or created in the future.
Generally, it's very easy to achieve this by globally setting gitflow.path.hooks.

What doesn't work is a global customization for all projects. For example, my version file always sits at version/version.txt. Right now, I need to create a git-flow-hooks-config.sh in each repository to perform this customization.

release start can't bump a auto version

on centos,

git clone [email protected]:jaspernbrouwer/git-flow-hooks.git

git flow init

git config gitflow.path.hooks git-flow-hooks/

git config gitflow.hotfix.finish.message "Hotfix %tag%"

git config gitflow.release.finish.message "Release %tag%"

git flow release start // error: Missing argument < version >

is any wrong in these steps ?

Multiline tag message

Is it possible to create multiline tag messages? I'd like to introduce a new tag message variable to be replaced by a multiline text when finishing a release. Unfortunately all of the line breaks (\n) seem to get lost on the way from format-tag-message.sh to the actual tag message.

Maybe you can give me a push into the right direction ;-)

version file not passed to semverbump.sh

It seems as if the $VERSION_FILE variable is not properly passed from bump-version.sh to semverbump.sh. It is always null / empty.

The result is, that the current version is actually never read from the version file, if a custom one has been specified in git-flow-hooks-config.sh

Version bump doesn't work

I use Ubuntu 15.04 with 'git flow 1.8.0 (AVH Edition)'.

README says:

If git flow release start and git flow hotfix start are run without a version, the version will be bumped automatically.

However when I try to start release without version number then I get this:
'fatal: 'release/.0.1' is not a valid branch name.
Fatal: Could not create release branch 'release/.0.1''

Prevent interactivity

Thank a lot for this, been looking for a more efficient way to deal with versioning for quite a while now!

I realize this is not very active, but I was wondering if there's a way to implement two small modifications:

1. Prevent Interactivity
While making a release or a feature it stills asks me for a commit message.
I've seen a question in SO that said I could make something like:

export GIT_MERGE_AUTOEDIT=no
git flow release finish -m 'Merge Message' release_branch_name
unset GIT_MERGE_AUTOEDIT

But I don't understand how to apply something like this inside the hooks, without the message and without the release name (using auto bump). Any ideas?

2. Automatically push commits on the master
After I finish a release, I'm taken to the master branch (using VSCode), and I can see that there are 2/3 commits to be pushed to origin. I was wondering if there would be way to automatically push after finishing a release/feature/hotfix.

Thanks a lot!

can not clone. Permition denied

 git clone [email protected]:jaspernbrouwer/git-flow-hooks.git
Cloning into 'git-flow-hooks'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

So I change clone command:

git clone https://github.com/jaspernbrouwer/git-flow-hooks

Please update your DOC

[QUESTION] Set up only once

Is configuring these hooks something that everyone should do when cloning a repository where these hooks are to be used? Can I do this configuration only once?

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.