Project

General

Profile

Paste
Statistics
| Branch: | Revision:

root / bin @ 2b468206

# Date Author Comment
a14d4cd9 05/02/2015 10:22 PM Julien Enselme

Use default to list all modules

We were using drush in ~assos without an alias so the script could not work.

a0869461 04/25/2015 04:27 PM Julien Enselme

Remove self that appear if sites_list is launched in one of drupal directories

c45ffcc0 04/25/2015 04:24 PM Julien Enselme

Scripts uses drush aliases, no need to go into the site's dir to launch commands

d4c4525a 04/18/2015 06:31 PM Julien Enselme

Use drush aliases to loop on all sites instead of sites.

Close #535

2f0625ee 04/18/2015 05:27 PM Julien Enselme

Improve get_site_name_from_dir_name

6c6343d9 04/18/2015 05:21 PM Julien Enselme

Improve the detection of default with the path of a site.

Use a utilitary function to extract the exact site name from a site path.

Close #572

d3889c60 04/18/2015 04:53 PM Julien Enselme

Correct import of scripts-config-site.sh.

In bin/d7-delete-site.sh and bin/d7-reset-variables.sh the script was executed, not imported.

653aeb8e 04/12/2015 11:16 PM Julien Enselme

Various correction in scripts.

  • All source imports use absolute path.
  • Add comments.
  • Create 2 new variables: d7_dir_all_modules and d7_dir_all_themes in scripts-config.sh.
  • Make scripts respect code style.
3e47efa1 04/12/2015 10:58 PM Julien Enselme

d7-all-drush.sh shouldn't use getopt

Close #534

fbc8e782 03/12/2015 01:06 PM Benjamin Luce

Simplify and improve the output of d7-all-security-review.sh

Close #532

a629a580 03/12/2015 12:52 PM Benjamin Luce

Correct import of scripts-config-site.sh

Close #531

20f29eb0 02/23/2015 01:44 PM Julien Enselme

Unlog: update conf to use the proper SMTP server.

Install unlog in a venv because of new dependancies.

Close #533

35e0bbf4 02/20/2015 11:44 PM Julien Enselme

Fix chmod -R issue.

Rights are correcly set, non script files are not made executable.

Fix: #1 (github)

ab3add7e 02/12/2015 06:40 PM Julien Enselme

d7-sync-site.sh: add -y option for and

b39d5907 02/12/2015 06:38 PM Julien Enselme

d7-sync-site.sh: correct drushy rsync (incorrect variables).

b02bac9b 02/12/2015 06:25 PM Julien Enselme

d7-sync-site.sh: correct call to d7-create-site.sh

33aa530a 02/12/2015 06:22 PM Julien Enselme

d7-sync-site.sh: don't check number of arguments.

d3e12e0b 02/12/2015 06:20 PM Julien Enselme

d7-sync-site.sh: correct help definition.

d6023b9e 01/28/2015 12:00 AM Julien Enselme

bin/d7-all-dump-individual.sh: mode must be affected to $OPTARG no $1

eec59787 01/16/2015 05:21 PM Julien Enselme

Check_arguments must not be used in flush-files.sh.

It uses getopts.

4851f31c 01/15/2015 10:04 PM Julien Enselme

Merge branch 'moviuro'

Correct a typo in scripts-utils.sh

1900469e 01/15/2015 01:13 AM Julien Enselme

flush-full-databases-backups.sh and flush-individual-databases-backups.sh can print help.

Their argument are still positionnal.

b824f8cf 01/15/2015 01:09 AM Julien Enselme

Make print-help-if-required.sh executable.

15ed27d8 01/15/2015 01:08 AM Julien Enselme

Use getopts to print help and to parse script arguments.

76597ebf 01/15/2015 12:09 AM Thomas Berger

bin/scripts-utils.sh: typo

7e5f306e 01/14/2015 11:38 PM Julien Enselme

Remove d7-all-drush-logged.sh with all its remaining usage.

Not needed any more. /home/assos/bin/d7-all-update-contrib.sh now relies on log.sh (in cron)

99f1dc85 01/13/2015 05:16 PM Julien Enselme

Merge branch 'moviuro'

Some improvements by tberger.

3f774fab 01/13/2015 04:18 PM Thomas Berger

bin/scripts-utils.sh: errors go to stderr

3dadc395 01/13/2015 04:18 PM Thomas Berger

Silence grep tests with -q

65c16c77 01/13/2015 04:17 PM Thomas Berger

bin/d7-all-update-core.sh: typo

df87f34a 01/06/2015 08:29 PM Julien Enselme

Add the sauron script to launch sauron inside the venv.

81a75448 12/07/2014 12:43 PM Julien Enselme

Unlog is stable. Add alias and update log-report.sh

