Commit Graph

9683 Commits

Author SHA1 Message Date
Fabio Erculiani 06ef0b2658 [Solo] fix typo in SoloUnused 2012-09-29 14:42:58 +02:00
Fabio Erculiani 058fed099f [Solo] complete solo.utils porting from entropy.cli 2012-09-29 14:38:31 +02:00
Fabio Erculiani 234d8d4436 [Solo] SoloSearch: expose internal switches on the constructor 2012-09-29 14:37:56 +02:00
Fabio Erculiani 300a45fd48 [Solo] print_table: use Entropy.output() instead of direct print_generic() calls 2012-09-28 11:31:52 +02:00
Fabio Erculiani d50752bbf9 [Solo] implement the "solo ugc" command 2012-09-26 11:23:43 +02:00
Fabio Erculiani 2e277cfd0a [Solo] port get_entropy_webservice from entropy.cli 2012-09-25 16:12:37 +02:00
Fabio Erculiani 5936056a4c [Solo] fix "colorful" argparse module. Make it work with longer strings 2012-09-25 16:12:03 +02:00
Fabio Erculiani 594bff9630 [Solo] implement the "solo unused" command. 2012-09-24 16:58:54 +02:00
Fabio Erculiani 3a8b5d67f9 [todo] update TODO 2012-09-23 13:01:58 +02:00
Fabio Erculiani 47b82a8146 [Solo] implement the "solo conf" command 2012-09-23 13:01:33 +02:00
Fabio Erculiani e5e1b6a0b6 [Solo] implement "solo hop" command. 2012-09-12 20:05:10 +02:00
Fabio Erculiani 5b06094e54 [todo] update TODO 2012-09-12 19:37:42 +02:00
Fabio Erculiani 65f993fa71 [Solo] warn user about Entropy Library and Solo version mismatch 2012-09-12 19:37:10 +02:00
Fabio Erculiani 25e7edcab0 [Solo] add "Running on Live System" warning 2012-09-12 19:36:51 +02:00
Fabio Erculiani 0ded19abfa [Solo] implement "solo cache" command. 2012-09-12 19:02:03 +02:00
Fabio Erculiani 376a44ac19 [Solo] allow commands pass-through if "--help" is in argv 2012-09-12 19:01:13 +02:00
Fabio Erculiani 2fe2cfe6ea [Solo] add "solo --info" alias of "solo status" 2012-09-12 18:37:21 +02:00
Fabio Erculiani eb2cd8428c [Solo] implement "solo cleanup" command 2012-09-12 16:40:11 +02:00
Fabio Erculiani 7a4ce72172 [Solo] implement "solo mask" and "solo unmask" commands 2012-09-12 16:30:28 +02:00
Fabio Erculiani 2183f4d848 [Solo] improve bash completion of "solo search" 2012-09-11 23:07:49 +02:00
Fabio Erculiani a5f0108ec9 [Solo] improve bash completion of "solo match" 2012-09-11 23:07:42 +02:00
Fabio Erculiani e72457560e [todo] update TODO 2012-09-11 20:20:42 +02:00
Fabio Erculiani 88dde368f3 [todo] update TODO 2012-09-10 14:47:13 +02:00
Fabio Erculiani fff4d67761 [todo] update TODO 2012-09-09 09:45:23 +02:00
Fabio Erculiani b47ddb87f8 [Solo] implement "solo match" command 2012-09-09 09:45:14 +02:00
Fabio Erculiani cb79d91cd5 [Solo] implement "solo search" command 2012-09-08 21:34:43 +02:00
Fabio Erculiani 316ef31dcd [entropy.const] do not alter etpConst['systemroot'] variable 2012-09-08 20:11:24 +02:00
Fabio Erculiani 6ddc4c2f14 [tests] fix Entropy Client tests (add affected_infofiles metadata) 2012-09-08 20:11:23 +02:00
Fabio Erculiani 9d1dd2f5b3 [entropy.const] move Entropy Resources Lock path to /var/lib/entropy
This commit moves the Entropy Resources Lock from:
> /var/lib/entropy/client/database/<arch>/.using_resources
to a simpler:
> /var/lib/entropy/.using_resources

