Commit Graph

11395 Commits

Author SHA1 Message Date
Fabio Erculiani 960cd6d911 Merge pull request #37 from samcv/zsh-fixes
[zsh-completion] Fix help message parse bugs and add improvements
2017-07-01 21:40:26 +02:00
Samantha McVey 14921ad719 [zsh-completion] Fix completion for equo query list
Before no completions would show. Now we remove unneeded code and use
the same completion processing for other commands.
2017-06-15 17:43:44 -07:00
Samantha McVey 83ea0e56cf [zsh-completion] Fix help message parse bugs and add improvements
This fixes a bug where certain tab completions would be met with lots
of sed errors.

It is also faster since it uses 1 less sed process.

Additionally it will also show 'no matches' if there are no
matches found for a command completion, instead of showing
a suggestion to add 1st level commands on.

Before: equo X (no cmds left to add)
zsh suggests install, query, remove etc.

Now it will properly say there are not more suggestions
for most of the $1 terms
2017-06-15 17:43:39 -07:00
Fabio Erculiani c726b3d694 Merge pull request #34 from geaaru/basic_python3_4
Fix issue on use basic authentication with python3.4:
2017-05-14 18:29:16 +02:00
Fabio Erculiani eb43caabca Tagging Entropy version 307 307 2017-05-13 14:36:24 +02:00
Fabio Erculiani b2d0ca8707 Release Entropy 307 2017-05-13 14:36:24 +02:00
Fabio Erculiani 345d31b3c5 [entropy.client] Fix accidental deletion of preserved libs when still in use.
Entropy preserved libs handling code did not check all the followed symlink
before removing them. This causes the deletion of unexpected libraries during the
removal of packages. For example, app-emulation/vmware-workstation contains
the following symlink:

(A) /opt/vmware/lib/vmware/lib/libssl.so.1.0.1/libssl.so.1.0.1 -> (B) /usr/lib64/libssl.so.1.0.1

Upon removal of vmware-workstation, A is garbage collected and deleted,
if it's a symlink, the link is followed and (B) is removed as well, without
validating the action (i.e. checking if a package is still owning (B).)

This commit fixes this. See Sabayon bug #5812.
2017-05-13 14:25:01 +02:00
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