Commit graph

3155 commits

Author SHA1 Message Date
Alexandre Aubin
5fd74577c4 /opt may not exist ... 2022-08-11 15:51:03 +02:00
Alexandre Aubin
7403d4679f Unused vars, black 2022-08-11 15:49:44 +02:00
Alexandre Aubin
80015a728c bullseye migration: tweak message to prepare for stable release 2022-08-07 22:57:36 +02:00
Alexandre Aubin
2b63058b45
bullseye migration: _generate_requirements -> _backup_pip_freeze_for_python_app_venvs 2022-08-07 19:07:32 +02:00
Alexandre Aubin
f83a357d33
bullseye migration: in venv / pip freeze backup mechanism, remove the venv_ignore stuff because it's not relevant anymore 2022-08-07 19:06:53 +02:00
ljf
5a3911c65f [enh] Split bullseye migration and venv migrations 2022-08-07 15:26:54 +02:00
ljf (zamentur)
e94b7197f2
[enh] Simplify the pip install call
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-08-07 15:04:55 +02:00
ljf (zamentur)
bcdb36b7b2
[enh] Simplify the pip freeze call
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-08-07 15:03:27 +02:00
theo@manjaro
d531f8e085 Proper locales 2022-07-22 16:22:04 +02:00
theo@manjaro
22fc36e16e Doc-strings and formatting 2022-07-22 16:15:31 +02:00
theo-is-taken
3fea05c4d6
Update src/yunohost/data_migrations/0021_migrate_to_bullseye.py
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
2022-07-22 16:01:18 +02:00
theo@manjaro
cdd5790808 Fixed content condition 2022-07-22 16:00:23 +02:00
theo@manjaro
b7b4dbfcdf Increased depth of scan 2022-07-22 15:56:54 +02:00
theo@manjaro
fc0266a62e Removed "useless" venv backup 2022-07-22 15:53:50 +02:00
theo@manjaro
3e4b88322d Merge branch 'buster_migration_fix' of https://github.com/theo-is-taken/yunohost into buster_migration_fix 2022-07-22 15:37:27 +02:00
theo@manjaro
a440afe8eb Clarification regarding the use of os functions instead of glob 2022-07-22 15:26:10 +02:00
theo-is-taken
2e9c4f991e
Update src/yunohost/data_migrations/0021_migrate_to_bullseye.py
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
2022-07-22 15:23:06 +02:00
theo@manjaro
1ce13d631d Detect venvs from /var/www/ and recursively 2022-07-22 14:15:21 +02:00
theo@manjaro
2d223c9158 Saving app's venv in a requirements file, in order to regenerate it
post-update
2022-07-22 10:22:28 +02:00
ljf (zamentur)
cc5649cfb2 [fix] Allow lime2 to upgrade even if kernel is hold (#1452)
* [fix] Allow lime2 to upgrade even if kernel is hold

* [fix] Bad set operation
2022-05-06 16:27:39 +02:00
Alexandre Aubin
b928dd1222 migrate_to_bullseye: /etc/apt/sources.list may not exist 2022-04-27 16:25:14 +02:00
Alexandre Aubin
d07cf83d93 migrate_to_bullseye: tweaks to point to the current beta-testing forum thread 2022-01-19 20:44:51 +01:00
Alexandre Aubin
9c1f3c4be8 Revert "Tmp remove bullseye migration for stable release"
This reverts commit 383e540ee0.
2022-01-19 20:34:59 +01:00
Alexandre Aubin
383e540ee0 Tmp remove bullseye migration for stable release 2022-01-19 20:08:34 +01:00
yunohost-bot
7373971573 [CI] Format code with Black 2022-01-17 22:03:13 +00:00
Alexandre Aubin
deda909eba typoe / Aaaand ofc I forgot to pass the var as argument ∕o\ 2022-01-17 22:48:45 +01:00
Alexandre Aubin
019839dbf9 certificates: fix edge case where None is returned, triggering 'NoneType has no attribute get' 2022-01-17 22:06:49 +01:00
Alexandre Aubin
ac5718c666 migrate_to_bullseye: add super ugly and boring hack to tools_upgrade to run some commands needed after migrations é_è 2022-01-17 20:38:43 +01:00
Alexandre Aubin
c2c0358781 Moar boring apt warnings to filter 2022-01-17 16:23:27 +01:00
Alexandre Aubin
2612df97d0 hmpf 2022-01-17 15:47:19 +01:00
Alexandre Aubin
b80158befe typo, in bash return is only inside functions... 2022-01-17 14:31:06 +01:00
Alexandre Aubin
938d08134e migrate_to_bullseye: Try to tell the system to not yolorestart nginx in the middle of the big upgrade because of nginx-common... 2022-01-17 14:12:53 +01:00
Alexandre Aubin
08efbbb904 Revert "Tmp remove bullseye migration for minor release"
This reverts commit f322783d15.
2022-01-14 01:37:17 +01:00
Alexandre Aubin
f322783d15 Tmp remove bullseye migration for minor release 2022-01-14 01:34:47 +01:00
Alexandre Aubin
fedcf6dabb migrate_to_bullseye: mark the base php7.4 packages as auto 2022-01-11 16:04:25 +01:00
yunohost-bot
bbcbc411ea [CI] Format code with Black 2022-01-07 22:02:58 +00:00
Alexandre Aubin
7aa840a956
Typo: grep doesn't like args starting with dashes 2022-01-07 22:46:15 +01:00
Alexandre Aubin
9cfbbd122b migrate_to_bullseye: add sury before running apt update otherwise we end up in an inconsistent state 2022-01-07 02:26:18 +01:00
Alexandre Aubin
79c70b7629 migrate_to_bullseye: add the list of app-ynh-deps in the php7.4 install trick, because that seem to solve some stupid dependency blocage issues... 2022-01-07 01:01:19 +01:00
Kayou
2b3138ef80
remove args for metadata (#1405)
* remove args for metadata

* Add explanation for removing 'args' from log metadata

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-01-06 17:37:05 +01:00
Tagada
b5e04df398 [fix] Force install certificate on yunohost domain add 2022-01-06 11:50:10 +01:00
Alexandre Aubin
fa163cbc2e migrate_to_bullseye: zblerg, more constrains to not yoloremove app-ynh-deps ... 2022-01-05 19:50:50 +01:00
Alexandre Aubin
17ad3c8581 migrate_to_bullseye: fix typo + reorganize a couple steps 2022-01-05 17:45:23 +01:00
Alexandre Aubin
3cc1a0a59d tools_upgrade: filter more boring apt messages 2022-01-05 17:44:15 +01:00
yunohost-bot
05b93aaaf1 [CI] Format code with Black 2022-01-03 16:01:49 +00:00
Alexandre Aubin
b552b792df
Merge pull request #1388 from YunoHost/enh-ssh-password-authentication-setting
[enh] Manage SSH PasswordAuthentication setting
2022-01-03 16:35:45 +01:00
Alexandre Aubin
e98ba46e4b
postinstall: don't skip migrate_to_bullseye migration when installing a fresh buster 2022-01-03 16:32:34 +01:00
Alexandre Aubin
fa9365d5fa
Yolotweaking for the bullseye migration mecanism to also install, for example, php7.4-zip if an app is gonna need it 2022-01-03 16:28:35 +01:00
Alexandre Aubin
adb029eb98
Merge pull request #1400 from YunoHost/lgtm-warnings
Lgtm warnings
2021-12-30 18:49:01 +01:00
Kay0u
7cb96c6652
fix ldap_migration decorator 2021-12-30 00:25:54 +01:00