Re: Kommander news and fund raising

Andrew Lowe <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Organization Manildra Group
Message-ID <[email protected]>
On Wed, 27 Feb 2008 09:17:25 Eric Laffoon wrote:
> On Tuesday 26 February 2008 2:05:29 pm Mark A. Taff wrote:
> > On Tuesday 26 February 2008 09:37:56 Eric Laffoon wrote:
> > > BTW when I get time I plan on developing some new Kommander plugins for
> > > Quanta. One thing I'm looking at doing is a tool to synchronize online
> > > and local projects, probably using a PHP script online to communicate
> > > with. I am just so busy.
> >
> > Um, why not just copy the code for lftp's -mirror function into Quanta?
> > Or even the rsync algorithm? That, with a quick kommander dialog for
> > settings, should do the trick without neding a php script on the server.
>
> It's fairly easy to do this with the HTTP plugin, and possibly it could
> also be done with a remote ssh shell, though I'd have to ponder how to do
> it. Anyway the idea is to have something useful for more than just one
> protocol. Using the PHP backend it would not matter what your protocol was
> as long as you had PHP on your server, which almost everyone does. It's not
> perfect, but it's my best idea so far.
>

I am not sure that I am following correctly.

I would hope that you are not suggesting to upload projects to the production 
server via HTTP using PHP.  PHP, and therefore Apache would need write 
permissions to the project which would introduce a major security risk...

The other option I could see this as is a PHP script on the server listening 
on a specific port, again a potential security risk - unless bugs are really 
kept fixed regularly.

Using Rsync would be good option - it is what I tend to use for backups and 
stuff, and works over ftp, sftp, ssh, and other protocols - just using the 
command line.  For project synchronizing I tend to check my local project 
into SVN and then update/check-out from the production machine (and the 
opposite for those changes done on the production machine) for - works well 
with PHP code (no compiling) - also make sure that .svn folders are forbidden 
in Apache.

It would be good to understand what method you are suggesting....

Thanks

-- 
Andrew Lowe
    System Administrator & Programmer
        Information Technology
            Manildra Group

Email:   [email protected]
Phone:   02 4423 8270
Mobile:  04 1323 8270
Fax:     02 4421 7760
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.