Commit Graph

8789 Commits

Author SHA1 Message Date
Fabio Erculiani 6cdede57ab [entropy.cli] remove deprecated acquire_entropy_locks, release_entropy_locks 2012-02-15 19:36:28 +01:00
Sławomir Nizio 24bbfae7c7 [po] update Polish translation, with corrected plural forms thanks to last changes 2012-02-13 22:42:43 +01:00
Fabio Erculiani 4150fa8856 [rigo] implement more methods in AppListStore 2012-02-13 16:49:45 +01:00
Fabio Erculiani d16a384519 [rigo] properly position installed overlay icon over application icon 2012-02-13 16:35:52 +01:00
Fabio Erculiani fc59f0bc80 [rigo.utils] drop utf8(), not needed 2012-02-13 16:35:36 +01:00
Fabio Erculiani 1ae1088983 [entropy.cache] put EntropyCacher to sleep when there's nothing to do
Use a semaphore to signal the worker thread if there's something to do,
otherwise the whole thread should just sleep and avoid to poll every
N seconds.
2012-02-13 16:26:39 +01:00
Fabio Erculiani 3a7e33ce72 [rigo] fix WebService cache dir path, make it point to $HOME/.entropy/ws_cache 2012-02-13 15:30:39 +01:00
Fabio Erculiani 0ce9fe62d3 [po] update translations 2012-02-13 14:15:48 +01:00
Fabio Erculiani affcf20425 [entropy.i18n] rename P_() into ngettext().
intltool-update doesn't understand ngettext function exposed as
P_().
2012-02-13 14:14:45 +01:00
Fabio Erculiani f4e2ae4640 [rigo] rework model and controllers layers in order to improve caching 2012-02-13 09:42:36 +01:00
Fabio Erculiani e914763b6d [entropy.client.services] implement ram-caching for get_downloads()
get_downloads() was left uncovered from ram-caching of the responses,
in contraddiction to get_votes() and get_available_downloads(), for
example.
2012-02-13 08:50:44 +01:00
Fabio Erculiani a7e5f2f3cb [rigo] integrate package icons retrieval 2012-02-12 23:20:05 +01:00
Sławomir Nizio a8420b5ad5 [i18n] use ngettext in some places where it's most useful 2012-02-12 15:47:58 +01:00
Fabio Erculiani f59d04baa9 [rigo] add more interactions on the UI, consolidate current code (not complete yet) 2012-02-12 13:27:06 +01:00
Sławomir Nizio f148ca0694 [rigo] add a TODO line 2012-02-12 00:22:36 +01:00
Fabio Erculiani c76f3168b7 [rigo] add Rigo prototype app (almost nothing is implemented)
This app will hopefully replace Sulfur at some point in 2012.
You need pygobject[cairo] to get it working.
2012-02-11 23:00:08 +01:00
Fabio Erculiani 7b0c95078b [entropy.client.interfaces.db] do not use "&>", which is bash only
This commit fixes bug #3022
2012-02-10 14:07:48 +01:00
Fabio Erculiani dafc861554 [entropy.spm] PortagePlugin._pkg_foorm: catch OSError during env setup
ebuild environment setup function for pkg_{prerm,postrm} can raise
OSError during os.makedirs(). Better catch it and handle the failure
nicely so that the user can take proper measures to fix it, instead
of completely bailing out with garbageish text.
2012-02-10 13:55:39 +01:00
Fabio Erculiani 3d3b9967e8 [sulfur] catch WebService.MethodNotAvailable exception during UGC login 2012-02-10 13:20:50 +01:00
Fabio Erculiani eca401649d [entropy.fetchers] UrlFetcher: handle HTTP response without Content-Length
It can happen that HTTP servers (or those accessed via Proxy) do not
actually provide Content-Length information in the response.
This caused UrlFetcher to keep __remotesize = 0, which means that
the same thought that the file has been fully downloaded already
under some circumstances.
2012-02-09 21:55:52 +01:00
Fabio Erculiani 056f552dab [entropy.client] implement Client.atom_search
As of today, both Equo and Sulfur implemented their own search
functions because the API didn't provide any direct support for
searching through all the repositories. atom_search() now offers
a basic way to do this, without reinventing the weel every time
in consumer code.
2012-02-08 15:27:57 +01:00
Fabio Erculiani f53b11e527 Tagging Entropy version 1.0_rc87 1.0_rc87 2012-02-03 23:06:47 +01:00
Fabio Erculiani 0ceb055608 Release Entropy 1.0_rc87 2012-02-03 23:06:41 +01:00
Fabio Erculiani 6782d4581a [entropy.spm] PortagePlugin: fix NEEDED.ELF.2 parsing
It can happen that NEEDED.ELF.2 file contains invalid entries,
more specifically, entries that are directories.
2012-02-03 10:57:19 +01:00
Fabio Erculiani e09ab9af1e Tagging Entropy version 1.0_rc86 1.0_rc86 2012-02-01 19:57:34 +01:00
Fabio Erculiani b2a0029655 Release Entropy 1.0_rc86 2012-02-01 19:57:15 +01:00
Fabio Erculiani 95ddc907a7 [entropy.const] make possible to override the default arch using /etc/entropy/.arch 2012-02-01 19:56:12 +01:00
Fabio Erculiani 0eb3b67ea5 Tagging Entropy version 1.0_rc85 1.0_rc85 2012-01-29 12:11:36 +01:00
Fabio Erculiani 0594b8df4a Release Entropy 1.0_rc85 2012-01-29 12:11:17 +01:00
Fabio Erculiani 28ee430fc3 [matter] fix typo in list comprehension, use real_queue, not package_queue 2012-01-29 12:06:55 +01:00
Fabio Erculiani c7253fdab2 [eit.commands.commit] open repository in write mode to force treeupdates 2012-01-26 20:24:57 +01:00
Fabio Erculiani ea26cfb1da [entropy.server] document pitfalls in scan_package_changes() usage 2012-01-26 20:24:15 +01:00
Fabio Erculiani 898294d0f2 [equo] force digest = "0" when regenerating packages
During installed packages repository generation, try to use older
digest value (from previous repo db) or force it to "0".
This way, packages with invalid digest will not be considered
during dependency calculation if they're already up-to-date.
2012-01-24 20:47:54 +01:00
Fabio Erculiani 45bd00aff9 [entropy.client] do not pull in packages already up-to-date if digest == "0"
If the installed packages repository has been regenerated manually,
some entries may contain invalid digest values. Given this, the same
value is forced to be equal to "0" so that we can skip the check during
dep calculation if an entry like that is found.
2012-01-24 20:45:48 +01:00
Fabio Erculiani a7b2ff1301 [entropy.db] _migrateBaseinfoExtrainfo: fix foreign_keys usage, and drop all indexes
Using pragma inside executescript() won't work and foreign_keys were
kept enabled, resulting in extrainfo table being wiped.
At the same time, dropping all the indexes before starting dramatically
improves the execution speed.
2012-01-24 18:33:33 +01:00
Fabio Erculiani 7170a1e13c [entropy.db] fix baseinfo indexes creation for baseinfo_extrainfo_2010 schema 2012-01-24 17:10:07 +01:00
Fabio Erculiani 97b45b1fc3 Tagging Entropy version 1.0_rc84 1.0_rc84 2012-01-24 16:41:14 +01:00
Fabio Erculiani e480256b33 Release Entropy 1.0_rc84 2012-01-24 16:40:57 +01:00
Fabio Erculiani 4175177430 [todo] update TODO 2012-01-24 15:12:18 +01:00
Fabio Erculiani d08812879c [eit] update man pages 2012-01-24 15:12:09 +01:00
Fabio Erculiani 9e7055f6be [entropy.server,eit] split push from pull (in repo sync)
From now on, any push request will not have the side effect of
pulling new repo metadata if required, and vice versa.
2012-01-24 15:08:32 +01:00
Fabio Erculiani c169f0e4b2 [entropy.graph] Graph.get_adjacency_map: hold the original data
Graph caching must hold copies of cache objects instead of giving
them away for free and risk of having them polluted or even completely
cleared out under its own chair.

