Projet

Général

Profil

Paste
Télécharger (5,16 ko) Statistiques
| Branche: | Révision:

root / bin / d7-create-site.sh @ 1aa883a3

# Date Auteur Commentaire
a629a580 12/03/2015 12:52 Benjamin Luce

Correct import of scripts-config-site.sh

Close #531

35e0bbf4 20/02/2015 23:44 Julien Enselme

Fix chmod -R issue.

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

Fix: #1 (github)

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

Use getopts to print help and to parse script arguments.

1062c26c 01/12/2014 12:52 Julien Enselme

Correct the name of the translation_fr variable.

be524722 01/12/2014 12:46 Julien Enselme

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

73a967a6 28/11/2014 21:59 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.
eac776e8 15/10/2014 16:02 Julien Enselme

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

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

Correctly generate map from sites.php.

bf546089 14/10/2014 22:14 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 14/10/2014 22:06 Julien Enselme

Update scritp so they respect the new convention.

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

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

f92204ef 08/10/2014 23:43 Julien Enselme

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

07feb979 06/07/2014 16:46 Julien Enselme

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

683f57f9 04/04/2014 18:58 Julien Enselme

Uniformisation: from cmd to $(cmd).

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

Maintenant en local dans le jail webassos #374

3d719e63 20/03/2014 23:53 Julien Enselme

Commit site creation before exiting, event if we don't init the database.

4ed597de 20/03/2014 23:33 Julien Enselme

Correct tests

9987cca4 20/03/2014 21:44 Julien Enselme

Correct output of 'boolean' function

e480b7dc 20/03/2014 21:30 Julien Enselme

site_extits has an invalid return value.

5adc00e9 20/03/2014 21:26 Julien Enselme

Check at the top of the script whether the site exists.

ae7db9c1 20/03/2014 21:25 Julien Enselme

Invalid test for string equality

057e4d4b 20/03/2014 21:22 Julien Enselme

Must use function to call function in a test

40dfeef4 20/03/2014 21:19 Julien Enselme

Correct variable name error and function call error.

a3d7801f 20/03/2014 21:08 Julien Enselme

When creating a new site for sync #375, it is unusefull to init the database.

60103d5a 20/03/2014 19:29 Julien Enselme

Add a site_exists funcion to know whether a site exists or not.

89b9051b 17/03/2014 19:29 Florent Torregrosa

#364 : Change scripts for the next sites created.

3eef768d 13/03/2014 17:15 Julien Enselme

Update chmod: all scripts are executable.

64ad485a 03/03/2014 16:10 Julien Enselme

More verbrose when waiting for git.

92b0ba80 21/02/2014 12:22 Julien Enselme

Manualy add symlink to git.

94065d4e 13/02/2014 15:47 Julien Enselme

Take into account 'mv htmltest drupal7'

e0225b3a 16/01/2014 12:22 Julien Enselme

Use myassos.cnf and myweb.cnf instead of asking for password

6d91f38e 07/01/2014 23:57 Julien Enselme

Test added for git where posing trouble

We must use to launch function in a subshell, other wise the whole
script exit with the instruction 'exit 1' or 'exit 0'.
We must use " around variable for test. Otherwise, we get a Unexpected
operator error.

1c1c5a42 14/12/2013 00:02 Julien Enselme

Script support git as described #343 to implement #191

364f9fdd 01/12/2013 16:17 Julien Enselme

Fix problems with sites.php and aliases.drushrc.php

The previous versions of these scripts rewrote both file without
any lines. Now the correct lines are written to the file.

0e4152d9 10/11/2013 19:12 Julien Enselme

Mise en place des aliases de site

Ajout du script qui a généré les aliases
Modification de scripts-config.sh pour ajouter l'emplacement du fichier des alias
Modification des scripts de création et suppression de site pour la gestion des aliases

ad6711c7 22/10/2013 00:10 Julien Enselme

Prise en compte sites.php: correction des scripts
cronone: pas compris pourquoi il a changé

593e9a63 20/10/2013 19:57 Julien Enselme

Prise en compte de sites.php

469b9d6d 08/09/2013 17:00 Julien Enselme

Mise à jour settings.php

  • Ajout des templates de settings.php et settings.local.php
  • Ajout de scripts_divers/d7-all-gen-settings-local.sh qui va automatiser le passage de settings.php à settings.php + settings.local.php
  • Ajout de bin/d7-all-update-settings.sh qui permet d'automatiser la mise...
ddeedc17 03/09/2013 23:28 Julien Enselme

d7-create-site.sh

Il faut créer 4 fichiers vide et non 3 pour que le script de purge des
sauvegardes de bdd ne renvoie pas d'erreur. En effet, si ce dernier
s'exécute avant qu'il y a eu une autre sauvegarde, il trouvera 3 fichiers
soit le nombre de sauvegarde à garder.

d52a5b2f 19/08/2013 19:52 Julien Enselme

Sprint réécriture des scripts

Les scripts ont été renommés et réécrits conformément à une convention
afin de les rendre plus modulables.