remotemobprogramming / mob

Tool for smooth git handover.
https://mob.sh
MIT License
1.67k stars 150 forks source link

Proposal to create timers using the current branch name. #343

Closed raphaelkieling closed 1 year ago

raphaelkieling commented 1 year ago

Hello folks.

Something that I'm missing is an easy way to start a timer link without the need to explicitly change the .mob file with the MOB_TIMER_ROOM flag. I tried:

It means that the flag is being ignored in my vision. Is it right?

Proposal

Maybe something like mob start --create-timer-current-branch(mob start -ct is just an example) would be perfect. It will avoid the necessity to put the name of the room on each dev .mob file.

Dev B:


In summary, it will use the current branch name for everything related to the timer. Is it make sense to you?

simonharrer commented 1 year ago

Have you tried out the parameter MOB_TIMER_ROOM_USE_WIP_BRANCH_QUALIFIER set to true in your config? It should do what you want. Simply set it in your config .mob file in your home or project folder.

raphaelkieling commented 1 year ago

Thanks for the quick response, yes I did:

1 - Change MOB_TIMER_ROOM_USE_WIP_BRANCH_QUALIFIER to true inside the .mob 2 - Run mob start 3 - I can't see any timer link.

hollesse commented 1 year ago

Hey @raphaelkieling, to use the branch qualifier in mob you need to set it. Therefore use mob start -b yourBranchQualifier instead of just mob start then it should work as you expected it ;)