Commit graph

648 commits

Author SHA1 Message Date
Alexandre Aubin
b50bf9d7d3
Merge pull request #1047 from SiM/backup-msg
move BACKUP_CORE_ONLY message to standard output
2020-09-16 17:43:53 +02:00
Alexandre Aubin
8bd1758c8c
Merge pull request #1052 from YunoHost/detect-wrong-arguments
[fix] detect misformated arguments in getopts
2020-09-16 17:17:18 +02:00
Alexandre Aubin
d243fe76ce
[enh] Better problematic apt dependencies auto-investigation mechanism (#1051)
* [enh] Better problematic apt dependencies auto-investigation mechanism

* Misc tweak / fixes following tests
2020-09-16 16:14:03 +02:00
Kayou
6945867f86
detect wrong arguments 2020-09-16 13:23:10 +02:00
Kayou
15a7967f47
Epic bugfix 2020-09-15 20:53:26 +02:00
Alexandre Aubin
ca5f264baf Remove pipe char when trying to re-run apt with dry-run ... Because apt becomes absolutely crazy and make every package installed conflict with weird stuff 2020-09-14 17:06:40 +02:00
Maniack Crudelis
d2bd6b6c12 Add doc about is_big 2020-09-11 20:29:23 +02:00
SiM
9a2a6385bb move BACKUP_CORE_ONLY msg to standard output 2020-09-08 18:10:34 +02:00
Alexandre Aubin
b869f3a7d7
Merge pull request #864 from YunoHost/abort_if_up_to_date_manifest
Implement `upgrade_only_if_version_changes` in manifest
2020-09-03 15:51:47 +02:00
Alexandre Aubin
346728e55d Remove the pinning stuff of sury from the helpers, since it's now managed by the regenconf core 2020-08-28 22:31:10 +02:00
Josue-T
7c6748e928
Merge branch '4.1' into abort_if_up_to_date_manifest 2020-08-18 21:07:30 +02:00
ericgaspar
05ff84e5af
Update php 2020-08-04 18:36:19 +02:00
Alexandre Aubin
70fab24247 [psql] Upgrade postgresql helper to use version 11 2020-07-27 19:23:53 +02:00
Alexandre Aubin
5930b6ddf2 [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-07-27 19:23:53 +02:00
Kay0u
8d5422d13f [fix] Fix getopts and helpers 2020-07-27 19:20:36 +02:00
ericgaspar
82d59d59be
silence info: wasn't deleted because it doesn't exist. 2020-06-23 10:26:09 +02:00
Alexandre Aubin
653c5fde8f Set sury default pinning to 600 2020-06-06 01:16:54 +02:00
Alexandre Aubin
b050c1b3a4
Merge pull request #1012 from ericgaspar/update-n-to-6.5.1
Update n to 6.5.1
2020-06-05 17:50:54 +02:00
Alexandre Aubin
2408a62059
More accurate grep to avoid mistakenly grepping commented lines... 2020-06-05 16:58:46 +02:00
Éric Gaspar
2ab56428f8
Update data/helpers.d/nodejs
Co-authored-by: Kayou <pierre@kayou.io>
2020-06-05 11:27:43 +02:00
Éric Gaspar
c62527a0af
Update data/helpers.d/nodejs
Co-authored-by: Kayou <pierre@kayou.io>
2020-06-04 15:04:02 +02:00
ericgaspar
63e6abdf1e
add n_version variable 2020-06-04 11:23:51 +02:00
yalh76
f0e204bcd3 Change to be consistent with mysql helper 2020-06-04 02:28:20 +02:00
Alexandre Aubin
55036fad2c Calling ynh_print_err in case of error didn't work, and we probably want a ynh_die here 2020-06-04 01:18:52 +02:00
Alexandre Aubin
3d66eaec01 Retry wget on non-critical failures to try to avoid tmp dns issues 2020-06-04 00:48:18 +02:00
Alexandre Aubin
03432349d7 Add -o Acquire::Retries=3 to fix some stupid issues happening sometimes 2020-06-03 19:29:32 +02:00
ericgaspar
66bc921c4a
fix stupid mistake 2020-06-03 19:11:56 +02:00
Alexandre Aubin
b52f5bc182
Merge pull request #1001 from YunoHost/fix_add_fpm_restore
Fix ynh_add_fpm_config with template in restore
2020-06-03 16:32:59 +02:00
ericgaspar
faedbc534f Update nodejs 2020-05-31 18:02:29 +02:00
ericgaspar
ada94aec18
Update n to upstream version (6.5.1) 2020-05-30 17:30:38 +02:00
JimboJoe
94cecf682d
Update data/helpers.d/php
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-05-28 07:15:46 +02:00
Kay0u
a64dfd5676
A better Pin for sury 2020-05-26 18:17:49 +02:00
Kay0u
6b7f299dc6
Revert "Ugly hack to workaround sury pinning issues when installing dependencies"
This reverts commit fc30d82df5.
2020-05-26 18:12:07 +02:00
Jimmy Monin
10d33d5753 Fix ynh_add_fpm_config with template in restore 2020-05-24 15:16:07 +02:00
Alexandre Aubin
6637c8a84d Tell systemctl to stfu about creating symlinks when enabling/disabling services 2020-05-23 13:52:08 +02:00
Alexandre Aubin
33667d7b1a
Merge pull request #998 from YunoHost/psql-ynh_psql_setup_db-password
Do not create a new password if the user already exists
2020-05-22 17:43:05 +02:00
Alexandre Aubin
2a631fa23d We don't need those color codes... and warnings are already warnings... 2020-05-22 13:59:28 +02:00
Alexandre Aubin
bdbf1822c7 Add --quiet, otherwise lines like -- Logs being will be thought as an arg by getopts 2020-05-22 13:56:50 +02:00
Alexandre Aubin
2bcfb5a15a Don't display the hostname when calling journalctl, this takes horizontal space for nothing 2020-05-22 13:40:53 +02:00
Kayou
bb8c7ebb6a
Do not create a new password if the user already exists 2020-05-22 13:39:46 +02:00
Kay0u
7ad9fbd5b9
[fix] helper doc 2020-05-20 15:21:46 +02:00
Alexandre Aubin
ea43b46352
Merge pull request #994 from YunoHost/ugly-hack-for-stupid-sury-issues
Ugly hack to workaround sury pinning issues when installing dependencies
2020-05-19 23:01:27 +02:00
Alexandre Aubin
dd3dd9569a
Merge pull request #993 from YunoHost/rework-postgresql-first-time-helper
[fix] Rework ynh_psql_test_if_first_run
2020-05-19 20:07:03 +02:00
Alexandre Aubin
94ea826518 Most of the time there's no .ini file and it still displays an info about the file not existing when attempting to remove it 2020-05-18 01:31:37 +02:00
Alexandre Aubin
fc30d82df5 Ugly hack to workaround sury pinning issues when installing dependencies 2020-05-18 00:41:05 +02:00
Alexandre Aubin
2d2b3e6bb6 Rework ynh_psql_test_if_first_run 2020-05-17 04:22:44 +02:00
Alexandre Aubin
5c8c07b8c9 More cleaning of app install logs: we don't really care about debug for ynh_wait_dpkg_free 2020-05-17 03:24:26 +02:00
Alexandre Aubin
9cbd368dca Tweak apt/dpkg options to avoid the shitload of lines about progress bar stuff in logs 2020-05-14 04:46:18 +02:00
Bram
42bc8c354a
Merge pull request #972 from YunoHost/wget-timeout
Add a timeout to wget in helpers
2020-05-04 14:23:36 +02:00
Alexandre Aubin
d29bf04e7c Add a timeout to wget in helpers 2020-05-03 17:37:33 +02:00