Syncing server with local directory

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

Syncing server with local directory

by Ian Smith-23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings list-mates,

I have just started collaborating on a website with a friend (based in another country), and was wondering if it's possible to integrate Quanta with Rsync.

I guess, given the amazing configurability of Quanta, the short answer is probably yes, but has anyone actually done it, and if so, can advise me? I just hate the idea of re-inventing the wheel.

It's strange; I would have thought this would be a common need, but I've been googling around for an hour or so with little to show for it.

Cheers,

Ian





_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Kees Epema :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ian,
I don t know if Quanta works with rsync, however in the case you described, CVS (Cervisia) has the right specs to answer your needs. Cervisia is integrated in Quanta.
Regards, Kees

2009/10/13 Ian Smith <iansamit@...>
Greetings list-mates,

I have just started collaborating on a website with a friend (based in another country), and was wondering if it's possible to integrate Quanta with Rsync.

I guess, given the amazing configurability of Quanta, the short answer is probably yes, but has anyone actually done it, and if so, can advise me? I just hate the idea of re-inventing the wheel.

It's strange; I would have thought this would be a common need, but I've been googling around for an hour or so with little to show for it.

Cheers,

Ian





_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta



_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Billie Erin Walsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Not if your using KDE 4.x. Quanta can't find it.

Kees Epema wrote:

> Hi Ian,
> I don t know if Quanta works with rsync, however in the case you
> described, CVS (Cervisia) has the right specs to answer your needs.
> Cervisia is integrated in Quanta.
> Regards, Kees
>
> 2009/10/13 Ian Smith <iansamit@... <mailto:iansamit@...>>
>
>     Greetings list-mates,
>
>     I have just started collaborating on a website with a friend
>     (based in another country), and was wondering if it's possible to
>     integrate Quanta with Rsync.
>
>     I guess, given the amazing configurability of Quanta, the short
>     answer is probably yes, but has anyone actually done it, and if
>     so, can advise me? I just hate the idea of re-inventing the wheel.
>
>     It's strange; I would have thought this would be a common need,
>     but I've been googling around for an hour or so with little to
>     show for it.
>
>     Cheers,
>
>     Ian
>
>
>
>
>
>     _______________________________________________
>     Quanta mailing list
>     Quanta@... <mailto:Quanta@...>
>     https://mail.kde.org/mailman/listinfo/quanta
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Quanta mailing list
> Quanta@...
> https://mail.kde.org/mailman/listinfo/quanta
>  


--
Treat all stressful situations like a dog does.
If you can't eat it or play with it,
just pee on it and walk away

Sent with Thunderbird on my Kubuntu Linux Desktop

_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Kees Epema :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

apt-get install cervisia should do it though...

Regards Kees

2009/10/13 Billie Erin Walsh <bilwalsh@...>
Not if your using KDE 4.x. Quanta can't find it.

Kees Epema wrote:
> Hi Ian,
> I don t know if Quanta works with rsync, however in the case you
> described, CVS (Cervisia) has the right specs to answer your needs.
> Cervisia is integrated in Quanta.
> Regards, Kees
>
> 2009/10/13 Ian Smith <iansamit@... <mailto:iansamit@...>>
>
>     Greetings list-mates,
>
>     I have just started collaborating on a website with a friend
>     (based in another country), and was wondering if it's possible to
>     integrate Quanta with Rsync.
>
>     I guess, given the amazing configurability of Quanta, the short
>     answer is probably yes, but has anyone actually done it, and if
>     so, can advise me? I just hate the idea of re-inventing the wheel.
>
>     It's strange; I would have thought this would be a common need,
>     but I've been googling around for an hour or so with little to
>     show for it.
>
>     Cheers,
>
>     Ian
>
>
>
>
>
>     _______________________________________________
>     Quanta mailing list
>     Quanta@... <mailto:Quanta@...>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Quanta mailing list
> Quanta@...
> https://mail.kde.org/mailman/listinfo/quanta
>


--
Treat all stressful situations like a dog does.
If you can't eat it or play with it,
just pee on it and walk away

Sent with Thunderbird on my Kubuntu Linux Desktop

_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta


_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Billie Erin Walsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cervisia is installed. I can run it from the KDE menu just fine.

