Questions tagged [version-control]
The version-control tag has no usage guidance.
124
questions
85
votes
12
answers
20k
views
What solutions exist to allow the use of revision control for server configuration files? [closed]
In an environment with multiple system administrators, I see a few advantages to adding the server config files into a revision control system. Most notable are the ability to track changes, who made ...
26
votes
12
answers
9k
views
Version control systems geared towards multimedia (large files)?
Are there any version control systems out there that are particularly good (or bad) at dealing with large files? Nothing too crazy, but from several hundred megabytes to a gigabyte, let's say.
We ...
20
votes
3
answers
60k
views
Git clone/pull across local network [closed]
I'm trying to clone/pull a repository in another PC using Ubuntu Quantal. I have done this on Windows before but I don't know what is the problem on ubuntu. I tried these:
git clone file:////pc-name/...
18
votes
3
answers
1k
views
How do you apply development practices like version control, testing and continuous integration/deployment to system administration?
Imagine you're going to manage a number of servers with a number of different services that's used by a number of people. Now say you want to reconfigure or replace some software on one of those ...
13
votes
6
answers
1k
views
Is there a etckeeper equivalent for Windows? AKA Windows config revision-control
I want to make a central config file repository so that I can have the changes to any config under revision control (Mercurial). This will include some GNU/Linux boxes (which will use etckeeper), the ...
13
votes
3
answers
964
views
What are possible drawbacks of an IIS 7 site having an NTFS junction as a web root?
I am trying to come up with a way to deploy ASP.NET code with as little site disturbance as possible. One thought was to set up the site to be served from an NTFS junction c:\www\example.com where
c:\...
11
votes
5
answers
5k
views
Is it possible to use etckeeper with a single shared git repository?
I noticed that several people have recommended using etckeeper to apply version control to my /etc directory.
It appears to me that the default install puts a repository on the same machine as the /...
11
votes
5
answers
3k
views
How to setup a central repository on a Windows 2008 server
I would like to setup a central Mecurial repository on a Windows 2008 server which only allows both push and pull access to certain users. This is to allow developers working remotely to push/pull ...
10
votes
5
answers
2k
views
Safe to have /.svn/ folders on live site? (How to remove them but retain svn update capability?)
I'm doing svn update to update the code for my php website, but it leaves .svn/ folders all over.
I think its dangerous to leave those files publically readable, but its very easy to update the ...
10
votes
7
answers
777
views
Making the move to source control
Ours is a fairly small company (3-4 programmers and 3-4 site designers) that develops a single-purpose PHP web app which provides
the functionality to about 100+ websites. We've operated for a couple ...
9
votes
1
answer
5k
views
Mixing Subversion "SVNParentPath" and per-repository configurations?
Given a typical Subversion/Apache configuration using SVNParentPath, with repositories hosted
under /svn/ like this:
<Location /svn>
DAV svn
SVNParentPath /srv/source/svn/repos
...
7
votes
9
answers
3k
views
Which Version Control Systems support LDAP/AD users and groups
Does anyone know which of the big players (if any) support LDAP/AD users and groups for authentication AND database permissions? Specifically, I'm wondering if SVN, GIT, Mercurial etc. will allow ...
6
votes
8
answers
285
views
Software Versioning Software [closed]
I am looking for a small software versioning (changelog) and bug submission system with a web-frontend.
The features I only need is a change-log where users can see what they can expect and a tiny bug-...
6
votes
1
answer
904
views
How does a web server/the http protocol handle version control and compression?
When a client browser requests a file from the web server, I know that some kind of check is performed, because the files needed to serve the web page may already be cached by the web browser. So, if ...
6
votes
3
answers
2k
views
How can I version control a mirrored upstream repository?
I manage many servers that span multiple environments (dev, qa, staging, and production). To help manage these, we have multiple repositories on a local webserver for our applications (e.g. app_1_el6, ...
6
votes
3
answers
3k
views
Best way to deploy/update web production code
What is the best method to deploy or update code from a development environment to a live production one?
I am used to using the good old filezila to first; delete then upload the new code to the ...
6
votes
7
answers
325
views
Text-file based document preparation system
I am looking for a system to prepare internal technical documents that has the following basic features:
source files should be human-readable text files, so they play well with revision control
...
5
votes
8
answers
3k
views
Where to safely store source code?
Our company already uses version control, and is already doing daily's backups.
However, it is my boss's concern to keep the source code somewhere "safe enough" in case of multi-robbery or some ...
5
votes
3
answers
3k
views
Any way to enable Amazon S3 Versioning for existing objects?
All the information that I have read on the AWS S3 Object Versioning specifically mentions this:
Objects stored in your bucket before you set the versioning state have a version ID of null. When ...
5
votes
1
answer
11k
views
Subversion - svnadmin dump remote url
I have Subversion repository that contains multiple projects, and now I'm trying to separate each project into it's own repository.
system:
# cat /etc/redhat-release
Red Hat Enterprise Linux ...
5
votes
2
answers
2k
views
Linux system configuration management: versioning and deployment
I'm looking for the best way (for my purposes and situation) to version system configuration files and manage deployment (ownership and mode) between just two machines (live and backup, both should be ...
5
votes
1
answer
10k
views
How to log in as a user in p4
I have an issue where users are trying to log in to their perforce account using p4 (not p4v), but it seems to start at a default account without permissions. When they try to logout with p4 logout, ...
5
votes
3
answers
9k
views
Migrate multiple svn repositories into single git repository
We want to migrate from svn to git permanently to be able to use git's better features in terms of branching and collaboration.
Our current svn repository looks like this
svnrepo/
frontend/
...
5
votes
1
answer
718
views
How do I enable ZIP/TAR/BZ2 Download Buttons in my Mercurial HGWEB?
I recently got Mercurial running on my server, shared via Apache. When I browse to the repos via the web, I see a list of my repositories with Atom/RSS links, but no download buttons.
My question is,...
5
votes
1
answer
117
views
Multi-user bzr server
I'm currently investigating whether it is possible to serve bzr in a setup similar to what gitolite does for git. This means a single unix account, with different users managed via their ssh public ...
5
votes
1
answer
1k
views
Should I keep my deployment settings in a separate repository?
I'm learning Salt Stack to deploy my Python application to various stages of production on AWS. Right now I have all my source code and salt states in one big repository.
Are there any practical or ...
4
votes
3
answers
1k
views
Where is hgweb.cgi in the Mac OS X deployment of Mercurial?
I'd like to serve a CGI-based Mercurial repository from my OS X machine, but I cannot for the life of me find the hgweb.cgi file, which I assume is step 1 of the process.
My Mercurial installation ...
4
votes
1
answer
22k
views
How can i check software version with Ansible?
I have three linux servers and i created the ansible inventory file:
[web]
192.168.0.155
192.168.0.165
192.168.0.175
And i have playbook.yml:
---
- hosts: web
tasks:
- name: Check drinks ...
4
votes
1
answer
330
views
How can we force a puppet manifest and module syntax check prior to version control check-in?
I am working on deploying version control for our puppet modules and manifests.
I want to enforce a workflow that requires a puppet module and manifest code check prior to a check-in of changes. This ...
4
votes
1
answer
2k
views
Version control of chef nodes and roles
Is it good practice to version control the nodes and roles when using chef? If so, what is a good way to do it?
It looks likes one should be able to take a tree of JSON files created using ...
4
votes
1
answer
7k
views
subversion post-commit hook: print an error message that the user can see?
I have a Subversion repository created with Subversion 1.6.x.
This repository has a post-commit hook, which performs an action every time a user checks in the file.
Sometimes this post-commit hook ...
4
votes
1
answer
822
views
How to tell Mercurial to never create hard links
I am planning to use Mercurial in the near future on some projects. These projects will normally reside in a directory on my Windows machine, but I will be sharing these directories using VirtualBox ...
4
votes
3
answers
699
views
Version Control and Backup, which combination?
I'm a sole developer and I have 3 computers. Plus a friend of mine has an account, but never uses it. My current setup is GIT + my own ad hoc backup job that clones the repository, zips it, gnupg it, ...
4
votes
3
answers
4k
views
How does VisualSVN store passwords?
We are running a VisualSVN Server that needs ~300 users to be created. As the need to mass create users is likely to reoccur, I'd prefer not to task someone with data entry for account creation. I've ...
4
votes
4
answers
2k
views
Tools for managing code deployment/versioning for IIS / Windows enviroments
Ive got a strong background in Linux and OSX, and just left a job where I was architecting systems based on those platforms.
Now I've got a Windows Server running IIS that has a number of different ...
4
votes
2
answers
2k
views
Does Group Policy detect installed version before downloading an MSI from network
I used group policy to deploy an Adobe Reader X .msi file, which successfully updated the machines it was targeted to.
The computer group those machines belong to still has a link to the GPO which ...
3
votes
1
answer
814
views
Can you use Git to track changes to VirtualBox disk?
Can you track changes to a VirtualBox disk using a VCS like Git? If not what is a good way to use version control to track changes while configuring virtual servers.
**I understand that git doesn't ...
3
votes
4
answers
202
views
I want to version control my entire slice
I'm renting a slice (i.e., a VPS) from Slicehost. I've a spent a day or two filling up /usr with my favorite packages, /etc with configs and init scripts, and so on. Now I want to:
save this whole ...
3
votes
2
answers
1k
views
Is there a way to add all files and directories that are unversioned to SVN repository?
Is there a way to perform an svn add command that will add only unversioned files?
Currently if I try to do svn add on a direcotry that contains a mix of versioned and unversioned files I receive the ...
3
votes
5
answers
242
views
All In One Version Control - Debian
I'm currently setting up a SVN repro for personal use. Normally on Debian that'd be svnserve, trac, maybe Apache... and that's three apps to take care of. Most stuff requires an Apache, but I use a ...
3
votes
3
answers
6k
views
Subversion cluster / replication / HA
What's a good way of making SVN highly available?
We take backups of our Subversion server, but this is not enough, as svn is very important.
We would like to implement some HA mechanmism for ...
3
votes
2
answers
3k
views
Git-style incremental backup with rsync
I'm trying to setup a backup script on Ubuntu. Every day I want to copy my local source directory to a backup directory on a remote server uniquely named with the date. (e.g., backup-jan1/, backup-...
3
votes
1
answer
412
views
Storing saltstack server configs in version control
I currently have a few servers that are managed by saltstack, every now and then saltstack fails to deploy the new configs because of an issue somewhere and it can take a while to work out what ...
3
votes
2
answers
233
views
Puppet dynamic environments and version control [closed]
I'm looking to roll out environments for a puppet installation and wanting to get things square with version control. Before I went to implement what seemed natural in my mind I decided to do some ...
3
votes
1
answer
2k
views
svn server settings - no access allowed
Sorry for the beginner question. I am trying to set up a SVN server for the first time.
I have the server running but every time I try to checkout I get an error:
No access allowed to this ...
2
votes
6
answers
489
views
Choosing a File server
We are a small team of software developers - 7 programmers. We need to set up an inexpensive file server in our office. It's main purpose will be to run our Source Control System (VSS).
Any ...
2
votes
2
answers
40k
views
How do I get the Active Directory user ID?
Firstly, I don't even know whether the "user ID" is the correct term here.
The context is that I'm using VisualSVN Server to manage / administer access rights on my SVN repositories with Windows ...
2
votes
4
answers
5k
views
Debian or CentOS for VPS?
I'm in need for a VPS. My current hosting provider is able to provide with very cheap two options - CentOS and Debian.
I don't expect a high traffic there, it is only so I can host my SVN repos (and ...
2
votes
1
answer
147
views
I was just curious how far system admins go in setting up the workflows for the developers
Question:
I am looking for links or personal accounts of lessons & experiences on setting up sets of servers\systems for developers. In particular I am interested in the amount of automation and ...
2
votes
1
answer
10k
views
How to add versioning support to Azure File Storage
I have a client using Azure file storage (v1) to host some binary files (images, pdfs, etc) for a web app. I'd like to add versioning support in case files get deleted or overwritten, kind of like AWS ...