Commit Graph

11388 Commits

Author SHA1 Message Date
Geaaru aa32d22d63 Fix issue on use basic authentication with python3.4:
Traceback (most recent call last):
  File "/usr/lib64/python3.4/base64.py", line 519, in _input_type_check
    m = memoryview(s)
TypeError: memoryview: str object does not have the buffer interface

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/equo", line 15, in <module>
    main()
  File "/usr/lib/entropy/client/solo/main.py", line 332, in main
    exit_st = func(*func_args)
  File "/usr/lib/entropy/client/solo/commands/command.py", line 406, in _call_exclusive
    return func(client)
  File "/usr/lib/entropy/client/solo/commands/update.py", line 115, in _update
    rc = self._normal_update(entropy_client)
  File "/usr/lib/entropy/client/solo/commands/update.py", line 236, in _normal_update
    rc = repo_intf.sync()
  File "/usr/lib/entropy/lib/entropy/client/interfaces/repository.py", line 327, in sync
    rc = self._run_sync()
  File "/usr/lib/entropy/lib/entropy/client/interfaces/repository.py", line 146, in _run_sync
    self._entropy, repo, self.force, self._gpg_feature)
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 2764, in update
    return updater.update()
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 2029, in update
    selected = self._select_database_mirror()
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 428, in _select_database_mirror
    https_validate_cert = https_validate_cert)
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 1992, in _remote_revision
    fetch_rc = fetcher.download()
  File "/usr/lib/entropy/lib/entropy/fetchers.py", line 391, in download
    status = downloader()
  File "/usr/lib/entropy/lib/entropy/fetchers.py", line 600, in _urllib_download
    self.__http_basic_user, self.__http_basic_pwd)).replace('\n', '')
  File "/usr/lib64/python3.4/base64.py", line 548, in encodestring
    return encodebytes(s)
  File "/usr/lib64/python3.4/base64.py", line 536, in encodebytes
    _input_type_check(s)
  File "/usr/lib64/python3.4/base64.py", line 522, in _input_type_check
    raise TypeError(msg) from err
