Commit graph

115 commits

Author SHA1 Message Date
Romain Bignon
876535ff90 improve error message when a module isn't loadable 2012-02-01 23:07:25 +01:00
Romain Bignon
f7a35c7ea8 add a method Weboob.load_backend() 2012-02-01 23:06:00 +01:00
Romain Bignon
8c6fe811fe fix order of loaded repositories 2012-02-01 08:33:59 +01:00
Laurent Bachelier
8c50324dbf Don't remove the module if the signature is invalid
Remove it only just before extraction
2012-01-30 15:48:28 +01:00
Romain Bignon
97ef1f4e8c little improvements 2012-01-30 15:28:05 +01:00
Laurent Bachelier
307ccbc36c Display keyring version and hash
So that the user can easily check it is legit through another channel.
2012-01-30 11:10:10 +01:00
Laurent Bachelier
9da69d34bd Check the packages are valid at install 2012-01-30 01:21:01 +01:00
Laurent Bachelier
f3d962b19a Retrieve the keyring, and check its updates are valid 2012-01-30 01:20:57 +01:00
Laurent Bachelier
dd60e65174 Add support for generating a keyring 2012-01-29 16:50:23 +01:00
Laurent Bachelier
22fec7f9e6 Reinstall the module if its directory was deleted
Useful for stupid users (like me) who delete the directory.
2012-01-29 15:56:35 +01:00
Laurent Bachelier
764bfd18ec Precompile module directory at install 2012-01-29 15:56:35 +01:00
Laurent Bachelier
bcec326f35 Remove the whole module directory before updating
So that deleted/renamed files upstream are actually deleted.
Also check that the proper module directory was created after extraction.
2012-01-29 15:56:35 +01:00
Laurent Bachelier
863a32b96e Small enhancements to mtime handling
* Use directories mtime (so deleted or renamed files are taken into account)
* Set the tarfile mtime close to the version
2012-01-29 15:56:35 +01:00
Romain Bignon
65497fe91b calculate mtime of a module recursively 2012-01-28 14:15:30 +01:00
Romain Bignon
6f9a0215eb Revert "repositories/ is a config directory"
This reverts commit 70bdde2657.
2012-01-28 13:48:10 +01:00
Romain Bignon
70bdde2657 repositories/ is a config directory 2012-01-28 11:45:29 +01:00
Laurent Bachelier
a3b75fc2bb Use the correct location for sources.list
It was moved to the right directory, but Repositories tries to find it
in the datadir, not in the workdir.
2012-01-27 23:37:08 +01:00
Laurent Bachelier
adb7b95796 Fix to still use with keyword with Python 2.6
Also add imports for Python 2.6 usage.
2012-01-27 23:14:44 +01:00
Romain Bignon
7d3a717722 correctly remove the old .weboob directory 2012-01-27 17:41:11 +01:00
Romain Bignon
3a3bbd377e support XDG Base Directory Specification (closes #765) 2012-01-27 17:34:08 +01:00
Romain Bignon
65169a8a8d fix compatibility with python2.6 2012-01-21 16:46:33 +01:00
Romain Bignon
c0655ad9ef update sources.list comments 2012-01-21 16:24:35 +01:00
Romain Bignon
f28fac3a27 oops, fix crash (closes #764) 2012-01-20 13:58:19 +01:00
Romain Bignon
b3c797978a automatically install missing modules referenced in ~/.weboob/backends 2012-01-19 10:48:26 +01:00
Romain Bignon
5083103d1a fix messages 2012-01-18 11:45:47 +01:00
Laurent Bachelier
55465a2e4c Display the proper config file path 2012-01-18 00:42:19 +01:00
Romain Bignon
9d87c8bc37 "weboob-config update" installs missing modules referenced in ~/.weboob/backends 2012-01-17 17:59:03 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
Romain Bignon
c26f7170bc remove unused import 2011-06-21 13:20:41 +02:00
Romain Bignon
2316872c0c more generic test in creation of config file (closes #556) 2011-06-21 12:48:40 +02:00
Romain Bignon
cb1372b99f new class BackendConfig to manage backend configs 2011-05-21 10:26:57 +02:00
Romain Bignon
be2be4af9c add a callbacks system 2011-05-21 10:26:31 +02:00
Romain Bignon
7ab8202660 unused import 2011-05-03 16:55:22 +02:00
Romain Bignon
f603c44d6c fix iter_caps() to not return only immediate base cap classes 2011-05-03 16:11:14 +02:00
Romain Bignon
7602f0c1cc oops invalid syntax 2011-04-26 13:17:39 +02:00
Romain
f43b2e6834 Fix FreeBSD support (permission issue)
Signed-off-by: Romain <romain.garbage@gmail.com>
2011-04-26 13:05:42 +02:00
Romain Bignon
c6854cbfa3 FreeBSD support (thanks to Romain Garbage) 2011-04-26 08:17:38 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Laurent Dufréchou
86937aef95 Modifications to support boobank under win32
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2011-03-17 11:55:46 +01:00
Romain Bignon
fc38d9e3a4 remove unused imports 2011-03-14 17:38:04 +01:00
Romain Bignon
9cc771f445 remove useless debug messages 2011-03-14 17:28:05 +01:00
Bluebird75
3f40fb2de7 - use an OS independant way of identifying base module directory - use a more portable way of reading stty output 2011-03-14 17:19:53 +01:00
Romain Bignon
fefcf65b8f catch every exceptions when trying to load a module 2011-03-01 11:09:31 +01:00
Romain Bignon
8c78764be5 fix when backend is unknown (closes #436) 2010-11-29 21:07:28 +01:00
Romain Bignon
11123a1176 when the backends string is empty do not display a warning message 2010-11-28 15:45:31 +01:00
Christophe Benz
0202534969 escape * in docstring 2010-11-25 16:39:05 +01:00
Christophe Benz
3b733ce268 python2.5 compatibility 2010-11-21 21:01:18 +01:00
Romain Bignon
a56eaf09e2 wrap IScheduler.cancel() 2010-11-20 20:53:21 +01:00
Romain Bignon
b6821b0567 fixes related to ModuleLoadError 2010-11-17 19:43:25 +01:00
Christophe Benz
f41d5157c1 return original backtrace only if debug level 2010-11-17 15:36:20 +01:00