[BangPypers] remote ip change

2011-06-22 Thread Nitin Kumar
Hi All, I want to change the IP of remote server. I can do it manually using control panel. But i need to do that in a script. So is there any simple API in python which can be used for the same? -- Nitin K ___ BangPypers mailing list

Re: [BangPypers] remote ip change

2011-06-22 Thread Noufal Ibrahim
Nitin Kumar nitin.n...@gmail.com writes: Hi All, I want to change the IP of remote server. I can do it manually using control panel. But i need to do that in a script. So is there any simple API in python which can be used for the same? You should be able to ssh into the machine and use

Re: [BangPypers] remote ip change

2011-06-22 Thread Sriram Narayanan
If you _want_ to involve python, then take a look at func. With Func, changing the machine IP is just one of the many sysadmin tasks you'll be able to perform. -- Ram On 6/22/11, Noufal Ibrahim nou...@gmail.com wrote: Nitin Kumar nitin.n...@gmail.com writes: Hi All, I want to change the IP

[BangPypers] python SVN delete functionality

2011-06-22 Thread Shashidhar P
Dear Python developers I want to achieve svn delete functionality using python v2.3.5 I have repository and working copy I do checkin and checkout If end user deletes some files from working copy MANUALLY not using SVN delete, I need to comapare working copy and

Re: [BangPypers] remote ip change

2011-06-22 Thread Noufal Ibrahim
Sriram Narayanan sriram...@gmail.com writes: If you _want_ to involve python, then take a look at func. With Func, changing the machine IP is just one of the many sysadmin tasks you'll be able to perform. Do you have a URL Sriram? It sounds useful. [...] -- ~noufal http://nibrahim.net.in

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread Kenneth Gonsalves
On Wed, 2011-06-22 at 17:19 +0530, Shashidhar P wrote: If end user deletes some files from working copy MANUALLY not using SVN delete, I need to comapare working copy and repository before checkin and make sure that files which are deleted manually from working copy should be

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread Shashidhar P
Hello Kenneth, I want to check all the files from working copy to repository if files are missing from working copy and found in repository I need to delete them. Ya SVN Status gives me files added, removed, I mentioned user deletes files manually not using SVN delete. how

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread Kenneth Gonsalves
On Wed, 2011-06-22 at 17:45 +0530, Shashidhar P wrote: I want to check all the files from working copy to repository if files are missing from working copy and found in repository I need to delete them. Ya SVN Status gives me files added, removed, I mentioned user deletes files

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread Baiju M
On Wed, Jun 22, 2011 at 5:45 PM, Shashidhar P shashidha...@gmail.com wrote: Hello Kenneth,           I want to check all the files from working copy to repository if files are missing from working copy and found in repository I need to delete them.           Ya SVN Status gives me files

Re: [BangPypers] remote ip change

2011-06-22 Thread Sriram Narayanan
On Wed, Jun 22, 2011 at 5:19 PM, Noufal Ibrahim nou...@gmail.com wrote: Sriram Narayanan sriram...@gmail.com writes: If you _want_ to involve python, then take a look at func. With Func, changing the machine IP is just one of the many sysadmin tasks you'll be able to perform. Do you have a

Re: [BangPypers] remote ip change

2011-06-22 Thread Baishampayan Ghose
If you _want_ to involve python, then take a look at func. With Func, changing the machine IP is just one of the many sysadmin tasks you'll be able to perform. Do you have a URL Sriram? It sounds useful. https://fedorahosted.org/func/ Seems to be similar to Fabric [http://fabfile.org] but

Re: [BangPypers] remote ip change

2011-06-22 Thread Sriram Narayanan
On Wed, Jun 22, 2011 at 6:57 PM, Baishampayan Ghose b.gh...@gmail.com wrote: If you _want_ to involve python, then take a look at func. With Func, changing the machine IP is just one of the many sysadmin tasks you'll be able to perform. Do you have a URL Sriram? It sounds useful.

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread Sriram Narayanan
There's also the python API to SVN which let's you d a lot of stuff. -- Sriram On 6/22/11, Shashidhar P shashidha...@gmail.com wrote: Dear Python developers I want to achieve svn delete functionality using python v2.3.5 I have repository and working copy I do checkin

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread Noufal Ibrahim
Sriram Narayanan sriram...@gmail.com writes: There's also the python API to SVN which let's you d a lot of stuff. [...] The last time I checked (and it was a long time ago), it needed physical access to the repository file system (not just the checkout) to be able to do anything. That makes it

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread briji...@gmail.com
@Shashidhar * * You mean the *svn delete* must work when you *svn update?. *Yes we can do it. but its a tricky way. What I suggest is to create a shell/python script named *svn *and put in higher path hierarchy (for example /usr/local/bin). In side the script you code like if its ran