Jocelyn Delalande
e66190934f
Cleanup outdated comment
2018-12-20 08:07:48 +01:00
Jocelyn Delalande
19bede5ab0
Factorize pip stuff
...
between install and upgrade
2018-12-20 08:07:30 +01:00
Jocelyn Delalande
6fde558788
Upgrade upstream to 3.x
...
Should fix the failing level2 of yunohost-apps CI also (infinite redirection
bug fixed upstream).
Fix #30
Ref https://github.com/YunoHost/apps/pull/553#issuecomment-448883502
2018-12-20 07:30:28 +01:00
Jocelyn Delalande
daa8266d13
Add space char to avoid confusing package_linter
...
The code was working but crashing package_linter
2018-12-18 18:30:44 +01:00
Jocelyn Delalande
87df116166
Handle Python version change on upgrade
...
Whispers: Actually that is to handle Jessie → Strech upgrade, that switches
from Py 3.4 to 3.5.
2018-12-18 18:28:00 +01:00
Jocelyn Delalande
321d6cb2d9
Use ynh helpers for error handling
...
Instead of doing it by hand.
Also we now rely on the fact ynh automatically runs uninstall script if the
install fails. So no more need for manual cleanup.
2018-12-18 18:28:00 +01:00
Jocelyn Delalande
ca79fcdbdd
Upgrade to 2.x upstream
...
Huge change in package, mainly because we switch from a tarball-based install to a
pip-based install (which is the default install method).
It require quite some refactor to common.sh and a more consistent and clear
migration handing in upgrade script.
Fix #19 #16
2018-06-24 02:22:25 +02:00
Jocelyn Delalande
6f8b6b7e57
Fix SECRET_KEY regeneration on upgrade
...
It was failing in case when the random key contained "/" char.
2018-04-03 00:32:08 +02:00
Jocelyn Delalande
efc35dd01d
Switch from Python-MySQL → PySQL
...
Even if Python-MySQL is the default lib for `mysql://` scheme with SQLAlchemy, it
got no release since 2014, and does not support Py3. PySQL seems to be the
current standard.
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
05807e6a47
Add rollback function to upgrade
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
d738df4875
Switchs to python3
...
rebuilds the venv from scratch on upgrade.
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
bb40c91db7
[fix] Adapt to new ihatemoney settings behaviour
...
Since v1.0 ihatemoney reads its settings from /etc/ihatemoney/ihatemoney.cfg
See https://github.com/spiral-project/ihatemoney/pull/193
2017-06-21 17:10:26 +02:00
Jocelyn Delalande
87fac52549
Fix several mis-ordered and missing instructions
2017-06-18 17:14:35 +02:00
Jocelyn Delalande
cd65e10413
Fix upgrade script
...
(common inclusion was failing)
2017-06-17 18:27:41 +02:00
Jocelyn Delalande
c114aa6ac8
Use releases tarballs rather than git master.
...
- upgrade to ihatemoney 0.9
- refactor some code into a `_common.sh`
2017-06-17 00:22:16 +02:00
Jocelyn Delalande
cd55bf42e2
Use the recommended set
in scripts
2017-03-18 19:13:10 +01:00
Jocelyn Delande
4944d0a96f
Fix upgrade script
...
refs #5
2016-07-10 17:41:41 +02:00
Jocelyn Delande
f039b6f710
Fix manifest to comply with ynh 2.4 style
...
The shift to 2.4 is not finished though ; still TODO :
- backup/restore scripts
- use of the helpers ?
- remove deprecated yunohost commands
2016-06-18 00:33:51 +02:00
Jocelyn Delande
6cf166e216
Added upgrade script
2015-05-02 16:36:51 +02:00