| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| |
| |
| |
| |
| |
| | |
This is important under ruby 1.9 in order to determine the
encoding that will be used for new strings created in the code in
the file.
|
|/
|
|
|
|
| |
On a fresh installation with no reports yet, the cron job emit lots of gnuplot errors,
causing new site admins to worry what is going wrong. Detect the situation and
give a more clear warning about the problem instead.
|
|
|
|
|
| |
Usually these are going to require some technical action. There's
not much regular admins can do about them.
|
|
|
|
|
| |
This is so that they can access mail log files. adm group members
have access to read log files in /var/log
|
|
|
|
|
| |
Consistent with other example config files, and helps us solve a mySociety config
issue.
|
| |
|
|
|
|
|
| |
The alternative would be to set a $PATH environment variable in the
cron file.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
The app user needs to be able to restart the app because of the current
capistrano setup. The deploy user should not really be the app runner.
|
|/
|
|
| |
Other code for this data migration was removed in e6511423e9334973ecd8d808c3b73c1b4e312935.
|
|
|
|
| |
For hosts with multiple alaveteli services
|
| |
|
|
|
|
|
| |
It becomes confusing in the test environment, better to have a clean
script.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Get bundler and pdftk from raring repo and de-prioritise all other
raring packages
|
|
|
|
| |
- e.g. script/test-vagrant-provisioning squeeze64
|
|
|
|
|
|
|
| |
- Add wheezy repo to get bundler package which is
unavailable in squeeze repo
- Get bundler from wheezy repo and de-prioritise all other
wheezy packages
|
|
|
|
| |
Now uses ugly so convert it with the rake task
|
|
|
|
|
|
|
|
| |
script/rails-deploy-before-down will complain if log is listed in the
SHARED_DIRECTORIES configuration variable and already exists in
APP_ROOT. It will recommend this script be used to migrate to a
timestamped deployment structure, so adding log/ makes the transition of
the log directory easier.
|
|
|
|
|
|
| |
The deployment system should deal with putting logs in the desired
place. As this script gets run on a variety of systems it can cause
problems for non-mySociety reinstallers.
|
|
|
|
| |
Then re-installers don't have to compile anything.
|
|
|
|
| |
Picks these up in `rake notes` and adds semantic meaning
|
| |
|
|
|
|
| |
Develop is too similar to development to mean anything different.
|
|\ |
|
| |
| |
| |
| | |
https://github.com/Fingertips/WAD
|
| | |
|
|/
|
|
| |
Cron sends an email for all output, whereas generally we only want to get an email if the command exited in error.
|
|
|
|
|
|
|
| |
- Sets vendor/bundle as default
- Uses $HOME/bundle when generating general.yml
Based on d9f162c8ab08cb881cd68a3eee900c52c63cb1ae
|
|\ |
|
| |
| |
| |
| |
| | |
Also send them directly to the non-bounce address, don't pipe them through mailin
again.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Conflicts:
config/general.yml-example
spec/factories.rb
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
This is the default value from lib/configuration.rb if they aren't set
and null values cause errors when .empty? is called on them.
|
|\| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is required by our switch to timestamped-based deploys. There
are certain files and directories (e.g. cache, the Xapian databases,
generated graphs) that should be shared between deployments,
rather than recreating them when creating the next deployment in
a new directory.
This script should be run as a one-off before switching an
instance to using timestamped deploys, to ensure that the existing
data is stored in the shared subdirectory of the vhost directory,
so that any future deployment can simply create symlinks into the
shared directory.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is to support sharing various files between multiple deployments
of Alaveteli. If you have set SHARED_FILES_PATH, SHARED_FILES and
SHARED_DIRECTORIES then the rails-deploy-before-down script will ensure
that a symlink is created from each of the files or directories
mentioned in SHARED_FILES and SHARED_DIRECTORIES to a corresponding
path within SHARED_FILES_PATH.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
This is necessary because the install script is also run on creating a
new EC2 instance from the AMI in order to update the configuration with
the new internal and external names; the hostname will be different in
this case and otherwise myhostname wouldn't be rewritten.
|
|\ \
| |/
|/|
| |
| | |
Conflicts:
script/switch-theme.rb
|
| | |
|
| |
| |
| |
| |
| | |
Conflicts:
script/rails-post-deploy
|