project management and subversion

View: New views
4 Messages — Rating Filter:   Alert me  

project management and subversion

by Chris Ness :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First of all would like to congratulate the company on an excellent
product.

Right...

at work I have 2 monitors and have Wing split into two windows. one all
tools, the other the editor. So the .wpr and python project files are
under subversion. Fair enough. But when I got home and checked out the
project I was presented with the same window layout as at work, which
was no damn use for my single monitor!

I also ran into some issues regarding project settings when moving
between platforms (win32/linux)

I have discovered that projects can be put into shared (.wpr and .wpu)
mode, but am unsure how to proceed.

What I'd like is something like the way Visual Studio does things. One
project file and a user file for every machine I work on.

Or should I remove .wpu from source control and maintain them manually
in my working copy? but working copies get torn down occasionally.

Can .wpu and .wpr reside in different places?

can I rename the .wpu?

is there a subversion trick I could use that pulls out a
location/platform dependant file but renames it?

All ideas welcome!

chris

PS I lost all my project items (project tool empty) when switched to
'shared project'. Is this normal?
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: project management and subversion

by Vania Smrkovski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you use Tortoise for UI integration (assuming you're using Windows, here), there should be an option in your drop down list to ignore your .wpu. 

I'm at work (no svn here), so I can't dig up exactly which feature it is, but this is what I did on my project.  Subversion ignores it, archiving only the remaining files, so your two systems will have independent IDE arrangements.

____________________________________
Vania

http://picasaweb.google.com/vania.smirk

Life is like a sewer. What you get out of it depends on what you put into it. --Tom Lehrer

On Fri, Jul 11, 2008 at 6:09 AM, Chris Ness <cness@...> wrote:
First of all would like to congratulate the company on an excellent product.

Right...

at work I have 2 monitors and have Wing split into two windows. one all tools, the other the editor. So the .wpr and python project files are under subversion. Fair enough. But when I got home and checked out the project I was presented with the same window layout as at work, which was no damn use for my single monitor!

I also ran into some issues regarding project settings when moving between platforms (win32/linux)

I have discovered that projects can be put into shared (.wpr and .wpu) mode, but am unsure how to proceed.

What I'd like is something like the way Visual Studio does things. One project file and a user file for every machine I work on.

Or should I remove .wpu from source control and maintain them manually in my working copy? but working copies get torn down occasionally.

Can .wpu and .wpr reside in different places?

can I rename the .wpu?

is there a subversion trick I could use that pulls out a location/platform dependant file but renames it?

All ideas welcome!

chris

PS I lost all my project items (project tool empty) when switched to 'shared project'. Is this normal?
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide


_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: project management and subversion

by Michael Foord-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Vania Smrkovski wrote:
> If you use Tortoise for UI integration (assuming you're using Windows,
> here), there should be an option in your drop down list to ignore your
> .wpu.
>
> I'm at work (no svn here), so I can't dig up exactly which feature it
> is, but this is what I did on my project.  Subversion ignores it,
> archiving only the remaining files, so your two systems will have
> independent IDE arrangements.
>

Yep - this is what I do. Remove the 'wpu' from version control and then
set it to ignored. You'll have to do this in two different checkins I think.

Michael

> ____________________________________
> Vania
>
> http://picasaweb.google.com/vania.smirk
>
> Life is like a sewer. What you get out of it depends on what you put
> into it. --Tom Lehrer
>
> On Fri, Jul 11, 2008 at 6:09 AM, Chris Ness <cness@...
> <mailto:cness@...>> wrote:
>
>     First of all would like to congratulate the company on an
>     excellent product.
>
>     Right...
>
>     at work I have 2 monitors and have Wing split into two windows.
>     one all tools, the other the editor. So the .wpr and python
>     project files are under subversion. Fair enough. But when I got
>     home and checked out the project I was presented with the same
>     window layout as at work, which was no damn use for my single monitor!
>
>     I also ran into some issues regarding project settings when moving
>     between platforms (win32/linux)
>
>     I have discovered that projects can be put into shared (.wpr and
>     .wpu) mode, but am unsure how to proceed.
>
>     What I'd like is something like the way Visual Studio does things.
>     One project file and a user file for every machine I work on.
>
>     Or should I remove .wpu from source control and maintain them
>     manually in my working copy? but working copies get torn down
>     occasionally.
>
>     Can .wpu and .wpr reside in different places?
>
>     can I rename the .wpu?
>
>     is there a subversion trick I could use that pulls out a
>     location/platform dependant file but renames it?
>
>     All ideas welcome!
>
>     chris
>
>     PS I lost all my project items (project tool empty) when switched
>     to 'shared project'. Is this normal?
>     _________________________________________________
>     Wing IDE users list
>     http://wingware.com/lists/wingide
>
>
> ------------------------------------------------------------------------
>
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: project management and subversion

by Wingware Support :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Ness wrote:

> I have discovered that projects can be put into shared (.wpr and .wpu)
> mode, but am unsure how to proceed.
>
> What I'd like is something like the way Visual Studio does things. One
> project file and a user file for every machine I work on.
>
> Or should I remove .wpu from source control and maintain them manually
> in my working copy? but working copies get torn down occasionally.
>
> Can .wpu and .wpr reside in different places?

They need to reside next to each other on disk.  You'll want to remove
the .wpu file from source control so there's just a local copy on each
machine.  Before doing so, you may want to back up the file if the
removal from source control is also going to remove the local copy.

> can I rename the .wpu?

No, it needs to be named as is and in the location it's at (next to
the .wpr).

> is there a subversion trick I could use that pulls out a
> location/platform dependant file but renames it?

Possibly, but in general I'd recommend simply not checking in the
.wpu file.  That's what I do here where I have a gazillion copies
of the Wing sources and other things on different machines and
different branches checked out.

However, the idea of checking in uniquely named files isn't bad,
so I'll keep that in mind as a possible future enhancement.
Thanks for the implicit suggestion!

> PS I lost all my project items (project tool empty) when switched to
> 'shared project'. Is this normal?\

No, it should not have lost anything, just saved to both .wpr and .wpu
on the next save.  It may be too late due to log truncation but in
general when something like that goes wrong, please submit a bug
report from Wing's Help menu and leave the "include error log" box
checked.

Thanks,

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide
LightInTheBox - Buy quality products at wholesale price