Giter Site home page Giter Site logo

v1gittools's People

Contributors

jonmchan avatar

Stargazers

 avatar  avatar

Watchers

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

v1gittools's Issues

switching/remembering stories and/or branches

Currently, to 'switch' to a new story and/or branch, you type:

v1git develop v1_story_id [branch_name]

This 'switches' the user to a v1 story and a git branch, putting that story into "In Develop" status.

Depending on your teams V! setup or other reasons, you might want to 'start' a story in a different status (see #4 ) or possibly create multiple branches per story (e.g.: try multiple code approaches).

So, maybe, to switch to a different story and/or branch, the v1git command should also accept a command option syntax like one of the following:

v1git switch [-s story_name] [-b branch_name]
v1git switch [-sb story_same_as_branch_name]
v1git [-s story_name] [-b branch_name]
v1git [-sb story_same_as_branch_name]

... and the story and branch name would be remembered (as applicable) for future v1git commands.

And, then to change the story status (and associated git repo commands), you'd do something like noted in #4

v1git status <v1_story_status> [-s story_name] [-b <branch_name>]

(Maybe use some other key words/options instead of 'switch' or 'status' or '-s' to keep them less similar.)

changing story status should (or optionally) remember branch name

When typing v1git develop <story num> <branch name>, the branch name is optional. Omitting the branch name causes v1git to use a branch named according to the story number, which I assume is for auto-naming the branch to match the story number.

However, there should be a way to stay on the same branch that you are on when using 'change story status' type of commands.

For example, if you had typed v1git develop <story num> ..., made/pushed some changes, typed v1git qa, and then typed v1git develop <story num> to bump the story back to "In Progress", then you would end up creating to a new branch named <story num> and switching to it (and you might wonder which git branch is now linked to the v1 story). However, you probably intended to stay on branch <branch name>.

changing V1 story status commands

Running v1git develop ... or v1git qa are the only change V1 story status commands. However, the .v1git.conf file has a v1_story_statuses section for specifying (mapping) V1 story statuses (potentially others besides develop and qa).

Maybe the v1git command should also accept a command option syntax like:

v1git status <v1_story_status> [-s story_name] [-b <branch_name>]

This would be to switch the story status to <v1_story_status> and do any associated commands (e.g.: create a PR in the git repo if a PR doesn't yet exist).

Ideally, the previous story name and branch name would be assumed unless the -s or -b options were specified.

Missing Tests

This project is sorely missing tests. If we are going to grow this project, we need tests to lock down requirements and functionality.

`v1git qa` errors out after 1st time

When I try v1git qa second time (possibly after bumping the story back to QA w/ v1git develop <story num>), I get:

Branch 'B-24436' does not exist on github. Did you forget to `git push`? Cannot create PR!

The error message needs clarification. Also, existence of matching PR should probably be checked.

Bad URL For Defects

Defect url is:

HOSTNAME/defect.mvc/Summary?oidToken=Defect...

We have story.mvc hardcoded into the system. We should detect if it is a story or defect to link properly to the original versionone asset.

v1git should remember the story number

v1git develop <story num> bumps the story back to "In Progress" .. nice, but it would be a bit nicer if the story was optional the second time around. Likewise for other applicable commands.

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.