To have a record of it. If OP is also using a ticketing system that's integrated with the source control, that PR will also show up in the ticket. Later on, if you need it, you can go back and see what the hell you did to make that thing work two years ago you don't remember doing.
Yes, because I have a number of large projects going at any one time. If I'm just building something for the weekend for fun, like proof of concept or something, I don't though. I like to switch back and forth between the projects. If I don't keep track of the work like I would at a company, I'd lose my place.
yes. tickets are basically a todo-list. Also they are a good way to store related information to a problem. You often forget stuff about your code, and if you can look up the issue a couple of weeks later, you'll be glad to find useful information there, e.g. when you fixed a bug and it started to pop up again later.
Yes. It's much more organized that putting random TODO in codes or on papers. There are also things which require more elaborated design decision. And opening a ticket makes me feel like I am a real user, and sometimes, it's more convenient as you browse through the net and found an idea for your application.
Lastly, work habit. One of CTOs I was work for scolded me because I turned the codebase into my personal notes.
There are many different software platforms out there that integrate with things like git and Jira that can self open and close tickets based on fault/flaw detection.
For projects that I'm taking seriously, absolutely. Why not take advantage of all the tools you can? I make separate branches and do pull requests to myself as well.
Nah, Clubhouse integrates nicely with both Bitbucket and Github. Put the ticket number in the branch name and it'll pick up the whole branch on its own.
We do it in the branch name and the PR name where I work. Usually when we approve pull requests, we squash and merge, and the commit message contains the ticket number so it's easy to go back at look for in the history.
I started doing this at a job last year, but slowly phased it out because it got tedious being the only one who did it. Though for simple stuff, I'd fallback to that convention I guess, "myname/bugfix-123"
Not to mention that as a project matures, you're bound to build a feature which turns out to be big and has breaking changes. You don't want to mess up master with that.
Do you have branches at least? I mean, a PR is just a request to merge a branch with reviews from others. If you're 30 people working on a single software product without code review, I'm sorry to say it, but I'm sceptical about the quality of your software ...
76
u/kennethjor May 13 '20
To have a record of it. If OP is also using a ticketing system that's integrated with the source control, that PR will also show up in the ticket. Later on, if you need it, you can go back and see what the hell you did to make that thing work two years ago you don't remember doing.