17
votes
When is it acceptable to commit directly to main/master?
A central component of Trunk Based Development is reducing the number of long-lived branches. For some teams, this means committing directly to the trunk or main branch. Only with larger teams would ...
16
votes
Accepted
How to maintain development,testing and production branches when the number of devs is around 50?
Your problems have existed for decades and people have realized that there isn't a good way to solve it without significantly altering their way of working. Thats where Trunk-based Development, ...
13
votes
Accepted
How to modify workflow to allow multiple features per release?
Answering your questions below:
Would the above proposed workflow be considered a standard workflow?
There isn't a strict "standard" workflow that everyone adheres to, but your workflow is ...
10
votes
Accepted
How do I keep two git projects in sync with each other?
but I want to separate out the library part into a separate repo, in preparation for eventually releasing it.
Separating the library has a few implications. One of them is that others will use your ...
9
votes
Accepted
Best practices when designing a workflow engine using timers?
You can design your control flow the other way around to avoid multiple timers.
When you send an email, store any context you need for a response. E.g. write this context to a database or file.
...
9
votes
Accepted
How to deal with getting stuck on solo projects
Theres no magic fix. Your only choice is to limit your exposure to these types of problem.
This is obviously a general rule, but I think its especially true with solo projects. Where you really don't ...
9
votes
How to maintain development,testing and production branches when the number of devs is around 50?
Excellent answer by Euphoric here, but let me add another (additional) option, which also means a significant change to your current way of working: try to break down your product into individual, ...
8
votes
Accepted
One function to produce a couple or a function per item?
What you are asking for has not much to do with the particular problem of AST processing. The question you are asking is
I have to design an API for a component, the API needs to provide different ...
6
votes
In a flow chart, is there a convention on directionality of true/false conditions from a decision?
Yes, there is such a convention, but it is not based on true or false. The "happy flow" will always be pointing down and any exceptional or side-tracked flow will be pointing left/right.
E.g. if you ...
6
votes
How to modify workflow to allow multiple features per release?
There's no such thing as a "standard workflow". There are some models that are commonly used - look at gitflow, GitHub flow, GitLab flow, oneflow, three-flow, and trunk-based development for ...
6
votes
Can 1.0.1 be launched right after 1.1.0?
SemVer does not contain any rules in which chronological order one has to develop, publish or deploy different branches which are not part of the same sequence. When the end result is
a major release ...
5
votes
Best practice for git commit messages for specific modules
When you type git commit, and your editor pops up it will have a bunch of commented lines like:
# modified: foo/bar/baz.py
# modified: foo/bar/quix.py
I've come to prefer simply uncommenting these ...
5
votes
Accepted
Git workflow for flexible features
In the gitflow model this situation would be considered a hotfix, where the prescription is exactly the solution you proposed, assuming the merge doesn't pull in other changes from develop that aren't ...
5
votes
Accepted
When developing for C++ in Visual Studio, is there a quick way of being able to test your code as an exe and DLL?
Is there a good method of developing a C++ program and quickly being able to switch between compiling it as a DLL and exe?
A better strategy will be:
Keep the DLL as is.
Create an EXE by linking ...
5
votes
How are first-time users signup requests authenticated?
Every web application has at least a few routes/endpoints that are accessible anonymously. If it isn't a sign-up page, it would be a home page telling prospective users what your application does and ...
5
votes
How to modify workflow to allow multiple features per release?
No, mainly because of :
"4. Version bump in source code..."
It's been said a million times; Version published apps, not source code.
If you want to get the version into the source, then you ...
5
votes
Accepted
Where to tag releases to achieve "build-once, deploy-everywhere" using GitFlow?
I don't agree that tagging a merge commit means that you're building a different version of the code that was not tested.
If you have commit x on your release branch and then merge that into your main ...
5
votes
Accepted
Team Development Workflow
If you have multiple people working in parallel on related tasks, then those tasks should be integrated with each other as early and as often as practical.
The aim of this integration is to find ...
4
votes
Should I put docker commands in my package.json?
If it's an entirely private Node module, and it works for you, then go ahead.
However, I'd say the "correct" answer is No because if you published the module (even to a private corporate npm repo), ...
4
votes
Accepted
How to convert multiple Git repositories for related code into proper branches/tags
Since these individual repositories were copied from the original, you can re-establish the relationship between the copies and the original. See this other answer for more details.
Use git remote ...
4
votes
Accepted
Parnas' Paper on Modularization and Workflow Engines
Why is the "new" (in 1971) approach better ?
The second approach, which is the one that Parnas recommends, will ensure the principle of separation of concerns.
In other words, identifying ...
4
votes
Accepted
Mercurial topology in three stage implementation
I can see the value of having multiple local working copies for various reasons, but I don't see what the point of the middle "tier" is if everything pictured is a true clone.
Having multiple working ...
4
votes
What's the correct Git flow to develop on two independent features + one feature that relies on both?
If feature C depends on features A and B in the sense that both should be implemented, verified and correct for C to work correctly, then the canonical way is to delay development of C until the ...
4
votes
Accepted
If you're building an algorithm from the C stdlib in pure Assembly (with no help), what is the best workflow for debugging/iterating?
how did they debug this stuff
Same as today. You divide the code into trusted and untrusted and pick apart the untrusted until you trust it.
How did others in the past do this when the tooling ...
4
votes
Is UML suitable for designing a warehouse workflow?
You seem to look for modelling a business process:
The cartons that enter, then the flow of a box. Return, damaged good, cancellation at different stages, transfer from a stock to another. Each ...
4
votes
Accepted
Should the Jira assignee change for testing?
This depends on your workflow.
Some teams that I've worked with do change the assignee from the developer to the tester when the work enters test. The fact that it doesn't look like a person has or ...
4
votes
Git Workflow for Code without any regression test
The problem is that the revert is painful. You somehow discovered a need to revert after the merge was committed to pre-production but before QA tested it. Sounds like someone tested it. That's fine. ...
3
votes
Git flow with a UAT layer
Your problem goes a bit beyond the normal git workflows and can be handled in several ways.
If the problem found during UAT is really small and can be fixed "while the customer is waiting", then you ...
3
votes
What kinds of patterns are ideal for driving complex user interface workflows?
Our REST API responses contain the information needed to display the correct links or buttons, based on the state of the workflow activity at the moment the page is requested. Instead of hard-coding ...
3
votes
Git flow with a UAT layer
I don't think there is a technical solution to this problem. I have had similar scenarios in the past and trying to solve this technically (by having separate branches) is cumbersome at best, and hell ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
workflows × 267git × 99
version-control × 33
github × 19
gitflow × 15
teamwork × 14
branching × 14
web-development × 13
php × 12
project-management × 11
testing × 10
design-patterns × 9
architecture × 9
continuous-integration × 8
design × 7
programming-practices × 7
development-process × 7
svn × 7
agile × 6
deployment × 6
java × 5
modeling × 5
dvcs × 5
jira × 5
object-oriented × 4