Commit graph

366 commits

Author SHA1 Message Date
Alexandre Aubin
7636b486c0
Merge pull request #1617 from YunoHost/more-robust-service-start-detection
helpers: more robust way to grep that the service correctly started ?
2023-02-28 13:22:46 +01:00
Alexandre Aubin
e03f609e9b helpers: tweak behavior of checksum helper in CI context to help debug why file appear as 'manually modified' 2023-02-27 19:30:18 +01:00
Alexandre Aubin
7631d380fb helpers: more robust way to grep that the service correctly started ? 2023-02-27 17:08:00 +01:00
Alexandre Aubin
eb6d9df92f helpers: add support for a sources.toml to modernize and replace app.src format 2023-02-26 20:09:04 +01:00
Alexandre Aubin
2b70ccbf40 apps: simplify the redaction of change_url scripts by adding a new ynh_change_url_nginx_config helper + predefining new/old/change domain/path variables 2023-02-20 17:52:27 +01:00
Alexandre Aubin
60b21795b8 appsv2: in php helpers, use the global $phpversion var/setting by default instead of $YNH_PHP_VERSION 2023-02-15 19:49:54 +01:00
Alexandre Aubin
e24ddd299e helpers: in apt/php stuff, don't try to upgrade-alternatives if the default PHP version ain't available anymore 2023-02-15 19:24:14 +01:00
Alexandre Aubin
e39c89e087
Merge branch 'dev' into dev 2023-02-06 17:48:07 +01:00
Alexandre Aubin
cb505b578b
ynh_install_composer: use either final_path or install_dir depending on packaging format 2023-02-06 17:47:03 +01:00
ljf
ca0db0ec58
[fix] ynh_write_var_in_file should replace one occurencies 2023-02-06 15:44:50 +01:00
ljf (zamentur)
9f686a115f
[fix] Put a & into a config var 2023-02-06 14:28:06 +01:00
ljf (zamentur)
8241e26fc2
[fix] Write var in files with redundants keys 2023-02-06 13:51:32 +01:00
ljf (zamentur)
f742bdf832
[fix] Allow to do replace string with @ 2023-02-06 13:26:36 +01:00
Alexandre Aubin
3bbba640e9 appsv2: ignore the old/ugly/legacy removal of apt deps when removing the php conf, because that's handled by the apt resource 2023-02-03 21:05:23 +01:00
Éric Gaspar
634fd6e7fc Fix workdir variable for package v.2 2023-02-03 09:45:20 +01:00
Alexandre Aubin
13d4e16e7d helpers/appsv2: replacement of __PHPVERSION__ should use the phpversion setting, not YNH_PHP_VERSION 2023-02-03 02:25:36 +01:00
Alexandre Aubin
9b7668dab0 helpers: fix remaining __FINALPATH__ in php template (note that this is backward compatible because ynh_add_config will replace __INSTALL_DIR__ by $finalpath if $finalpath exists... 2023-02-02 23:57:24 +01:00
Florent
b9dc371a1c
Fixes $app unbound when running ynh_secure_remove
Fixes this issue: https://github.com/YunoHost/issues/issues/2138
2023-02-02 16:33:01 +01:00
tituspijean
7dd2b41eef
Print size in error message if ynh_setup_source checksum fails
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-01-31 18:07:25 +01:00
tituspijean
90aa55599d
Output checksums if ynh_setup_source fails
during their verification.
2023-01-31 17:56:32 +01:00
Éric Gaspar
e73209b7c4 Add --routines flag 2023-01-16 16:58:18 +01:00
Alexandre Aubin
7d9984c109 Fix a bunch of inconsistency or variable not properly replaced between final_path/install_dir 2022-12-26 15:37:28 +01:00
Alexandre Aubin
47b9b8b520 configpanels: fix inconsistent return format for boolean, sometimes 1/0, sometimes True/False -> force normalization of values when calling get() for a single setting from a config panel 2022-12-20 19:51:21 +01:00
Alexandre Aubin
94f21ea20e multimedia: fix edgecase where setfacl crashes because of broken symlinks 2022-12-01 23:22:46 +01:00
Augustin Trancart
f49c121b8c Better error message when psql is not there for database_exists (#992) 2022-11-29 22:23:35 +01:00
tituspijean
079c3fab00
Fix docker-image-extract script name (#1532)
* Fix docker-image-extract script name

* Update docker-image-extract

Use code from 95b3db8af8
2022-11-18 20:11:58 +01:00
yunohost-bot
c255c03193 Upgrade n to v9.0.1 2022-11-05 05:13:40 +00:00
Alexandre Aubin
55baa2aa4a
Merge pull request #1502 from YunoHost/11.1
11.1
2022-10-24 17:58:04 +02:00
yalh76
fc8f433573 Not need to force $YNH_APP_BASEDIR 2022-10-13 01:04:59 +02:00
Alexandre Aubin
2b3ec3ace8 helpers: fix issue parsing yunohost requirement from manifest 2022-10-09 17:02:41 +02:00
Alexandre Aubin
6171379cfb
Merge pull request #1509 from YunoHost/upgrade_replace
Able to replace sources
2022-10-06 22:50:44 +02:00
Alexandre Aubin
5b3f0440be --replace -> --full_replace 2022-10-06 19:38:50 +02:00
Dante
0252a6fd53 [fix] Config panel nested bind statements 2022-10-06 14:20:49 +02:00
Alexandre Aubin
d1d203726b Merge remote-tracking branch 'origin/enh-actions' into 11.1 2022-10-04 22:33:28 +02:00
yalh76
37c2f941de Able to replace sources 2022-10-01 17:15:21 +02:00
Alexandre Aubin
90e3f3235c configpanels: Quick and dirty POC for config panel actions 2022-09-30 15:03:03 +02:00
Alexandre Aubin
784e454633
Merge pull request #1505 from YunoHost/docker_extract_image
Implement docker-image-extract
2022-09-28 17:21:47 +02:00
Alexandre Aubin
09e3cab52c Move docker-extract helper inside a 'full' vendor folder with LICENSE and README linking to original repo 2022-09-28 17:19:50 +02:00
yalh76
8f7a996800 Merge branch 'docker_extract_image' of https://github.com/YunoHost/yunohost into docker_extract_image 2022-09-07 20:02:47 +02:00
yalh76
18e4b010f0 Improving 2022-09-07 20:02:40 +02:00
yalh76
59dbeac5be
Update helpers/utils
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-09-07 19:37:20 +02:00
Alexandre Aubin
e51cdd987c helper ynh_get_ram: LANG= isn't enough to get en_US output, gotta use LC_ALL 2022-09-07 13:08:17 +02:00
yalh76
d0a0a8a9c9 Made myFile executable 2022-09-07 08:12:13 +02:00
yalh76
96d40556dd Simplification 2022-09-07 08:04:47 +02:00
yalh76
7695dede06 chmod +x 2022-09-07 07:44:25 +02:00
yalh76
102c6225ce Implement docker-image-extract 2022-09-07 07:22:04 +02:00
Alexandre Aubin
a2ac2005b5
Merge pull request #1289 from YunoHost/manifestv2
[enh] App manifest v2
2022-09-04 19:51:47 +02:00
Alexandre Aubin
762aa937fd
Merge pull request #1477 from YunoHost/ci-auto-update-n-v9.0.0
Upgrade n to version 9.0.0
2022-09-04 19:41:55 +02:00
tituspijean
68b4d30986 Fix ynh_delete_file_checksum in helpers/config
no need for `--update_only`
2022-09-02 23:27:23 +02:00
Alexandre Aubin
4faeabefa2 manifestv2: moar test fixes 2022-09-01 21:51:48 +02:00