But Quanta says
"The CVS Management (Cervisia) plugin could not be loaded.
Possible reasons are:
- CVS Management (Cervisia) is not installed;
- the file kde3/libcervisiapart.la is not installed or it is not reachable."

Kees Epema wrote:

> apt-get install cervisia should do it though...
>
> Regards Kees
>
> 2009/10/13 Billie Erin Walsh <bilwalsh@...
> <mailto:bilwalsh@...>>
>
>     Not if your using KDE 4.x. Quanta can't find it.
>
>     Kees Epema wrote:
>     > Hi Ian,
>     > I don t know if Quanta works with rsync, however in the case you
>     > described, CVS (Cervisia) has the right specs to answer your needs.
>     > Cervisia is integrated in Quanta.
>     > Regards, Kees
>     >
>     > 2009/10/13 Ian Smith <iansamit@...
>     <mailto:iansamit@...> <mailto:iansamit@...
>     <mailto:iansamit@...>>>
>     >
>     >     Greetings list-mates,
>     >
>     >     I have just started collaborating on a website with a friend
>     >     (based in another country), and was wondering if it's
>     possible to
>     >     integrate Quanta with Rsync.
>     >
>     >     I guess, given the amazing configurability of Quanta, the short
>     >     answer is probably yes, but has anyone actually done it, and if
>     >     so, can advise me? I just hate the idea of re-inventing the
>     wheel.
>     >
>     >     It's strange; I would have thought this would be a common need,
>     >     but I've been googling around for an hour or so with little to
>     >     show for it.
>     >
>     >     Cheers,
>     >
>     >     Ian
>     >
>     >
>     >
>     >
>     >
>     >     _______________________________________________
>     >     Quanta mailing list
>     >     Quanta@... <mailto:Quanta@...>
>     <mailto:Quanta@... <mailto:Quanta@...>>
>     >     https://mail.kde.org/mailman/listinfo/quanta
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Quanta mailing list
>     > Quanta@... <mailto:Quanta@...>
>     > https://mail.kde.org/mailman/listinfo/quanta
>     >
>
>
>     --
>     Treat all stressful situations like a dog does.
>     If you can't eat it or play with it,
>     just pee on it and walk away
>
>     Sent with Thunderbird on my Kubuntu Linux Desktop
>
>     _______________________________________________
>     Quanta mailing list
>     Quanta@... <mailto:Quanta@...>
>     https://mail.kde.org/mailman/listinfo/quanta
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Quanta mailing list
> Quanta@...
> https://mail.kde.org/mailman/listinfo/quanta
>  


--
Treat all stressful situations like a dog does.
If you can't eat it or play with it,
just pee on it and walk away

Sent with Thunderbird on my Kubuntu Linux Desktop

_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Bugzilla from james.ellis@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi


Version control is a good solution for the problem at hand. I'd suggest though avoiding CVS as it's, let's say 'antiquated' ?


The improved work flows & team development scenarios provided by better version control systems like Bazaar, Git and even Subversion leave CVS dead in the water.


HTH

James



On Wed, Oct 14, 2009 at 6:48 AM, Billie Erin Walsh <bilwalsh@...> wrote:
Cervisia is installed. I can run it from the KDE menu just fine.

But Quanta says
"The CVS Management (Cervisia) plugin could not be loaded.
Possible reasons are:
- CVS Management (Cervisia) is not installed;
- the file kde3/libcervisiapart.la is not installed or it is not reachable."

Kees Epema wrote:
> apt-get install cervisia should do it though...
>
> Regards Kees
>
> 2009/10/13 Billie Erin Walsh <bilwalsh@...
> <mailto:bilwalsh@...>>
>
>     Not if your using KDE 4.x. Quanta can't find it.
>
>     Kees Epema wrote:
>     > Hi Ian,
>     > I don t know if Quanta works with rsync, however in the case you
>     > described, CVS (Cervisia) has the right specs to answer your needs.
>     > Cervisia is integrated in Quanta.
>     > Regards, Kees
>     >
>     > 2009/10/13 Ian Smith <iansamit@...
>     <mailto:iansamit@...> <mailto:iansamit@...
>     <mailto:iansamit@...>>>
>     >
>     >     Greetings list-mates,
>     >
>     >     I have just started collaborating on a website with a friend
>     >     (based in another country), and was wondering if it's
>     possible to
>     >     integrate Quanta with Rsync.
>     >
>     >     I guess, given the amazing configurability of Quanta, the short
>     >     answer is probably yes, but has anyone actually done it, and if
>     >     so, can advise me? I just hate the idea of re-inventing the
>     wheel.
>     >
>     >     It's strange; I would have thought this would be a common need,
>     >     but I've been googling around for an hour or so with little to
>     >     show for it.
>     >
>     >     Cheers,
>     >
>     >     Ian

