reverse mapping from remote source to local source

Here you can post feature requests for WinGDB.

reverse mapping from remote source to local source

Postby ansmehta » Sat Dec 12, 2009 12:09 pm

Hi

Currently what remote file mapping does is, if my local source is changed and I save it, changes are also saved in the corresponding remote file.
I would like that if the remote file is changed( for eg when I do "cvs update" to update my code to what is present in the repository )then corresponding changes are also made in local copy. This way I don't have to create my visual studio project again and again when I update my code from cvs. Hope I have made my point clear..

Anshul
ansmehta
 
Posts: 30
Joined: Wed Jul 29, 2009 6:08 am

Re: reverse mapping from remote source to local source

Postby dks » Sat Dec 12, 2009 2:24 pm

Hi,

I've stored you request as issue #210.

Unfortunately it is rather hard to detect changes on remote host - we would have to still check timestamps (it would influence performance) or write an application working on Linux which would monitor such changes.

We will rather provide an option to explicitly synchronize directories. Just my 3 cents now, but we will think such feature over more thoroughly.

By the way can you write something more about how does look your developer-environment considering projects - I mean do you have projects in Visual Studio (vcprojs) and is there corresponding makefile for each vcproj, do you use source control (cvs) on both machines (local windows and remote unix machine), do you work mainly in VStudio (edition of source code, adding files to projects) or on remote machine (with use of e.g. vim ;)).

I'm conscious this may be data company doesn't like to share, but if you can answer at least one of these questions then you can always write to wingdb@wingdb.com or as private message on this forum 8-)

dks
dks
 
Posts: 199
Joined: Mon Apr 07, 2008 11:13 pm

Re: reverse mapping from remote source to local source

Postby ansmehta » Mon Dec 14, 2009 4:20 pm

dks wrote:We will rather provide an option to explicitly synchronize directories. Just my 3 cents now, but we will think such feature over more thoroughly.
dks


Anshul : Yes, i thing this kind of utility will solve my problem.

dks wrote:By the way can you write something more about how does look your developer-environment considering projects - I mean do you have projects in Visual Studio (vcprojs) and is there corresponding makefile for each vcproj, do you use source control (cvs) on both machines (local windows and remote unix machine), do you work mainly in VStudio (edition of source code, adding files to projects) or on remote machine (with use of e.g. vim ;))
dks


Anshul : The way things work on my side are: I have all my code and makefiles in linux box. I make a copy of all these in my local machine.Thereafter i use the remote file mapping utility. Now a create a new project in visual studio and add the local copies i made to the project. I use remote build to specify the makefile and build my project. I don't make any use of vcproj formed.I work in visual studio for editing the source code.But in case i have to add new files, I first create empty file in remote machine then make copy of it in local machine then add it to my visual studio project and then proceed to edit(write code in it) using visual studio editor only.

Regards
Anshul
ansmehta
 
Posts: 30
Joined: Wed Jul 29, 2009 6:08 am

Re: reverse mapping from remote source to local source

Postby dks » Mon Dec 14, 2009 4:30 pm

OK, thanks for that info. Now I see that in your scenario such synchronization would be really useful feature.

Meantime we work on synchronization files 'machinery' for other feature (in fact this is synchronization from local to remote host), but after some little changes it will be applicable for scenario remote->local too. IMHO this feature will be available in v1.2 or at the latest in v1.3.

Regards,
dks
dks
 
Posts: 199
Joined: Mon Apr 07, 2008 11:13 pm

Re: reverse mapping from remote source to local source

Postby ansmehta » Tue Dec 15, 2009 7:55 pm

Thanks ! Will be waiting for it.. :)
ansmehta
 
Posts: 30
Joined: Wed Jul 29, 2009 6:08 am


Return to Feature requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron