Questions tagged [configuration-management]

Configuration management (CM) is a systems engineering process for establishing and maintaining consistency of a product's performance, functional and physical attributes with its requirements, design and operational information throughout its life.

106 questions
85
votes
7 answers

How bad of an idea is it to use Python files as configuration files?

I've always used JSON files for configuration of my applications. I started using them from when I coded a lot of Java, and now I'm working mainly on server-side and data science Python development and am not sure if JSON is the right way to go any…
52
votes
7 answers

What is the preferred way to store application configurations?

Most of the time, I store development application config in root directory of the project, like this: app |-- config.json But that doesn't seem to be the best approach, since this config ends up being stored in version control system - possibly…
Rogach
  • 719
  • 1
  • 6
  • 7
47
votes
22 answers

What are some good practices before checking in source code?

My team uses Team Foundation Server for source control, and today I fixed some bugs and smoke test application before I checked it in but I forgot to comment some code. (This code made the UI a little bit strange.) I want to know what good practices…
35
votes
9 answers

Version control and personal configuration file

Our project uses a user-specific configuration file. This file is currently not in version control, since it is different for each user. The problem is, whenever a developer adds a new module that requires configuration, or changes the name of an…
Erel Segal-Halevi
  • 864
  • 1
  • 8
  • 13
32
votes
5 answers

Bad practice - switch case to set environment

In the last three years that I have worked as developer, I have seen a lot of examples where people use a switch statement to set the path (both in back-end and front-end) for a URL. Below is an example of this: Back-end example (C#): public static…
21
votes
10 answers

How do you update live web sites with code changes?

I know this is a very basic question. If someone could humor me and tell me how they would handle this, I'd be greatful. I decided to post this because I am about to install SynchToy to remedy the issue below, and I feel a bit unprofessional using…
21
votes
2 answers

How do you manage config with dependency injection?

I am a big fan of DI/IOC. It is great for handling/abstracting away hard dependencies, and makes life a little easier. However I have a small gripe with it, which I am not sure how to solve. The basic idea in DI/IOC is that when an object is…
19
votes
6 answers

INI files or Registry or personal files?

I want to save the configuration of my project which includes Screen size Screen position Folder paths Users settings and so on. The standard places where you can save these are configuration values are: Registry INI files Personal files (like…
Shirish11
  • 1,469
  • 10
  • 22
16
votes
2 answers

Mercurial Repository structure with heavyweight corporate comms, configuration management & test requirements

I am yet another Subversion user struggling to re-educate myself in the Tao of distributed version control. When using Subversion, I was a big fan of the project-minor approach, and, with most of my former employers, we would structure our…
15
votes
2 answers

Managing private NPM packages and CI/CD

At work, we have an application that is run directly on dev machines, but deployed in Docker swarms (a QA swarm and production swarm). The code and CI/CD pipelines are all in GitLab CE. It uses several private, internal NPM packages. We refer to…
15
votes
5 answers

Best practices for handling large number of structured configuration/property files

Imagine a system that has a large number of servers. Each of them has a number of settings: Some specific to the server Some specific to the region Some common across all of them Maybe you can have some custom groupings, like this group of servers…
SDekov
  • 189
  • 1
  • 8
13
votes
2 answers

Big project layout : adding new feature on multiple sub-projects

I want to know how to manage a big project with many components with version control management system. In my current project there are 4 major parts. Web Server Admin console Platform. The web and server part uses 2 libraries that I wrote. In…
13
votes
3 answers

User Configuration of a Shell Script. Best practices?

I am writing a shell script with a few variables that should be configured by the user. There will be an installer for downloading and configuring the script, possibly by asking a series of question. The script in question is aimed at other…
12
votes
6 answers

When does Continuous Integration add value?

Possible Duplicate: How many developers before continuous integration becomes effective? When does continuous integration (such as CruiseControl) add value to a project? Do factors such as Number of Unit Tests How often changes are made Branch…
C. Ross
  • 2,926
  • 2
  • 26
  • 42
11
votes
6 answers

Code ownership with multiple Scrum teams

If two Scrum teams use the same software component, who is responsible for providing a clear architectural vision of that component and maintain/develop this vision as the code base evolves? In Scrum you are supposed to have a collective code…
Eugene
  • 1,943
  • 1
  • 21
  • 35
1
2 3 4 5 6 7 8