Example:
$ equo remove linux-sabayon:3.1 [--deep]

The --deep version doesn't pull in all the reverse deps due to
Graph.solve() being called twice in
entropy.client.interfaces.dep's _generate_reverse_dependency_tree()
when deep = True.

Fixes bug #2989
2012-01-23 12:50:26 +01:00
Fabio Erculiani 71d150f670 Tagging Entropy version 1.0_rc83 1.0_rc83 2012-01-15 18:25:29 +01:00
Fabio Erculiani 1a83081f0d Release Entropy 1.0_rc83 2012-01-15 18:25:07 +01:00
Fabio Erculiani e3622615af [entropy.tools] add /etc/ld.so.conf.d support
Packages started to install files inside /etc/ld.so.conf.d/, this
commit adds support for reading files in the above mentioned
directory.
2012-01-15 18:18:33 +01:00
Fabio Erculiani b481a2338a [entropy.qa] /etc/ld.so.conf can be unavailable, do not check for it 2012-01-15 18:18:00 +01:00
Fabio Erculiani 309ce12db9 [matter] make sure to not account the same atom twice on the compiled list 2012-01-15 11:28:35 +01:00
Fabio Erculiani 67a2d34af7 [matter] filter out broken Portage Package objects, those with broken "cpv" attr 2012-01-15 11:27:55 +01:00
Fabio Erculiani daec2d3fb3 Tagging Entropy version 1.0_rc82 1.0_rc82 2012-01-12 11:08:10 +01:00
Fabio Erculiani 52640c1be3 Release Entropy 1.0_rc82 2012-01-12 11:08:00 +01:00