List Info

Thread: FTP Upload from SVN Repository




FTP Upload from SVN Repository
user name
2007-12-20 19:01:32
Ideally, I would like a simple link on my Trac site that
when clicked,
it will send a certain folder in my repository to remote FTP
server
which host our company website.

Right now, I download the files to a local computer and
upload them
manually using an FTP client. This task has become very
tedious and my
FTP client keeps uploading the TortoiseSVN hidden files
(.svn/
folders), which I don't want to my remote FTP server and
takes a long
time to upload.

Our web development team is already using the post-commit
hook to send
the files to an Apache directory running on the same server
where Trac
and SVN are installed. This Apache site is used to preview
our changes
before the changes are uploaded to our web server.

This works well, but after all the repository changes have
been
approved by a manager, we would like an easy way to FTP the
files to
our web host. Any ideas on how we could accomplish this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Development" group.
To post to this group, send email to trac-devgooglegroups.com
To unsubscribe from this group, send email to
trac-dev-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: FTP Upload from SVN Repository
user name
2007-12-21 03:26:52
> This works well, but after all the repository changes
have been
> approved by a manager, we would like an easy way to FTP
the files to
> our web host. Any ideas on how we could accomplish
this?

This kind of question should be directed to trac-users, not
to trac-dev.

You could write a plugin with a python FTP client - although
large
transfer files may be slow and end up triggering a web
browser
timeout, as the web browser that starts the FTP transfer
would
received the completion page once the FTP transfer is over.

-- 
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Development" group.
To post to this group, send email to trac-devgooglegroups.com
To unsubscribe from this group, send email to
trac-dev-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: FTP Upload from SVN Repository
user name
2007-12-24 03:51:36
Why not use svn checkout in the target Web Server?

2007/12/21, philbargmail.com">philbargmail.com < philbargmail.com">philbargmail.com>:

Ideally, I would like a simple link on my Trac site that when clicked,
it will send a certain folder in my repository to remote FTP server
which host our company website.

Right now, I download the files to a local computer and upload them
manually using an FTP client. This task has become very tedious and my
FTP client keeps uploading the TortoiseSVN hidden files (.svn/
folders), which I don't want to my remote FTP server and takes a long
time to upload.

Our web development team is already using the post-commit hook to send
the files to an Apache directory running on the same server where Trac
and SVN are installed. This Apache site is used to preview our changes
before the changes are uploaded to our web server.

This works well, but after all the repository changes have been
approved by a manager, we would like an easy way to FTP the files to
our web host. Any ideas on how we could accomplish this?




--
QQ: 443089607
QQ mail: hu_zhenghuiqq.com">hu_zhenghuiqq.com
Skype: huzhenghui
Gtalk: huzhengh
GMail: huzhenghgmail.com">huzhenghgmail.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To post to this group, send email to trac-devgooglegroups.com
To unsubscribe from this group, send email to trac-dev-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )