Tagged Questions
6
votes
2answers
246 views
Feature branches, beta branches, and scrapped features
I've been thinking a lot about best practices regarding branching in distributed version control systems such as git an mercurial (the two dvcs's I have experience with and use on a daily basis).
The ...
20
votes
7answers
1k views
how to stay efficient when a build is almost always broken
I work in a middle sized team which shares the same source code and while have a continues integration in place, but as all of us has to work in the same branch, the build is almost always broken.
...
4
votes
2answers
299 views
How to deal with undesired commits that break long-running release builds?
We ran into an unfortunate situation at work recently and I've been wondering what we can do to avoid similar problems in the future.
We make embedded systems. The FPGA code is in one SVN repository ...
4
votes
1answer
384 views
Is git-flow in the spirit of git? [closed]
The question is pretty self-explanatory. I've had some experience with git-flow, and not much more true experience with plain git before that. (I was using it more as a backup-provider.) I'm ...
9
votes
5answers
332 views
Is it a good practice to have a remote branch for each developer?
Is it considered a good practice to have a remote branch for each individual developer in the project?
We're using Git with the following branches:
master
release
develop
If each developer had ...
5
votes
4answers
261 views
Git: rebasing on top of a refactor that affects the target rebase branch
Let's say I have a feature (topic) branch that I keep rebased on top of my development branch. During the course of the project (before merging in my feature branch), I decide that I need to make a ...
4
votes
2answers
141 views
How to manage releases with multiple features at different states?
We have a branching structure of:
multiple dev branches for each major new feature
Main branch, merged into from a dev branch once a feature is ready for testing
Release branch, merged into from ...
12
votes
7answers
561 views
Can branching ever be considered a bad practice? [duplicate]
Possible Duplicate:
To branch or not to branch?
A co-worker is against branching. I use branching all the time. I put the team onto a basic 3 branch system. I create my own feature ...
6
votes
3answers
183 views
Advice: Developing two projects where one is an extension of the other
The Two Projects
I work at a pretty small software company, and I'm currently in a situation where I'm at the end of development for "Project A", about to start development for "Project B". Project B ...
8
votes
7answers
396 views
How to keep the trunk stable when tests take a long time?
We have three sets of test suites:
A "small" suite, taking only a couple of hours to run
A "medium" suite that takes multiple hours, usually ran every night (nightly)
A "large" suite that takes a ...
4
votes
2answers
1k views
Git branching and tagging best practices
I am currently learning to use Git by reading Pro Git. Right now I'm learning about branching and tags. My question is when should I use a branch and when should I use a tag?
For example, say I ...
1
vote
3answers
310 views
Branching strategy for parallel development that won't be in the same release?
My team is working on a product, which for business reasons needs to be released on a regular schedule. An issue has arisen where we want to do development in parallel for the upcoming release, as ...
1
vote
3answers
159 views
What does cheap copying/branching mean for a versioning system like SVN?
One of the advantages of SVN over CVS as given here is cheap copying and branching. What does "cheap copying and branching" mean in SVN parlance? How is it different from CVS copying and branching?
15
votes
6answers
657 views
How can I refactor a code base while others rapidly commit to it?
I'm on a private project that eventually will become open source. We have a few team members, talented enough with the technologies to build apps, but not dedicated developers who can write ...
10
votes
2answers
693 views
A decent git branching model for products that should accompany the version of another, third-party product (and pros and cons of one proposal)
Note: My question is focused in my specific problem (which involves Liferay) but I hope it can be useful for anyone who needs to maintain various versions of a same project on git.
I work on a ...
8
votes
3answers
1k views
Source Control: Roles and Responsibilities - Best Practices
I'm looking for "Best Practices" concerning roles and responsibilities, specifically who is responsible for merges from development branches to trunk (or main). Basically I'm looking for ammunition to ...
4
votes
5answers
2k views
Choosing the right branching strategy for releases
Starting with a new dev team on a new project and we have to define our Branching strategy for our source repository (e.g. Microsoft Team Foundation Server 2010). We've run into a sticky discussion ...
2
votes
3answers
636 views
SVN: Working with branches using the same working copy
We've just moved to SVN from CVS. We have a small team and everyone checks in code on the trunk and we have never ever used branches for development.
We each have directories on a remote dev server ...
18
votes
4answers
886 views
What is the best way to handle product versioning and branching of long term projects?
In a general sense, for long term projects that may have multiple releases during the products life cycle and require support of previous products, what is the best way to handle product versions and ...
14
votes
9answers
976 views
How do you avoid working on the wrong branch?
Being only a little careful is usually enough, but sometimes I need to double check the branch I'm working on (e.g "hm..i'm on dev branch, right?") and I check the source control path of a random ...
6
votes
4answers
649 views
How do you put different versions of your library under version control? Do you use tags? Or branches? Or another method?
I have recently started putting my code under version control (in the lab I'm working, under SVN, and my own codes in github (obviously with git)). Before using version control, I used to do something ...
1
vote
1answer
107 views
Would this be the equivalent of creating a branch, while working with a detached head in Git?
Let's say I checked out a version different than HEAD. Let's say I made some commits, and so an anonymous branch was created. Afterwards I may have checked out a different branch, so now the only way ...
5
votes
1answer
1k views
Mercurial branch or rebase?
After using mercurial daily for over a year, we are about to find a better workflow for our DVCS. Inspired by a successful Git branching model we are about to move away from our "push daily work into ...
4
votes
3answers
382 views
Forgetting to merge changes from trunk to branch
Recently, I forgot to merge changes from trunk to our maintenance branch. This caused us to rebuild - twice - and put QA on hold for two days while we fixed the mess.
Normally, when committing to ...
2
votes
1answer
402 views
What's the best version control/QA workflow for a legacy system?
I am struggling to find a good balance with our development and testing process.
We use Git right now, and I am convinced that ReinH's Git Workflow For Agile Teams is not just great for capital-A ...
6
votes
6answers
504 views
What's the best way to explain branching (of source code) to a client?
The situation is that a client requested a number of changes about 9 months ago which they then put on hold with them half done. They've now requested more changes without having made up their mind ...