66787541 12/01/2014 01:13 PM Julien Enselme

We must set the temporary file path manually.

If we don't, files cannot be created and the site doesn't work.

7c435b4e 12/01/2014 01:11 PM Julien Enselme

Correct the script that regenerate the nginx map and regenerate the map.

  • Regenerate the map.
  • The map must be erased.
  • Lines must start with ~*^
1062c26c 12/01/2014 12:52 PM Julien Enselme

Correct the name of the translation_fr variable.

be524722 12/01/2014 12:46 PM Julien Enselme

Uncomment sudo lines in d7-create-site.sh and d7-delete-site.sh

73a967a6 11/28/2014 09:59 PM Julien Enselme

Correct the script for nginx.

  • variable incorrectly declared in scripts-config.sh.
  • d7-generate-nginx-map.sh: script-config.sh was not imported.
  • Must reload nginx after updating the map (commented while sudo isn't installed).
  • Extra parenthesis in d7-create-site.sh when creating dummy sql files.
13a48a6b 11/28/2014 08:36 PM Julien Enselme

Merge branch 'nginx'

Conflicts:
bin/flush-files.sh

481fd023 10/31/2014 11:49 AM Julien Enselme

Correct log.sh: another wrong group pattern.

d1fe45c7 10/31/2014 11:40 AM Julien Enselme

Correct log.sh: wrong group pattern.

932c2f6c 10/30/2014 10:33 AM Julien Enselme

d7-all-security-review.sh must now use the log file.

a1901c6d 10/29/2014 11:59 PM Julien Enselme

Don't erase log file.

4d50eb29 10/28/2014 12:03 AM Julien Enselme

Correct log.sh: Wrong group pattern.

e451b022 10/27/2014 04:53 PM Julien Enselme

Modify log.sh and .unlog to use group.

59851e2f 10/27/2014 04:46 PM Julien Enselme

Make bin/log-report.sh and bin/log.sh executable.

5a1949a4 10/27/2014 04:43 PM Julien Enselme

Add scripts to log and report the log and the configuration file for unlog.

6e0d2cd9 10/24/2014 08:30 PM Julien Enselme

Correct d7-all-security-review.sh so that bash is not used any more.

3a1ab9d3 10/16/2014 10:27 AM Julien Enselme

Correct '! -z ' to '-n'.

d3851757 10/16/2014 10:26 AM Julien Enselme

Correct calculation of numbers of backup to delete.

b2da2166 10/15/2014 09:12 PM Julien Enselme

Correct bin/d7-all-dump-individual.sh, quotes were not correctly placed.

72e536ac 10/15/2014 04:05 PM Julien Enselme

chmod +x d7-generate-nginx-map.sh

53272269 10/15/2014 04:02 PM Julien Enselme

Correctly generate map from sites.php.

df980e40 10/15/2014 04:02 PM Julien Enselme

Correct update_nginx_map: previous syntax was bash only.

eac776e8 10/15/2014 04:02 PM Julien Enselme

Command subsitution are not quoted. Quotes posed problems in loop.

8550e097 10/15/2014 03:45 PM Julien Enselme

Command subsitution are not quoted. Quotes posed problems in loop.

5fbc698e 10/14/2014 10:27 PM Julien Enselme

Correctly generate map from sites.php.

8714eea1 10/14/2014 10:17 PM Julien Enselme

Merge branch 'nginx' of ssh://git.centrale-marseille.fr/clubdrupal into nginx

Conflicts:
bin/d7-create-site.sh
bin/scripts-config.sh

b49217ec 10/14/2014 10:15 PM Julien Enselme

Correct update_nginx_map: previous syntax was bash only.

bf546089 10/14/2014 10:14 PM Julien Enselme

Adapt script for nginx as described in #394. The location of nginx files are still to be defined.

Variables nginx_site_names and nginx_sites_map are still empty.

3e9236bd 10/14/2014 10:06 PM Julien Enselme

Update scritp so they respect the new convention.

  • Variables are quoted.
  • $(…) are quoted.
d4221f52 10/08/2014 11:44 PM Julien Enselme

Check the number of arguments (and print in needed) before anythin.

f92204ef 10/08/2014 11:43 PM Julien Enselme

must be defined before we create the dummy sql file. Otherwise, the individual db dumps failed.

5d7bc31a 10/08/2014 01:08 PM Benjamin Luce

Add sleep 5 to d7-all-drush.sh end remove d7-all-drush-sleep.sh #379

152165a8 10/05/2014 03:00 PM Julien Enselme

Correct update_nginx_map: previous syntax was bash only.

0f75e6b1 10/05/2014 02:01 PM Julien Enselme

Adapt script for nginx as described in #394. The location of nginx files are still to be defined.

Variables nginx_site_names and nginx_sites_map are still empty.

5bee87a1 10/01/2014 02:57 PM Julien Enselme

d7-all-drush-sleep.sh only execute cron with a pause of a given time.

c5be690a 10/01/2014 02:35 PM Julien Enselme

Make d7-all-drush-sleep.sh executable.

f4462ddf 09/30/2014 05:41 PM Julien Enselme

Add d7-all-drush-sleep.sh.

Same as d7-all-drush.sh with a pause of 60s between the sites.

349952e5 08/28/2014 09:10 PM Julien Enselme

git-report.sh: sends no email.

The forge sends the email containing the modification. This report is unuseful.

eddb3693 08/22/2014 12:16 PM Julien Enselme

Use 'drush @ sql-drop' instead of 'drush @ sql-dump | grep DROP | drush sql-cli' to drop db in d7-sync-site.sh

f4bff92c 08/08/2014 06:25 PM Julien Enselme

use drush sql-cli to sync databases in d7-sync-site.sh instead of mysql

d05743f7 07/27/2014 07:40 PM Julien Enselme

The drush command upc drupal is only applied to default (#399)

ce685802 07/27/2014 06:54 PM Florent Torregrosa

#399 : Rename d7-update-core.sh to d7-all-update-core.sh

2aea68ab 07/27/2014 06:29 PM Julien Enselme

d7-update-core.sh add -y option to d7-all-drush.sh updb

943cf374 07/27/2014 06:01 PM Florent Torregrosa

Fix typo in d7-update-core.sh

d22487f5 07/27/2014 05:31 PM Julien Enselme

Update bin/d7-update-core.sh.

  • No more contrib update.
  • curl uses $drupal_version to get the translations.
3ae9d44b 07/27/2014 04:26 PM Julien Enselme

Correct bin/d7-update-core.sh (import d7-scripts-config.sh)

ff5d71d0 07/27/2014 04:13 PM Julien Enselme

Make d7-update-core.sh executable.

800a00f1 07/27/2014 04:12 PM Julien Enselme

Add script to help the update of drupal core.

ddbedad3 07/12/2014 01:53 PM Florent Torregrosa

#397 : Do not log captcha wrong response and disable captcha stats.

07feb979 07/06/2014 04:46 PM Julien Enselme

Switch d7-create-site.sh to drush site-install

705e6803 06/17/2014 09:01 PM Florent Torregrosa

Better settings for cache. Based on DIY Drupal 7 performance google doc.

b9295610 04/12/2014 10:41 AM Florent Torregrosa

Remove d7-all-who-is-admin.sh, now useless because #378 solved passing
sqlq command to d7-all-drush.sh

e852c150 04/11/2014 07:37 PM Julien Enselme

Solves #378

87a19b69 04/11/2014 07:17 PM Julien Enselme

Temporary fix for #378

aea6b4ce 04/11/2014 05:01 PM Assos Assos

Revert "Prevent double quotes interpretation for drush command arguments. See #378."

This reverts commit f7b1ec4f8193fa4c9bb59d2136b105f259c788d4.

f7b1ec4f 04/11/2014 04:30 PM Assos Assos

Prevent double quotes interpretation for drush command arguments. See #378.

1e4af651 04/05/2014 06:57 PM Julien Enselme

Check_arguments must use exit and no return

683f57f9 04/04/2014 06:58 PM Julien Enselme

Uniformisation: from cmd to $(cmd).

806918fc 04/04/2014 06:36 PM Julien Enselme

Uniformized drush sql-dump (with --result-file and --gzip).

f57004d8 04/04/2014 06:32 PM Julien Enselme

Sed syntax incorrect.

4169ee78 04/04/2014 06:30 PM Julien Enselme

We must change all url patterns.

42f1f46f 04/04/2014 06:27 PM Julien Enselme

Use mysql to sync database instead of drush sql-sync.

999bc9cc 04/04/2014 06:21 PM Julien Enselme

Correct sed error.

98fad019 04/04/2014 06:18 PM Julien Enselme

Change source url in database the url of the copy.

2c35046c 03/29/2014 12:00 PM Julien Enselme

Use df to inform on free disk space.

53fcb5c3 03/22/2014 07:13 PM Julien Enselme

The PATH was wrong: the bin dir is in /home/assos

06e9d071 03/21/2014 03:42 PM Assos Assos

Maintenant en local dans le jail webassos #374

c5ae85b0 03/21/2014 12:03 AM Julien Enselme

Add check_arguments and no need to display output of site_exists.

c9d0efbc 03/20/2014 11:54 PM Julien Enselme

d7-sync-site.sh works.

  • Backup the correct database.
  • We test if the site is new (no database).
  • Tests on strings are done correctly.
  • We add the option --prod to disable maintenance mode.