I have a few directories that have content generated only on the
production server (user uploaded) and wish to not overwrite any files
within that folder (but perhaps create new subfolders if they exist?)
during Fredistrano's rsync process. (1) Fredistrano's deploy.php can
contain a list of folders/files that shouldn't be sync'd, but what if
I want to sync subfolders but not files?
This site will also be a CakePHP site and I would like to never alter
the webroot's index.php file, .htaccess file, or the app's config/
database.php file as they will be different. Therefore...
I know there's the DEV/PRD option, but I also see in the PDF
documentation ways to use Fredistrano's beforeScript/afterScript
callbacks. As my current site within the repository has
"database.php" instead of "database.dev.php && database.prd.php"; (3)
is it possible to use the beforeScript to manage the changes
automatically instead?
Also, (3) I am curious to know if there is any news on "Wily Ariane"?
Thanks!
(1) the variable $exclude in deploy.php file will be use by the rsync
exclude option, so for specific needs see the rsync documentation, may
be in your case you can try something like '/yourPath/*.*' (never
tested)
(2) in beforeScript/afterScript you can execute your own scripts, you
can find examples here => http://code.google.com/p/fredistrano/wiki/DeploymentScripts
(3) We do not have much time to give Fredistrano right now, I hope
that we will be able to release in January or February.
Meanwhile you can try the trunk version http://fredistrano.googlecode.com/svn/trunk/
(for testing only).
You can find, the last issues before "Willy Ariane"
http://code.google.com/p/fredistrano/issues/list?can=2&q=milestone=Release1.0&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary
regards
Fred
On Dec 30, 5:15 am, fred <fbol...@gmail.com> wrote:
> Hi brendon,
>
> (1) the variable $exclude in deploy.php file will be use by the rsync
> exclude option, so for specific needs see the rsync documentation, may
> be in your case you can try something like '/yourPath/*.*' (never
> tested)
>
> (2) in beforeScript/afterScript you can execute your own scripts, you
> can find examples here => http://code.google.com/p/fredistrano/wiki/DeploymentScripts
>
> (3) We do not have much time to give Fredistrano right now, I hope
> that we will be able to release in January or February.
> Meanwhile you can try the trunk versionhttp://fredistrano.googlecode.com/svn/trunk/
> (for testing only).
> You can find, the last issues before "Willy Ariane"http://code.google.com/p/fredistrano/issues/list?can=2&q=milestone=Re...
>
> regards
>
> Fred
>
> On 29 déc, 19:00, Brendon Kozlowski <Brendon...@hotmail.com> wrote:
>
>
>
> > I'll be using Fredistrano on a different site with different
> > requirements than what I'm used to (simple one way pushes, no on-the-
> > fly alteration of files necessary).
>
> > I have a few directories that have content generated only on the
> > production server (user uploaded) and wish to not overwrite any files
> > within that folder (but perhaps create new subfolders if they exist?)
> > during Fredistrano's rsync process. (1) Fredistrano's deploy.php can
> > contain a list of folders/files that shouldn't be sync'd, but what if
> > I want to sync subfolders but not files?
>
> > This site will also be a CakePHP site and I would like to never alter
> > the webroot's index.php file, .htaccess file, or the app's config/
> > database.php file as they will be different. Therefore...
>
> > I know there's the DEV/PRD option, but I also see in the PDF
> > documentation ways to use Fredistrano's beforeScript/afterScript
> > callbacks. As my current site within the repository has
> > "database.php" instead of "database.dev.php && database.prd.php"; (3)
> > is it possible to use the beforeScript to manage the changes
> > automatically instead?
>
> > Also, (3) I am curious to know if there is any news on "Wily Ariane"?
>
> > Thanks!- Hide quoted text -
>
> - Show quoted text -
I do have a question though... According to the following post by
euphrate_ylb:
http://groups.google.com/group/fredistrano-discuss/msg/2a8b1beb0cc230e4
It's possible to support multiple extensions per project. However,
there were two portions I was unclear on:
1. "Then, each instance of fredistrano must be configured to handle
only a given extension."
Each instance? Surely that doesn't mean individual installations of
Fredistrano as that sort of defeats the purpose of a centralized
deployment tool?
2. $config['FileSystem'] = array(
...,
'renameExt' => 'xxx' // In our example
it may be tst, dev or prd
);
Is 'renameExt' at the first level index to the FileSystem array?
i.e.: $config['FileSystem']['renameExt'] ? Also, how would we define
to Fredistrano what each extension relates to if this is Fredistrano's
main app/config/config.php file?
On Dec 31 2009, 11:41 am, Brendon Kozlowski <Brendon...@hotmail.com>
wrote: