Commit Graph

57 Commits

Author SHA1 Message Date
Fabio Erculiani
c08cb61645 [entropy.client.interfaces.methods] partially complete API documentation and cleanup 2011-03-05 19:08:23 +01:00
Fabio Erculiani
4f7e968e78 [entropy.client] Client: drop "noclientdb" argument (yay API break), replace with installed_repo, same (reversed) logic. 2011-03-05 16:39:03 +01:00
Fabio Erculiani
53a871ef0d [entropy.db] EntropyRepository, EntropyRepositoryBase: only return package_id from addPackage() and handlePackage() 2011-03-04 21:14:12 +01:00
Fabio Erculiani
6d4f75754a [equo] catch KeyError when calling get_noticeboard() 2011-02-01 13:35:06 +01:00
Fabio Erculiani
91468af5d9 [entropy.exceptions] move some exception to respective modules
Create entropy.transceivers.exceptions package containing transceiver
related stuff.
Create entropy.services.exceptions package containing services
related stuff.

Break API (yay!)
2010-12-03 18:20:56 +01:00
Fabio Erculiani
7dd5f920c7 [equo,sulfur] port to new configuration files syntax 2010-11-17 18:47:39 +01:00
Fabio Erculiani
427cecf0c0 [equo] catch DBusException exception when trying to use org.entropy.Client dbus interface 2010-11-12 06:33:00 +01:00
Fabio Erculiani
2531888516 [entropy.db] deprecate EntropyRepositoryBase.commitChanges() in favour of commit() 2010-09-28 11:13:12 +02:00
Fabio Erculiani
caff8cc759 [entropy.db] rename EntropyRepositoryBase.closeDB() to EntropyRepositoryBase.close() keeping backward compatibility 2010-09-21 14:03:44 +02:00
Fabio Erculiani
3c95f72312 [equo] speedup "equo repo merge", call EntropyRepository.removePackage in a faster way 2010-09-12 02:45:41 +02:00
Fabio Erculiani
22940194fb [equo] when calling "equo repo merge" update installed packages metadata
Faking Entropy Client requires that the package URL is generated correctly,
in order to comply with this, fake information will be stored inside the
"installed package" metadatum, generally used by the installed packages
repository only.
2010-09-12 02:34:37 +02:00
Fabio Erculiani
4d646aa16a [equo] fix regression in text_repositories module, s/if/elif/ 2010-09-11 16:51:18 +02:00
Fabio Erculiani
f9598010d1 [equo] implement developers-only feature "equo repo merge <source repos> <dest repo>"
This feature helps Entropy repository developers to simulate client
side repository status by merging packages in one repository into another.
Doing this client-side makes possible to distribute the testing effort
and avoid touching critical data server-side.
2010-09-10 23:23:05 +02:00
Fabio Erculiani
3277ad4ebc [equo] text_repositories: add return to _remove_repository and _add_repository 2010-08-01 01:15:14 +02:00
Fabio Erculiani
5bab482ed9 [equo] avoid race condition when calling Client.shutdown() in finally context 2010-07-21 18:13:18 +02:00
Fabio Erculiani
1299e2de14 [equo] allow background repositories update via entropy-client-services when running unprivileged 2010-07-15 14:11:18 +02:00
Fabio Erculiani
07055331b5 [entropy.db.skel,entropy.client.interfaces.db] disallow unprivileged repository update 2010-07-15 10:56:01 +02:00
Fabio Erculiani
9dddfabb4a [entropy.client.interfaces/equo] add "equo repo mirrorsort" tool
There is a new method inside Entropy Client class, called
"reorder_mirrors". The aim is sorting repository mirrors automatically
basing on their response time and download speed of random data.
2010-06-30 15:23:03 +02:00
Fabio Erculiani
9c6782e21c [entropy.client.interfaces.repository] major Repository class rework
:: move repository update logic inside EntropyRepositoryBase.update()
   static method
:: provide two new static methods EntropyRepositoryBase.revision()
   and EntropyRepositoryBase.remote_revision() that have to be
   implemented by subclasses if they are supporting fetching local
   or remote revision.
