Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [scm]

the tag **SCM** is used for topics concerning source control management, if the concrete SCM tool isn't important.

1
vote
1answer
41 views

Sould i tag a hotfix release in production using GIT scm

We have weekly planned release cycle. Following standard semantic versioning system. Like first week V3.0.0, next V3.0.1 patch release, next week V3.1.0 minor release. Apart from the above planned ...
4
votes
1answer
58 views

Organizing Ad-Hoc Tooling in a Muti-Repo Structure

Imagine you have the following scenario. Your organization deploys some app core to its mission. For example if you're Stack Exchange, this might be the customer facing web server. Let's also say you ...
0
votes
2answers
75 views

Do Scala worksheet (or REPL logs) belong to the SCM?

The Eclipse Scala IDE (and Intellij Idea, too) has, together with a standard REPL CLI, an artifact named Worksheet, that works like a persistent REPL log: the whole file is compiled and executed at ...
110
votes
14answers
18k views

How can I maintain code quality without SCM?

I am working in a governmental institution. The technology being used here and the methods for developing software are quite old fashioned. They have tons of storage space but no appropriate space ...
1
vote
2answers
1k views

How I can organise a project in more programming languages in Git repos? [closed]

At work I'm using Java, but I'm planning to study some other programming languages as Python or Clojure. I'm thinking of coding one project in Java in my Git repository and, during my study, coding ...
0
votes
1answer
51 views

Where to place Thrift generated code

I am working on a project that is using Thrift and as a result has auto generated code. Firstly, what are the pros and cons of placing this generated code in SCM vs not and insisting developers ...
1
vote
0answers
40 views

Structure to store resources in SCM repository

I have 3 artifacts for my application as below. One Jar file sql scripts Templates I need to bundle all 3 as part of a snapshot bamboo build that uploads them into a repository. Is there any known ...
11
votes
6answers
1k views

In git, how to do versioning for a dozen libraries all worked at in parallel

We are doing projects, but we reuse a lot of code between the projects and have lots of libraries that contain our common code. As we implement new projects we find more ways to factor out common code ...
4
votes
1answer
940 views

How can I split a repository that contains many projects which share the same build system?

I've been working on the past years on a research compiler suite, which builds several executables and libraries. It has a build system (namely bootstrapper) that looks into the ./src/bin directory ...
5
votes
1answer
253 views

What is the maximum number of steps to find a bug using bisecting?

Assume that a node A in the commit tree of a codebase contains a bug but some ancestor B of A is clean from that very bug. Given the topology of the commit tree [B,A] leading from B to A, can we ...
3
votes
2answers
2k views

One commit in two branches: what happened?

I work on a project using maven and svn. Today after a svn update, the maven build was failing on the svn trunk. When I looked in the svn logs, I saw something strange: a commit affecting two ...
1
vote
0answers
124 views

Managing interdependent project reference in solution file

Context for question I am working on a legacy product, that has multiple projects - Class libraries, websites, windows services, web services etc.. I have a single solution file that contains all ...
7
votes
3answers
2k views

Is it good to split big repository into smaller ones to have separate history/issue etc or keep it big? [duplicate]

We are currently porting our huge svn repo to git and we are thinking to export subdirectories of repository, each one containing source code of independent binaries, documentation or robot tests, ...
1
vote
1answer
111 views

How to avoid old commits/PRs that are painful to merge?

We have a pretty good code review process, but there are couple of issues. The most annoying problem is merging. From time to time the number of stuff to merge grows rapidly and some of the commits ...
2
votes
2answers
207 views

Should “tests” be kept out of the main merge pipeline?

We all know sometimes a e.g. merge can go wrong. If our [unit / integration] tests are in the same repository as the merge, is there then a weakness there that if the tests have merged incorrectly ...
0
votes
2answers
75 views

Finding out which version of a file a line was added/changed

Is it generally possible while using source code management to figure out in what version of a file a specific line was added? If so, what SCM systems support this?
1
vote
4answers
4k views

Branch per feature: What are the actual benefits (and risks)? [closed]

I've read quite a lot of posts lately about different branching strategies (e.g a lot of links from To branch or not to branch?), and while almost every article explains on how to do this or that ...
-2
votes
1answer
93 views

Managing deployment scripts in the process of continuous delivery

My question concerns deployment scripts in the process of continuous delivery. Continuous delivery recommends that deployment scripts should be versioned into SCM just as normal code. What is the ...
98
votes
10answers
7k views

What should I do when I've already waited too long between commits?

I was naughty... Too much "cowboy coding," not enough committing. Now, here I am with an enormous commit. Yes, I should have been committing all along, but it's too late now. What is better? Do one ...
2
votes
2answers
246 views

When did current source control management emerge? [duplicate]

The use of source control management tools is nowadays a standard practice in the software industry. Furthermore, it seems that there is quite a strong consensus (for deliverables) to have an ...
0
votes
1answer
80 views

Is it okay to check in changes to import statement on opensource projects on a commit? [duplicate]

There are some guidelines out there (eg scala guidelines) and I'm wondering if it's okay to do some tidying up when committing other changes or if the commits should be more focused and to the point? ...
20
votes
3answers
5k views

When was source control invented?

I'm aware of many version control systems: CVS, SVN, TFS etc... I've googled for the very first "revision control/version control system" and seen various conflicting answers. When was source ...
0
votes
2answers
413 views

Github Workflow: Pushing small fix branches to remote, or keep them local?

In Scott Chacon's workflow (explained eg in this SO answer), with essentially two silos (development, and master), if, say I have a small bug to fix (e.g. can be fixed with a few characters) is the ...
5
votes
3answers
284 views

Is a “model” branch a common practice?

I just thought it could be a good thing to have a dedicated version control branch for all database schema changes and I wanted to know if anyone else is doing the same and what have the results been. ...
0
votes
4answers
5k views

Searching in a repository

I'm very new to source control management and one thing puzzles me: is it possible to search through the whole repository for a string? For example I'm tracking one file, which has 100 commits and I ...
15
votes
5answers
11k views

Difference between DevOps and Software Configuration Management

What is the difference between Development Operations and Software Configuration Management? For me it seems to be the same as long as both DevOps and Software Configuration Management are focused on:...
83
votes
13answers
28k views

To branch or not to branch?

Till recently my development workflow was the following: Get the feature from product owner Make a branch (if feature is more than 1 day) Implement it in a branch Merge changes from main branch to my ...
5
votes
3answers
235 views

What are SCM tasks that could be performed on a mobile device?

Given an iPad, iPhone, Playbook, or other mobile device, what SCM tasks make sense on these devices. Code review? Change propagation between branches? Automated build results after check in? What ...