GithubHelp home page GithubHelp logo

sensorario / ff Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 1.0 28.86 MB

golang tool for #gitflow #semanticversioning #semver #git #cli #versioncontrol #developertool

License: MIT License

Makefile 0.87% Go 99.13%
gitflow git golang-application developer-tools version-control cli git-flow

ff's Introduction

ff's People

Contributors

cmsimonegentili avatar nicolagi avatar sensorario avatar simoneantreem avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

mgvazquez

ff's Issues

lowercase branch name

In some cases branch name is generated starting from sentences that contains upper and lower characters.

It could be better if branches will be always lower case.

undo

Is your feature request related to a problem? Please describe.
I'm always frustrated when It happens that I've to undo a commit.

Describe the solution you'd like
I want to avoid to write every time git revert HEAD whenever I mean "undo last commit"

Describe alternatives you've considered
The only alternative here is to type every time git revert HEAD. A fastest ff undo could be absolutely better

bad feedback after second attempt to tag same commit

Describe the bug
Trying to tag same commit twice no error nor feedback occurs.

To Reproduce
Simply ff tag twice same commit.

Expected behavior
The output should print a message like "commit already tagged"

Screenshots

Schermata 2019-04-28 alle 01 22 22

Oops! Bad configuration: development branch cannot be empty

Whenever ff run for the first time generate .git/ff.conf.json file in the following format:

{
  "features": {
    "tagAfterMerge": false,
    "disableUndoCommand": false,
    "stopAskingForTags": false,
    "applyFirstTag": false,
    "enableGitCommandLog": false,
    "forceOnPublish": false,
    "pushTagsOnPublish": false
  },
  "branches": {
    "historical": {
      "development": ""
    }
  }
}

This is absolutely bad!!! development branch should be, at least, current branch or master.

ff pull's output

There is no output when ff pull is executed. IS not clear what happened. Whether pull is done or not.

  • log response in logs
  • enable/disable output's log
  • show pull command output

Change branch

Mov branch from feature/aaaaaa/master to feature/bbbbbb/master with ff rename or something like that

merge fix to all LTS

Whenever a bugfix is resolved in a LTS version, .. bring all updates in earlier LTS versions/branches so then all LTS will receive all fixes too.

So. When a tag is generated or when a job is complete and branch merged, whenever current branch is not development, ... current tag/commit MUST be merged on older version.

i.e.

If exists master and 1.3, ... each time a feature/xxxx/1.3 is merged into 1.3, ... 1.3 MUST be merge into master.

If exists master, 3.2, 2.1 and 1.0, a tag in 1.0 must be merged into 2.1, 3.2 and finally master.

All branches MUST be marked as LTS. Each branch must indicate next release:

{
    "lts" : [{
        "from" : "1.0",
        "to" : "2.1"
    },{
        "from" : "2.1",
        "to" : "3.0"
    }]
}

merge will stop in development branch.

Each "bump to version" may add an item in lts collection.

add missing symlink doc

if you symlink it as git-ff somewhere in you $PATH (Eg.: /usr/local/bin/git-ff), you could use it as a git custom command (Eg.: git ff authors)? :)

old readme overwrite

On ff in non repository folder repository is created with empty README.md file and v0.0.0 tag. This behavior should be fixed because in case of non empty file, old readme file content is lost.

The expected behavior is that old readme file must be preserved. Actually is not!

toggle features

Make configuration options changeable from bash directly with ff toggle FeatureName command.

list all committers

Is your feature request related to a problem? Please describe.
It could be interesting to see the list of commiter in a repository and listed by number of commit

Describe the solution you'd like
ff committers show list all the repo's committer and the number of commit done

Describe alternatives you've considered
Type every time git shortlog --summary --numbered

Avoid runtime error creating tag whenever same tag already exists

panic: runtime error: index out of range [2] with length 1

goroutine 1 [running]:
main.meta.patchVersion(0xc00011c080, 0x7, 0x0, 0x0, 0x1, 0x1)
	/Users/sensorario/Development/github.com/sensorario/ff/src/meta.go:41 +0xe4
main.meta.NextPatchTag(0xc00011c080, 0x7, 0x0, 0x0, 0x0, 0x0)
	/Users/sensorario/Development/github.com/sensorario/ff/src/meta.go:58 +0x67
main.tagStep.Execute(0xc000116000, 0x10)
	/Users/sensorario/Development/github.com/sensorario/ff/src/step_tag.go:39 +0x338
main.main()
	/Users/sensorario/Development/github.com/sensorario/ff/src/main.go:72 +0x38f

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.