_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Bugzilla from niko.sams@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 13, 2009 at 21:48, Billie Erin Walsh <bilwalsh@...> wrote:
> Cervisia is installed. I can run it from the KDE menu just fine.
for integration into Quanta3 you need the kde3 version of cervisia.

Niko
_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Ian Smith-23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks to all for the speedy help.

Billie, Kees and Niko: yes I thought it might be a kde3 issue - hope that helps you too Billie

James: good point, but is there a front-end for any of the more modern version control systems that integrates with Quanta? I think integration is a pretty good trade-off for the extra functionality another system could bring.

One thing that puzzles me about all this (please excuse my ignorance here). Does the version control system automatically rename html files, or put them in different directories?

If so, how do the links get updated so that the site retains its integrity?

Cheers,

Ian

2009/10/14 Niko Sams <niko.sams@...>
On Tue, Oct 13, 2009 at 21:48, Billie Erin Walsh <bilwalsh@...> wrote:
> Cervisia is installed. I can run it from the KDE menu just fine.
for integration into Quanta3 you need the kde3 version of cervisia.

Niko
_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta


_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Bugzilla from james.ellis@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ian,

Not sure about Quanta integration - I doubt anything new will be developed for Quanta3 so that would leave a plugin for Quanta4 when it becomes stable. Integration with CVS is nowhere near a good trade off against the benefits of a better VCS. Nearly every developer I know has been in CVS hell at some stage - if you are going to learn a VCS then I strongly recommend starting with something that properly supports branching. There's quite a good discussion of it here: http://www.youtube.com/watch?v=4XpnKHJAok8 (need a spare 70 mins, it's worth it).

Regarding GUIs, Bazaar Explorer is a good choice and it's based on Qt4 so it has decent KDE integration (https://launchpad.net/bzr-explorer). There are a couple of GUIs for SVN - kdesvn is one I think ? I'm pretty sure there is a GUI for Git as well, given it's starting to be used more and more.

Personally, I prefer the shell, but that's just me.

Re: renaming files - no, a version control system should never alter files, just store the differences between revisions and other meta data and allow you to share you revisions with other members of your team, via merging.

Thanks
James

On Wed, Oct 14, 2009 at 8:55 PM, Ian Smith <iansamit@...> wrote:
Thanks to all for the speedy help.

James: good point, but is there a front-end for any of the more modern version control systems that integrates with Quanta? I think integration is a pretty good trade-off for the extra functionality another system could bring.

One thing that puzzles me about all this (please excuse my ignorance here). Does the version control system automatically rename html files, or put them in different directories?

_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Billie Erin Walsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Niko Sams wrote:

> On Tue, Oct 13, 2009 at 21:48, Billie Erin Walsh <bilwalsh@...> wrote:
>  
>> Cervisia is installed. I can run it from the KDE menu just fine.
>>    
> for integration into Quanta3 you need the kde3 version of cervisia.
>
> Niko
> _______________________________________________
> Quanta mailing list
> Quanta@...
> https://mail.kde.org/mailman/listinfo/quanta
>
>  

I think I'll just wait for Quanta 4.x. Cervisia isn't a deal breaker for
me. I've never really had a use for it. My web projects are small and
usually just a page or two to work with at a time. I can use an FTP
program to to upload what's needed. I did set up one site as a project
but I keep each site mirrored on my computer and making updates on the
web site rather than on my local copy and uploading just doesn't really
work for me. I guess I'm just old fashioned in my way of doing my pages,
I still do them in text mode. Just get tired of that stupid "I can't
find it" box when it starts.

--
Treat all stressful situations like a dog does.
If you can't eat it or play with it,
just pee on it and walk away