The main reason for the move is to make such path more consistent across
architectures.
2012-09-08 20:11:23 +02:00
Fabio Erculiani a659ac2f66 [entropy.const] remove hardcoded slashes, rewrite paths using os.path.join() 2012-09-08 20:11:23 +02:00
Fabio Erculiani e11493ffe2 Tagging Entropy version 141 2012-09-08 20:11:23 +02:00
Fabio Erculiani f675c5fdae Release Entropy 141 2012-09-08 20:11:23 +02:00
Fabio Erculiani 6f00e50faa [client] update entropy.pot 2012-09-08 20:11:23 +02:00
Fabio Erculiani 6654c83550 [entropy.client.trigger] implement support for automagic /usr/share/info/*/dir update 2012-09-08 20:11:23 +02:00
Fabio Erculiani b0bbf2762c Tagging Entropy version 140 2012-09-08 20:11:23 +02:00
Fabio Erculiani af338e7564 Release Entropy 140 2012-09-08 20:11:23 +02:00
Fabio Erculiani 97aeed94be [Rigo] always validate repositories after update
On a fresh install, with no downloaded repositories, users were forced
to restart Rigo in order to have the search function fully functional.
If a local repository is configured but not downloaded (thus, not
available) the same bug happens.

It turned out to be Entropy._enabled_repos, returned by Entropy.repositories()
which didn't get re-initialized after a repository update. This commit adds
a _validate_repositories() call inside _repositories_updated_signal().
2012-09-08 20:11:23 +02:00
Fabio Erculiani 8df6964462 [Rigo] Application: escape _("N/A")
Application.get_markup() and Application.get_extended_markup() must
always return bytestring (decoded) data to make Gtk3 libs and code
happy. It happened that _("N/A") was returned without passing through
prepare_markup() or escape_markup(). This commit fixes it.
2012-09-08 20:11:22 +02:00
Fabio Erculiani c9ed841e75 [Rigo] RigoServiceController: convert app_name=_("Application") to rawstring
If app_name is unicode decoded, the following code will fail (in pl_PL):

  >>> prepare_markup(_("<b>%s</b>, internal error")) % (_("Application"),)

with a nice UnicodeDecodeError due to implicit bytestring decode.
prepare_markup() output is bytestring, _() output is unicode.
Thanks to Enlik for reporting.
2012-09-08 20:11:22 +02:00
Sławomir Nizio 6c96c7608e [magneto,rigo] modernize .desktop files 2012-09-08 20:11:22 +02:00
Fabio Erculiani 79d98239bf Tagging Entropy version 139 2012-09-08 20:11:22 +02:00
Fabio Erculiani ef9258b4ce Release Entropy 139 2012-09-08 20:11:22 +02:00
Fabio Erculiani d9bfa7f11f [RigoDaemon] half the timer frequency and add some randomization in _auto_repositories_update()
When sabayon-weekly is updated, the web service is hit by a huge amount of
requests. This commits add a bit more entropy on the execution of
_auto_repositories_update() (random between 30mins to 2 hours) and reduces
the timer frequency to 8hrs (from 4).
2012-09-08 20:11:22 +02:00
Fabio Erculiani 65a1949c0c Tagging Entropy version 138 2012-09-08 20:11:22 +02:00
Fabio Erculiani ec425094cd Release Entropy 138 2012-09-08 20:11:22 +02:00
Fabio Erculiani c4b9a0df28 [entropy.dump] do not use os.fdopen() in dumpobj()
It has been observed that using os.fdopen() below in multi-threaded
scenarios is causing EBADF (thus OSError). There is probably a racen
condition down in the stack or mkstemp() itself is not guaranteed against
concurrent access. For now, just consume one more file descriptor and
avoid the race completely.
2012-09-08 20:11:22 +02:00
Fabio Erculiani 86d790648d [docs] update TODO 2012-09-08 20:11:22 +02:00
Fabio Erculiani d166690c35 [eit.commands.lock] validate repository_id in "eit lock" and "eit unlock" 2012-09-08 20:11:22 +02:00
Fabio Erculiani 1001bc30c6 [entropy.spm] __source_env_get_var: fix typo in tmp file prefix string 2012-09-08 20:11:21 +02:00
Fabio Erculiani 814ff4664d Tagging Entropy version 137 2012-09-08 20:11:21 +02:00