TypeError: expected bytes-like object, not str
2017-04-29 15:31:32 +02:00
Fabio Erculiani 12c5fc31ec Tagging Entropy version 306 306 2016-11-20 08:07:37 +01:00
Fabio Erculiani c611f76a33 Release Entropy 306 2016-11-20 08:07:36 +01:00
Fabio Erculiani 6de1430d76 [magneto] make updates notifications go away after the default timeout.
In the recent versions of GNOME, this became super annoying.
2016-11-20 08:06:52 +01:00
Fabio Erculiani 9c300b0a3c [client] update translations 2016-11-20 08:00:09 +01:00
Fabio Erculiani ff0938611a [client] update entropy.pot 2016-11-20 07:54:55 +01:00
Fabio Erculiani 117100b18c [magneto] fix Gir related warnings when loading Magneto 2016-11-20 07:52:17 +01:00
Fabio Erculiani a9ae8128a2 [magneto] Just show an "Updates are available" notification, drop the count.
This will prevent us from piling up notifications.
2016-11-20 07:44:38 +01:00
Fabio Erculiani aa362bc92c [magneto] exec python rather than calling it.
No need to keep one more bash alive on every respawn.
2016-11-20 07:38:05 +01:00
Fabio Erculiani 2ab95aaae4 Tagging Entropy version 305 305 2016-11-19 21:16:27 +01:00
Fabio Erculiani b95b0d80b4 Release Entropy 305 2016-11-19 21:16:27 +01:00
Fabio Erculiani 98cd2b2b9f [rigo] Force terminal expansion, fixes bug #5305 2016-11-19 21:14:41 +01:00
mudler 04c46ce17c Tagging Entropy version 304 304 2016-09-18 16:54:55 +02:00
mudler 4a0488bd41 Release Entropy 304 2016-09-18 16:54:55 +02:00
mudler 76f8fd1b92 add CICKU's FOSS Mirror 2016-09-17 14:09:06 +02:00
Fabio Erculiani 0d778e8b39 Merge pull request #32 from freeboson/equo-zsh-updates
Equo zsh completion updates
2016-09-02 09:40:42 +02:00
Sujeet Akula 3fc1de1e74 break up the long text processing pipes 2016-08-31 07:49:02 +10:00
Fabio Erculiani b8007c3445 Merge pull request #23 from rdnetto/bugfix_read_settings
[entropy.core] _system_parser: Actually read the file
2016-08-30 20:19:46 +02:00
Fabio Erculiani 5ae09bf9c3 Merge pull request #30 from Enlik/exc-handler-fix
[entropy.client] fixes to exception handler
2016-08-30 20:18:38 +02:00
Fabio Erculiani bf5e00d014 Merge pull request #24 from skwerlman/patch-1
[solo.commands.moo] fix `lxnay` speech bubble
2016-08-30 20:17:57 +02:00
Fabio Erculiani abde25f918 Merge pull request #31 from Enlik/conflict-print-revdeps
[solo.commands,lib] display packages that pull in conflicting ones
2016-08-30 20:17:35 +02:00
Fabio Erculiani b38fc48ac3 Merge pull request #29 from Enlik/large-qa-env
[entropy.client,conf] avoid "Argument list too long"
2016-08-30 20:16:23 +02:00
Sujeet Akula 0b7efb5be9 update aliases in subcommand switch 2016-08-30 23:50:37 +10:00
Sujeet Akula 50f7796fea get all the pathological subcommand -h cases 2016-08-30 23:49:19 +10:00
Sujeet Akula d6ad7780fa should not have edited this line 2016-08-30 23:48:44 +10:00
Sujeet Akula 3844653ee5 change equo -h parsing 2016-08-30 17:00:32 +10:00
Sujeet Akula cbc9a2d602 equo query list called twice for no reason 2016-08-30 16:59:25 +10:00
Sujeet Akula 8c3308cf91 Remove --nocolor, update --color desc 2016-08-30 16:59:06 +10:00
Sławomir Nizio 706d6bca55 [solo.commands,lib] improve message about conflicted packages
Don't show the package itself. If there are no revdeps, nothing would be
shown so a custom "(no reverse dependencies)" message will appear, which
is clearer.
2016-08-06 20:55:33 +02:00
Sławomir Nizio e96db09ad7 [solo.commands,lib] display packages that pull in conflicting ones 2016-08-05 20:00:21 +02:00
Sławomir Nizio 37d15af8bf [entropy.client] fixes to exception handler
- correct negated logic in EPIPE hanling
- correct ENOSPC handling (it's IOError, but OSError was catched)
- support Python 3.3+ which got reworked exceptions
2016-08-04 01:30:22 +02:00
Sławomir Nizio 12a7bdd2be [entropy.client,conf] avoid "Argument list too long" 2016-08-02 09:04:50 +02:00
Fabio Erculiani 28d16ff864 Tagging Entropy version 303 303 2016-07-08 09:04:30 +02:00
Fabio Erculiani aeaf05fe4d Release Entropy 303 2016-07-08 09:04:30 +02:00
Fabio Erculiani 9097421320 [entropy.services.client] fix SSL certs validation when Python 2.7.9+ is in use 2016-07-08 09:03:54 +02:00
Fabio Erculiani 810722ca40 Update mirror.dkm.cz URI 2016-06-13 16:09:45 +02:00
mudler 5b573209bf Tagging Entropy version 302 302 2016-05-16 22:22:26 +02:00
mudler 2ab2130714 Release Entropy 302 2016-05-16 22:22:26 +02:00
Fabio Erculiani dceea5bc79 Merge pull request #27 from mudler/master
[entropy.client] adding support for wildcard in ACCEPT_LICENSE
2016-05-16 21:08:13 +02:00
mudler 8af6a2678d [entropy.client] adding support for wildcard in ACCEPT_LICENSE
This allows to call equo with ACCEPT_LICENSE="*" and accept automatically all the licenses without user prompting
2016-05-14 23:08:08 +02:00
Fabio Erculiani f935b1821f Merge pull request #26 from mudler/master
[entropy.tools] add IA_64 to elf_class_strtoint
2016-05-14 12:00:39 +02:00
mudler 67a645fabe [entropy.tools] add IA_64 to elf_class_strtoint 2016-05-14 11:49:37 +02:00
Fabio Erculiani af86b58368 Merge pull request #22 from Enlik/repo-on-conflict-for-mask
[entropy.client] print repository name on dependency conflict
2016-05-08 14:10:39 -07:00
Fabio Erculiani 0c92120031 Merge pull request #25 from Enlik/tests-and-ldd
correct tests and read_elf_broken_symbols
2016-04-16 20:25:48 +02:00
Sławomir Nizio 97a99edbf3 [entropy.tools] correct read_elf_broken_symbols
ldd (now?) prints this to stdout; read from both streams.
2016-04-15 00:21:53 +02:00
Sławomir Nizio d9843c2d1d [tests] enforce default caching policy
When ran in a chroot in environment where entropy.tools.total_memory()
would return 0, the test failed.
2016-04-14 22:38:14 +02:00
skwerlman f4d09bcef0 [solo.commands.moo] fix lxnay speech bubble 2016-04-08 15:48:24 -04:00
Reuben D'Netto c530299fb5 [entropy.core] _system_parser: Actually read the file
Fixed bug introduced in: a2315b1 [entropy.core] _system_parser: drop access() usage

This ensures that /etc/entropy/entropy.conf is read, instead of being
ignored.
2016-04-06 21:57:06 +10:00
Sławomir Nizio b12a25e72d [entropy.client] print repository on conflict
Copy-pastable for equo mask.
2016-03-30 23:02:46 +02:00
Fabio Erculiani 1e23d2cecb Tagging Entropy version 301 301 2016-03-20 19:32:34 +01:00