Sent with Thunderbird on my Kubuntu Linux Desktop

_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Ikawe Saeem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I know that you have been talking about CVS, but if you should go the route of one of the other mentioned RCSs (and I recommend that you do) here is some documentation I found useful.

for subversion ("a compelling replacement for CVS", which works on the same centralized paradigm as CVS, but does a "better" job.)
http://svnbook.red-bean.com/

However, similarly to others on this list, I'd recommend using a Distributed VCS (DVCS) like git, bzr, or mercurial.

In fact, to the task at hand, "syncing your development file system to various hosts", I have found a DVCS to be a great solution. You develop on one repository, and your hosted project is a clone of that repository. So to sync development and production, you simply push changes from development to production. To get files and changes your friend has added, you pull the changes from her repository.

You might have to read up on how DVCS works to appreciate the solution, but it's the one I use every day.


On Wed, Oct 14, 2009 at 5:00 AM, James Ellis <james.ellis@...> wrote:
Ian,

Not sure about Quanta integration - I doubt anything new will be developed for Quanta3 so that would leave a plugin for Quanta4 when it becomes stable. Integration with CVS is nowhere near a good trade off against the benefits of a better VCS. Nearly every developer I know has been in CVS hell at some stage - if you are going to learn a VCS then I strongly recommend starting with something that properly supports branching. There's quite a good discussion of it here: http://www.youtube.com/watch?v=4XpnKHJAok8 (need a spare 70 mins, it's worth it).

Regarding GUIs, Bazaar Explorer is a good choice and it's based on Qt4 so it has decent KDE integration (https://launchpad.net/bzr-explorer). There are a couple of GUIs for SVN - kdesvn is one I think ? I'm pretty sure there is a GUI for Git as well, given it's starting to be used more and more.

Personally, I prefer the shell, but that's just me.

Re: renaming files - no, a version control system should never alter files, just store the differences between revisions and other meta data and allow you to share you revisions with other members of your team, via merging.

Thanks
James

On Wed, Oct 14, 2009 at 8:55 PM, Ian Smith <iansamit@...> wrote:
Thanks to all for the speedy help.

James: good point, but is there a front-end for any of the more modern version control systems that integrates with Quanta? I think integration is a pretty good trade-off for the extra functionality another system could bring.

One thing that puzzles me about all this (please excuse my ignorance here). Does the version control system automatically rename html files, or put them in different directories?

_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta



_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta

Re: Syncing server with local directory

by Ian Smith-23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To James and Ikawe,

Thanks for pushing me in this direction. I've just spent a few hours researching, and we will most likely go with Bazaar now.

Frankly, the website project is so small that CVS or SVN would have been fine, but it is part of a much larger documentation project that is theoretically limitless, and one that I hope will outlive me.

So setting up an effective distributed control system while the project is still in a relatively early stage makes very good sense.

A couple of notes that may help others interested in going this route:
  1. The video James mentions is by Linus Torvalds, and is strongly pro GIT.
  2. By way of balance, there is a self-confessed biased comparison between GIT and Bazaar at: "http://bazaar-vcs.org/BzrVsGit#Bazaar vs Git"
  3. Bazaar is supposedly much more platform independent. That is important to me because my friend uses Dreamweaver on Windoze. I can imagine this type of situation is more common in web development than in software.
  4. Bazaar Explorer was actually quite difficult to install and get going on OpenSuse (I imagine it would be much easier for those of you using Kubuntu, since it's sponsored by Canonical).
    • BZR itself was in the repositories, but I had to get the required Qbzr from the Build Service, which in turn gave a dependency error of needing python-pygments. Fortunately, that was the last of it but, for a while, I felt like I was back in the Linux Dependency Hell of a few years ago.
    • Then the readme said simply to copy the directory into /.bazaar/plugins, but of course there was no directory there yet, so I had to read up to find a "safe" command that I could type into the shell to get that directory activated. That command, by the way, was: "whoami My Name <me@...>"
All in all, I feel it was time well spent. Thanks again to all respondents. I ended up with a very different answer to what I expected, but it helped to address other problems that I was only vaguely aware I had!

Cheers
Ian


_______________________________________________
Quanta mailing list
Quanta@...
https://mail.kde.org/mailman/listinfo/quanta