:: several minor code quality improvements
2010-06-26 19:15:02 +02:00
Fabio Erculiani
7ae0a7eb07 [equo] add "equo repo add/remove" tools 2010-05-05 17:01:16 +02:00
Fabio Erculiani
7dfa627188 [equo/reagent/sulfur] use Client.shutdown() instead of Client.destroy() 2010-03-30 19:32:28 +02:00
Fabio Erculiani
86fa7fcf1f [equo] catch TimeoutError exceptions on UGC sync 2010-02-08 13:23:31 +01:00
Fabio Erculiani
5b6cc47baf [equo] fix "equo repo disable" output message 2010-02-02 23:27:59 +01:00
Fabio Erculiani
7a15f72585 [equo] when no repositories are provided on "equo update", create list from available repositories metadata 2010-02-02 08:12:47 +01:00
Fabio Erculiani
ca25e03936 [equo] add new repo tool "equo repo", making possible to enable/disable repositories via cmdline 2010-01-24 19:01:08 +01:00
Fabio Erculiani
40f090310b [entropy.output] rename TextInterface.inputBox into input_box 2010-01-11 18:05:47 +01:00
Fabio Erculiani
6d89177836 [entropy.client] move UGC information storage outside the main entropy lib 2010-01-03 23:18:41 +01:00
Fabio Erculiani
d8cc786858 [entropy.client.interfaces.repository] small & initial refactoring of Repository class 2009-12-31 18:27:11 +01:00
Fabio Erculiani
1597ea2fc4 [equo] some more code cleanup and polishing 2009-12-22 20:29:08 +01:00
Fabio Erculiani
7309d1446d [entropy*] move sabayonlinux.org domain info to sabayon.org, move more distro specific info to entropy.const 2009-12-21 23:50:31 +01:00
Fabio Erculiani
11f798c23c [entropy.client] remove get_repository_db_file_checksum, not used anymore 2009-10-10 23:22:28 +02:00
Fabio Erculiani
33c005e668 [entropy] fix common idioms 2009-10-05 14:08:34 +02:00
Fabio Erculiani
e452421c7f [entropy] fix whitespace after comma 2009-10-05 14:05:32 +02:00
Fabio Erculiani
71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani
2fc1a5980f [equo] fix package files header 2009-09-20 14:44:41 +02:00
Fabio Erculiani
7ab37ffe42 [entropy.client] noticeboard methods stabilisation + sulfur feature
:: complete noticeboard entropy.client API and methods names
:: add "stfu" feature to Sulfur noticeboard viewer as per Ian Whyman
   request
2009-08-25 20:03:48 +02:00
Fabio Erculiani
00c8865e60 [equo] add support for new noticeboard interface and methods 2009-08-24 16:03:24 +02:00
Fabio Erculiani
16961b52fc [client/text_repositories] fix "equo notice" browser when selecting invalid items 2009-08-05 16:46:24 +02:00
Fabio Erculiani
1759cc70a3 [client.text_repositories] add trailing \n when showing files content using "equo repoinfo" 2009-07-25 18:13:03 +02:00
Fabio Erculiani
4324af788b entropy.misc.RSS: renamed camelCase methods 2009-05-28 06:35:44 +02:00
Fabio Erculiani
e69164105c entropy.misc: initial code review and cleanup, rssFeed class renamed to RSS 2009-05-28 06:22:10 +02:00
Fabio Erculiani
bf9ac1a287 entropy.*: move from etpRepositories to SystemSettings['repositories']['available'] 2009-04-06 20:35:02 +02:00
Fabio Erculiani
a29421f4d7 entropy.core.SystemSettings: there are some parsers that MUST be run
before anything else. So, split the parsing order into two.

entropy.*: move code from etpRepositoriesOrder to SystemSettings['repositories']['order']
2009-04-06 19:20:56 +02:00
lxnay
d7151b6555 Entropy/*:
- update module imports to reflect the new entropy package structure
Entropy/Client/Interfaces/Package:
- fixed sources_fetch_step source packages download


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3150 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:36:47 +00:00
lxnay
83e184fc5e Entropy/*:
- make use of the new entropy package structure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:49:55 +00:00
lxnay
715421089b Entropy/MELTDOWN :-):
- entropy modules is now a python package, kept backward compatibility for now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00
lxnay
4ef1842bdc Entropy/TODO:
- update TODO
Entropy/Equo:
- if no repositories are configured, do not check against removed packages from repo
Entropy/Client:
- when running RepoInterface.sync, OnlineMirrorError exception is no longer raised


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3026 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 13:25:04 +00:00
lxnay
038c0761bd Entropy/Equo:
- fails on wrong extended parameters (like --as instead of --ask)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2719 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:33:49 +00:00
lxnay
0378c9c0ca Entropy/Equo:
- add support for notice boards
- add support for installed packages database backup/restore


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2522 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:14:44 +00:00
lxnay
8b5145bc65 Entropy/EquoInterface/RepositoriesInterface/Equo:
- add profile.link to the repoinfo options
- modularize Repositories Interface run_sync() function


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1970 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-24 16:59:55 +00:00