473,546 Members | 2,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to work for web.config with Subversion?

8 New Member
Hi,

We would like to have a file that users will have on their machine
(web.config) that should be different than the master copy under source
control. Basically, that file specifies which database to connect to,
and users want to be able to connect to other databases. However, in
the "master" copy, we need to connect to a specific database every time.

I thought that using "svn:ignore " would do the trick, but it only works
for files. Also, in theory, that would make it difficult to actually
change the file if we wanted to.

Goals:
------
- Be able to simply get the source files and be able to run the system.
- Not prone to user error

Cheers,
Samnang
Jan 9 '08 #1
1 2385
RedSon
5,000 Recognized Expert Expert
Hi,

We would like to have a file that users will have on their machine
(web.config) that should be different than the master copy under source
control. Basically, that file specifies which database to connect to,
and users want to be able to connect to other databases. However, in
the "master" copy, we need to connect to a specific database every time.

I thought that using "svn:ignore " would do the trick, but it only works
for files. Also, in theory, that would make it difficult to actually
change the file if we wanted to.

Goals:
------
- Be able to simply get the source files and be able to run the system.
- Not prone to user error

Cheers,
Samnang
svn:ignore only works for files that are not already being versioned. Just tell you users to not commit changes to their local web.config copy, then each user can have a different web.config. It doesn't seem that difficult. If you don't want people to be able to touch the master web.config you can try locking it but since others can force open the lock, you can protect it using normal apache permissions.
Jan 10 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2043
by: Reimar Bauer | last post by:
Dear all is there already a method available to use subversion from PHP? I would like to use subversion to store different versions of our formdata. regards Reimar
0
1381
by: Eric Mathew Hopper | last post by:
I have a patch that allows pydoc to deal with Subversion (http://www.subversion.tigris.org) style version strings. Subversion does not do '$Revsion: num$' style tags. The closest it will get is '$Rev: num$'. So, I included a check for that type as well. It's a patch to this version of pydoc.py __version__ = "$Revision: 1.86.8.1 $"
5
1981
by: Tom Locke | last post by:
Hi, Anyone know of a good hosting company that offers both server-side Python and a subversion repository? I know of one: www.textdrive.com - they're a bit pricey, but I s'pose you gets what you pays for - they look good. Just FYI - right now I'm with sapphiresoft.co.uk. They're cheap and in my brief experience have been pretty good at...
3
1104
by: Dexter | last post by:
Hello all, i'm developing a web project with Visual Studio.net, and now, i need that many peoples work in a unique web project. I have a web server with all source codes running with IIS 5.0, and i want that all peoples use this web server. How i can to work of this way? Thanks
3
3193
by: patkinson | last post by:
Hello, I am one of those guys trying with no chance to get a working copy of TRAC for python 2.5 http://trac.edgewall.org/ is a superb Project managment tool with a wiki, control version (SVN), and a tracking bug/task system. This is a suposed place to go for a windows user: http://trac.edgewall.org/wiki/TracOnWindows/Python2.5
3
2069
by: Jim Tittsler | last post by:
Is there a standard recipe for getting the subversion revision number into my Python-based application each time I package it up with distutils? (Not just the package name, but also a string that I will display in my app's "About" dialog.)
0
795
by: Samnang | last post by:
Hi, We would like to have a file that users will have on their machine (web.config) that should be different than the master copy under source control. Basically, that file specifies which database to connect to, and users want to be able to connect to other databases. However, in the "master" copy, we need to connect to a specific database...
3
6095
by: Mike B | last post by:
I'm trying to get Subversion 'hook scripts' working on an Ubuntu box and the following fails. from svn import fs, repos, core, delta As far as I can tell there are two Python Subversion libraries, 'pysvn' and 'svn': 'pysvn' from http://pysvn.tigris.org/ appears to be a client side interface and isn't what I need. 'svn' appears to be a...
9
5990
by: =?windows-1252?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
I’ve been using Subversion for a while to maintain the PHP web apps and sites I develop in my Windows box. But when I want to publish a new release I update the live site manually and I want to improve this process. I can’t simply export to a fresh directory and upload all files because that won’t handle renames and deletions (and the upload...
0
6599
nathj
by: nathj | last post by:
Hi, While I know this is not strictly a Java issue I thought this would be the place to post as I know a lot of Java developers use Eclipse and most likely use SVN and Subclipse. First up here's the error message I receive: RA layer request failed svn: Server sent unexpected return value (403 Forbidden) in response to OPTIONS request...
0
7504
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7435
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7461
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7792
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5360
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.