mirror of
https://github.com/YunoHost-Apps/drupal7_ynh.git
synced 2024-09-03 18:26:19 +02:00
commit
7ac0cda2f5
6 changed files with 18 additions and 31 deletions
|
@ -11,7 +11,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
|
||||||
## Overview
|
## Overview
|
||||||
Free and open-source content management framework.
|
Free and open-source content management framework.
|
||||||
|
|
||||||
**Shipped version:** 7
|
**Shipped version:** 7.67
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
## Vue d'ensemble
|
## Vue d'ensemble
|
||||||
Framework de gestion de contenu libre et open-source.
|
Framework de gestion de contenu libre et open-source.
|
||||||
|
|
||||||
**Version incluse:** 7
|
**Version incluse:** 7.67
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||
|
|
|
@ -15,24 +15,16 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
|
upgrade=1 from_commit=89bf310b8ac87a61e5974508f2b41fbb32823e95
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
incorrect_path=1
|
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
|
||||||
|
# incorrect_path=1
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
change_url=1
|
change_url=1
|
||||||
;;; Levels
|
;;; Levels
|
||||||
Level 1=auto
|
# If the level 5 (Package linter) is forced to 1. Please add justifications here.
|
||||||
Level 2=auto
|
|
||||||
Level 3=auto
|
|
||||||
# Level 4: If the app supports LDAP and SSOwat, turn level 4 to '1' and add a link to an issue or a part of your code to show it.
|
|
||||||
# If the app does not use LDAP nor SSOwat, and can't use them, turn level 4 to 'na' and explain as well.
|
|
||||||
Level 4=0
|
|
||||||
Level 5=auto
|
Level 5=auto
|
||||||
Level 6=auto
|
|
||||||
Level 7=auto
|
|
||||||
Level 8=0
|
|
||||||
Level 9=0
|
|
||||||
Level 10=0
|
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=yalh@yahoo.com
|
Email=yalh@yahoo.com
|
||||||
Notification=all
|
Notification=all
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Drupal 7 for YunoHost application.",
|
"en": "Drupal 7 for YunoHost application.",
|
||||||
"fr": "Drupal 7 pour YunoHost."
|
"fr": "Drupal 7 pour YunoHost."
|
||||||
},
|
},
|
||||||
"version": "7.0~ynh1",
|
"version": "7.67~ynh1",
|
||||||
"url": "https://www.drupal.org",
|
"url": "https://www.drupal.org",
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -11,13 +11,8 @@
|
||||||
- [ ] Upgrade from last version tested.
|
- [ ] Upgrade from last version tested.
|
||||||
- [ ] Can be reviewed and tested.
|
- [ ] Can be reviewed and tested.
|
||||||
|
|
||||||
## Validation
|
## Package_check results
|
||||||
---
|
---
|
||||||
- [ ] **Code review**
|
*If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results*
|
||||||
- [ ] **Approval (LGTM)**
|
|
||||||
*Code review and approval have to be from a member of @YunoHost/apps group*
|
[/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/drupal7_ynh%20PR-NUM-%20(USERNAME)/)
|
||||||
- **CI succeeded** :
|
|
||||||
[](https://ci-apps-dev.yunohost.org/jenkins/job/drupal7_ynh%20-BRANCH-/)
|
|
||||||
*Please replace '-BRANCH-' in this link by the name of the branch used.*
|
|
||||||
*If the PR is from a forked repository. Please provide public results from package_check.*
|
|
||||||
When the PR is marked as ready to merge, you have to wait for 3 days before really merging it.
|
|
||||||
|
|
|
@ -99,9 +99,9 @@ ynh_print_info --message="Making sure dedicated system user exists..."
|
||||||
ynh_system_user_create --username=$app --home_dir="$final_path"
|
ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE PHP
|
# UPGRADE PHP
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Updating PHP..."
|
ynh_print_info --message="Upgrading PHP..."
|
||||||
|
|
||||||
ynh_install_php --phpversion="7.2" --package="$extra_pkg_dependencies"
|
ynh_install_php --phpversion="7.2" --package="$extra_pkg_dependencies"
|
||||||
|
|
||||||
|
@ -116,17 +116,18 @@ ynh_add_fpm_config --phpversion="7.2"
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE COMPOSER
|
# UPGRADE COMPOSER
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Updating Composer..."
|
ynh_print_info --message="Upgrading Composer..."
|
||||||
|
|
||||||
ynh_install_composer --phpversion="7.2" --workdir="$final_path/.composer"
|
ynh_install_composer --phpversion="7.2" --workdir="$final_path/.composer"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE DRUPAL
|
# UPGRADE DRUPAL
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Updating Drupal..."
|
ynh_print_info --message="Upgrading Drupal..."
|
||||||
|
|
||||||
|
ynh_backup_if_checksum_is_different --file="$final_path/$app/sites/default/settings.php"
|
||||||
export PATH="$final_path/.composer/vendor/bin:$PATH"
|
export PATH="$final_path/.composer/vendor/bin:$PATH"
|
||||||
|
|
||||||
sudo -u $app env PATH=$PATH drush @$app variable-set --exact maintenance_mode 1
|
sudo -u $app env PATH=$PATH drush @$app variable-set --exact maintenance_mode 1
|
||||||
|
@ -141,7 +142,6 @@ sudo -u $app env PATH=$PATH drush @$app l10n-update
|
||||||
# STORE THE CONFIG FILE CHECKSUM
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup_if_checksum_is_different --file="$final_path/$app/sites/default/settings.php"
|
|
||||||
# Recalculate and store the checksum of the file for the next upgrade.
|
# Recalculate and store the checksum of the file for the next upgrade.
|
||||||
ynh_store_file_checksum --file="$final_path/$app/sites/default/settings.php"
|
ynh_store_file_checksum --file="$final_path/$app/sites/default/settings.php"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue