Commit graph

  • c6bda180b4
    Merge pull request #1865 from yunohost-bot/weblate-yunohost-core Alexandre Aubin 2024-06-08 15:45:18 +02:00
  • b439a0f7b5 Translated using Weblate (French) OniriCorpe 2024-06-04 15:59:08 +00:00
  • 9a09680b6e Translated using Weblate (French) clecle226 2024-06-01 15:39:43 +00:00
  • 984300422e
    Merge pull request #1866 from chri2/ynh_read_manifest Alexandre Aubin 2024-06-07 12:08:13 +02:00
  • 2bd76986a8
    correction in help for ynh_read_manifest Chris Vogel 2024-06-07 11:53:40 +02:00
  • dd394e94dc Update changelog for 11.2.14 debian/11.2.14 Félix Piédallu 2024-06-05 15:54:37 +02:00
  • 5676a72750 helpers/go: fix missing git fetch Félix Piédallu 2024-06-05 15:25:28 +02:00
  • 0572ed8aad Translated using Weblate (French) OniriCorpe 2024-06-04 15:59:08 +00:00
  • 31efe50085 Translated using Weblate (French) clecle226 2024-06-01 15:39:43 +00:00
  • c836d88b9a Update changelog for 11.2.13 debian/11.2.13 Alexandre Aubin 2024-06-04 16:48:24 +02:00
  • 7c71bd8663 Merge remote-tracking branch 'origin/dev' into bookworm Alexandre Aubin 2024-06-04 16:11:40 +02:00
  • 3a1c8287b4 helpers 2.1: merge new --jinja option for templating Alexandre Aubin 2024-06-04 15:08:26 +02:00
  • c6a7d3a591 Merge remote-tracking branch 'origin/dev' into helpers-2.1 Alexandre Aubin 2024-06-04 15:03:00 +02:00
  • fef411e1ca
    Merge pull request #1851 from YunoHost/add-jinja-support-to-ynh-add-config Alexandre Aubin 2024-06-04 15:02:12 +02:00
  • 75b267dc42 helpers: moar fixes for helper versioning, use -L to follow symlink Alexandre Aubin 2024-06-04 14:59:17 +02:00
  • e039d2e195 helpers: rewrite ynh_add_swap: rename files swap_file->swap_yunohost, sysctl 999-yunohost-swap.conf Félix Piédallu 2024-05-31 16:32:46 +02:00
  • 03837bd9b8 helpers: rewrite ynh_add_swap: cleaner code Félix Piédallu 2024-05-31 16:32:15 +02:00
  • 662bc6097a helpers: rewrite ynh_add_swap: cleaner code with simpler calculations Félix Piédallu 2024-05-31 16:31:51 +02:00
  • ee3be7a0ed helpers: rewrite ynh_add_swap: cleaner code with early exits Félix Piédallu 2024-05-31 16:28:25 +02:00
  • 0e90430419 helpers: rewrite ynh_del_swap with a variable swap file location. Félix Piédallu 2024-05-31 16:25:14 +02:00
  • 2aa14345fe helpers: replace ynh_is_main_device_a_sd_card with ynh_is_on_sd_card --dir=the_dir_to_check Félix Piédallu 2024-05-31 16:22:21 +02:00
  • f005a11a0d Update documentation for ynh_add/del_swap Félix Piédallu 2024-05-31 16:20:54 +02:00
  • c4c0210dc1
    Fix helpers loader: helpers are available in v1 or v2 Alexandre Aubin 2024-06-03 17:42:17 +02:00
  • b67d4621fc apps: fix YNH_HELPERS_VERSION again because packaging_format is actually a float hence 1.0/2.0 instead of 1 or 2 x_x Alexandre Aubin 2024-06-03 13:38:43 +02:00
  • fb32842c89
    Merge pull request #1864 from YunoHost/actions/black Alexandre Aubin 2024-06-03 13:22:37 +02:00
  • 88d221c52e 🎨 Format Python code with Black alexAubin 2024-06-03 11:10:39 +00:00
  • f5dc382888 apps: for YNH_HELPERS_VERSION to be a string for the bash env, otherwise Popen explodes Alexandre Aubin 2024-06-03 13:10:01 +02:00
  • 893e1230ef
    Merge pull request #1863 from YunoHost/fix_go_helper Alexandre Aubin 2024-06-03 12:34:23 +02:00
  • 23038ea62b
    Merge branch 'dev' into fix_go_helper Alexandre Aubin 2024-06-03 12:25:53 +02:00
  • cca2962b11 helpers: YNH_APP_INSTANCE_NAME -> app for consistency Alexandre Aubin 2024-06-03 12:18:28 +02:00
  • 841f6500b5 helpers/go: add double quotes to trigger syntax errors when bugs occur instead of silently behaving incorrectly. Félix Piédallu 2024-06-03 12:02:17 +02:00
  • e6b676df5b helpers: goenv is broken when checking out latest master commit. Félix Piédallu 2024-06-03 11:55:40 +02:00
  • d77b646971
    Merge pull request #1860 from YunoHost/n-autoupdater Salamandar 2024-06-02 20:46:16 +02:00
  • 5e6c3433ee Fix github workflow n_updater (empty version number) Félix Piédallu 2024-06-02 20:30:37 +02:00
  • ab892be38b One vendor to rule them all tituspijean 2024-06-02 15:44:56 +02:00
  • b4f2e5f748 Fix github workflow that updates 'n' in helper vendors helpers_vendor Félix Piédallu 2024-06-02 20:30:37 +02:00
  • 19d063c798 helpers: Move vendor outside the versionned helpers, but with symlinks Félix Piédallu 2024-06-02 20:26:54 +02:00
  • 064fa32a39
    Merge pull request #1862 from YunoHost/cleanup_workflows Salamandar 2024-06-02 20:40:10 +02:00
  • 2d23798283 Simplify github workflow: peter-evans/create-pull-request@v6 already checks if diff exists Félix Piédallu 2024-06-02 20:34:19 +02:00
  • 5c400169af helpers: rewrite ynh_add_swap: rename files swap_file->swap_yunohost, sysctl 999-yunohost-swap.conf Félix Piédallu 2024-05-31 16:32:46 +02:00
  • 658f7a3129 helpers: rewrite ynh_add_swap: cleaner code Félix Piédallu 2024-05-31 16:32:15 +02:00
  • 40afea4913 helpers: rewrite ynh_add_swap: cleaner code with simpler calculations Félix Piédallu 2024-05-31 16:31:51 +02:00
  • ad481a2e90 helpers: rewrite ynh_add_swap: cleaner code with early exits Félix Piédallu 2024-05-31 16:28:25 +02:00
  • 128f67fc16 helpers: rewrite ynh_del_swap with a variable swap file location. Félix Piédallu 2024-05-31 16:25:14 +02:00
  • a9302dff22 helpers: replace ynh_is_main_device_a_sd_card with ynh_is_on_sd_card --dir=the_dir_to_check Félix Piédallu 2024-05-31 16:22:21 +02:00
  • d547fa832f Update documentation for ynh_add/del_swap Félix Piédallu 2024-05-31 16:20:54 +02:00
  • beff899e5f
    [enh] Configure swappiness ljf (zamentur) 2024-05-31 09:03:01 +02:00
  • 38fc88dcbe
    Fixes and enhancements for swap management tituspijean 2024-05-30 21:34:49 +00:00
  • a54ec11ae7
    Implement config panel for swap management tituspijean 2024-05-30 22:11:57 +02:00
  • fe6eabab40
    Update ynh_local_curl Chris Vogel 2024-05-29 11:29:15 +02:00
  • f78775c3fe
    Update getopts Chris Vogel 2024-05-28 12:43:53 +02:00
  • af3fd83ef5
    Update getopts Chris Vogel 2024-05-28 12:42:52 +02:00
  • 65abffa1ce Merge remote-tracking branch 'origin/dev' into add-jinja-support-to-ynh-add-config Alexandre Aubin 2024-05-28 11:27:59 +02:00
  • 4a9a3ba138
    Update doc about helper ynh_add_config Josué Tille 2024-05-28 00:39:04 +02:00
  • 80f07a9974 helpers 2.1: ynh_if_upgrading_from_... -> ynh_app_upgrading_from_... Alexandre Aubin 2024-05-28 00:09:00 +02:00
  • 6835a664c7 Merge remote-tracking branch 'origin/dev' into helpers-2.1 Alexandre Aubin 2024-05-28 00:02:26 +02:00
  • 346f42643b helpers 2.1: move ynh_add_config, ynh_replace_vars, ynh_read_var_in_file, ynh_write_var_in_file and ynh_render_template to a separate 'templating' file Alexandre Aubin 2024-05-27 23:48:22 +02:00
  • 7c1b07ee0f helpers 2.1: Simplify ynh_app_upstream_version and ynh_read_manifest Alexandre Aubin 2024-05-27 23:45:03 +02:00
  • 88684c7937 helpers 2.1: remove legacy ynh_legacy_permissions_exists and ynh_legacy_permissions_delete_all Alexandre Aubin 2024-05-27 23:43:35 +02:00
  • 84a7b23e8a helpers 2.1: replace ynh_compare_current_package_version with simpler ynh_if_upgrading_from_version_prior_to and ynh_if_upgrading_from_version_prior_or_equal_to Alexandre Aubin 2024-05-27 23:42:53 +02:00
  • 70f5154130 helpers 2.1: remove ynh_get_debian_release, apps should just use $YNH_DEBIAN_VERSION Alexandre Aubin 2024-05-27 23:40:44 +02:00
  • 3a500d8457 helpers 2.1: remove ynh_require_ram and unused --ignore_swap and --only_swap options in ynh_get_ram Alexandre Aubin 2024-05-27 23:38:22 +02:00
  • a240fb2316 helpers 2.1: use positional args for ynh_normalize_url_path Alexandre Aubin 2024-05-27 22:50:00 +02:00
  • f895724a25 helpers 2.1: remove legacy ynh_webpath_available and ynh_webpath_register Alexandre Aubin 2024-05-27 22:45:25 +02:00
  • 8b59e315bf helpers 2.1: remove legacy ynh_psql_test_if_first_run Alexandre Aubin 2024-05-27 22:42:52 +02:00
  • b79ff15d32 helpers 2.1: remove legacy --nonappend/--non-append arg in logrotate helper Alexandre Aubin 2024-05-27 22:40:35 +02:00
  • 6b577bdd23 helpers 2.1: remove packaging v1 ynh_backup_before_upgrade and ynh_restore_upgradebackup, handled by core in packaging v2 Alexandre Aubin 2024-05-27 22:39:43 +02:00
  • 94c12c6409 helpers 2.1: heavily simplify php-related helpers: remove --phpversion argument, --composerversion (define YNH_COMPOSER_VERSION prior to calling helper), --usage/--footprint (can still be customized by defining fpm_usage/footprint setting) Alexandre Aubin 2024-05-27 22:38:53 +02:00
  • 1b03058858 helpers 2.1: simplify the apt extra repo clusterfuck / unused args etc Alexandre Aubin 2024-05-27 21:47:32 +02:00
  • 422e02244d helpers 2.1: fix indent Alexandre Aubin 2024-05-27 20:20:12 +02:00
  • 365d0b25af helpers 2.1: drop ynh_find_port, ynh_port_available, ynh_validate_ip4/6, keep only ynh_validate_ip Alexandre Aubin 2024-05-27 20:19:25 +02:00
  • aa6634fd22 helpers 2.1: rework argument parsing comment to improve readability, consistency Alexandre Aubin 2024-05-27 20:14:39 +02:00
  • 0915a6a70b helpers 2.1: Drop support for old .src format in ynh_setup_source Alexandre Aubin 2024-05-27 18:45:54 +02:00
  • 4a74a7c51d helpers 2.1: remove support for __NAME__ and __NAMETOCHANGE__ replaced by $app in templates Alexandre Aubin 2024-05-27 18:40:18 +02:00
  • 6e13a4db1b helpers 2.1: remove unecessary --app=$app in internals ynh_app_setting_get/set calls Alexandre Aubin 2024-05-27 18:37:38 +02:00
  • b914ad9093 helpers 2.1: drop support for 'legacy args' (positionals) in helpers Alexandre Aubin 2024-05-27 18:31:57 +02:00
  • 084ecd6578 helpers 2.1: backport most of the bookworm changes Alexandre Aubin 2024-05-27 17:57:56 +02:00
  • 204800e878 helpers: copy v1 helpers to new v2.1 helpers-2.1-copy-from-v1 Alexandre Aubin 2024-05-27 17:49:30 +02:00
  • 06dc3da3f4
    Merge pull request #1854 from YunoHost/fix_helpers Alexandre Aubin 2024-05-27 17:29:02 +02:00
  • af2a56012f Fix helpers: actually that might be a bad idea to read arguments as if source helpers has no arguments passed, $@ is the main script arguments. Félix Piédallu 2024-05-27 17:26:56 +02:00
  • 55cfc46cdd
    Merge pull request #1852 from YunoHost/actions/black Alexandre Aubin 2024-05-27 16:58:39 +02:00
  • e3282f2329 🎨 Format Python code with Black alexAubin 2024-05-27 14:58:01 +00:00
  • 2047d536be helpers: we need helpers.v2.d to be a symlink to helpers.v1.d? Alexandre Aubin 2024-05-27 16:57:33 +02:00
  • 8b9a02539e Add new versions of helpers. Based on bash-modules. helpersv2 Félix Piédallu 2023-09-30 20:23:18 +02:00
  • c1b3c3f785
    Merge pull request #1717 from Salamandar/helpers Alexandre Aubin 2024-05-27 16:49:05 +02:00
  • 1e47a1438b apps: auto-define YNH_HELPERS_VERSION from a new 'helpers_version' key in the manifest's [integration] section, or fallback to the 'packaging_format' info Alexandre Aubin 2024-05-27 16:38:09 +02:00
  • 7011b1c879 YNH_APP_HELPERS_DIR -> YNH_HELPERS_DIR Alexandre Aubin 2024-05-27 16:35:38 +02:00
  • 5d3131b494 rework top-level helpers Félix Piédallu 2024-05-26 19:45:56 +02:00
  • a2bc8c4f38 Create versionned directories of the helpers Félix Piédallu 2023-09-28 17:31:55 +02:00
  • 12764652b0 helpers: Add a --jinja option to ynh_add_config Alexandre Aubin 2024-05-26 20:10:30 +02:00
  • 1e13c618cf
    Allow to force-adding aliases for special groups mailalias-force tituspijean 2024-05-26 14:04:56 +02:00
  • b106c9fcdd
    Merge cfcbeb3fa9 into 6aa9d05372 OniriCorpe 2024-05-24 00:06:08 +02:00
  • cfcbeb3fa9 enable the $app service during install OniriCorpe 2024-05-24 00:06:03 +02:00
  • e8c6abb768
    Update helpers/systemd OniriCorpe 2024-05-23 23:53:47 +02:00
  • 8bdaedfde7
    Update helpers/systemd OniriCorpe 2024-05-23 23:51:02 +02:00
  • 95250230bc also handle 'reload_or_restart' and 'restart' OniriCorpe 2024-05-23 19:01:54 +02:00
  • 266408e235 do not enable a service disabled by the user OniriCorpe 2024-05-23 18:51:16 +02:00
  • 439b993130
    Merge 85d5ed1284 into 6aa9d05372 Thatoo 2024-05-23 18:51:28 +02:00
  • f5eb08db02
    Merge 08bcfe9daf into 6aa9d05372 Tagada 2024-05-23 18:51:27 +02:00
  • c5adfbe826
    Merge 04fbff343e into 6aa9d05372 grosmanal 2024-05-23 18:51:27 +02:00