1946 Commits

Author SHA1 Message Date
Fabio Erculiani
8d0f16d9d5 Release Entropy 310 2017-10-08 22:25:58 +02:00
Fabio Erculiani
2d65d5b7bf [entropy.client] fix conflicts removal handling during upgrade.
In certain extreme situations, that are more likely if the install
state is old (e.g. 9 months +), Entropy may decide to remove packages
due to conflicts with the version being installed and shoot itself
in the foot, if this is the case of dev-lang/python :-).

So, this commit tries to avoid the scenario by filtering out package
removals for those that are being installed anyway as part of the
transaction (e.g. a system upgrade).

This should fix the very specific case, but increase uncertainty
and thus entropy in other cases where once a package that lists
conflicts is installed, it may not expect to find that package
installed. However, this case should be handled by the dependency
graph generator (and it currently does not), which would need to
reorder the execution of the queue to comply with conflicts.

Perhaps, someone in the future will improve that too, for now,
let's enjoy one more snowflake.

Current improvement:
- foo-1 and bar-2 are set to be installed
- foo-1 conflicts with <bar-2
- bar-1 is installed
- foo-1 wanted to remove bar-1 as part of foo-1 install transaction.
  (now fixed, it won't...)
- bar-2 is then installed

Better improvement:
- foo-1 and bar-2 are set to be installed
- foo-1 conflicts with <bar-2 (but bar-2 itself can be installed
  and does not conflict with foo-1)
- bar-2 is set to be installed before foo-1
- when entropy gets to foo-1 there is nothing to remove
2017-10-08 21:51:07 +02:00
Fabio Erculiani
330ffd1926 Release Entropy 309 2017-09-10 19:08:33 +02:00
Fabio Erculiani
8461cdaa98 [client/po] Update translations 2017-09-10 19:08:14 +02:00
Francesco Ferro
cac8ad2b29 Release Entropy 308 2017-09-09 18:46:39 +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
b2d0ca8707 Release Entropy 307 2017-05-13 14:36:24 +02:00
Fabio Erculiani
c611f76a33 Release Entropy 306 2016-11-20 08:07:36 +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
b95b0d80b4 Release Entropy 305 2016-11-19 21:16:27 +01:00
mudler
4a0488bd41 Release Entropy 304 2016-09-18 16:54:55 +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
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
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
Fabio Erculiani
aeaf05fe4d Release Entropy 303 2016-07-08 09:04:30 +02:00
mudler
2ab2130714 Release Entropy 302 2016-05-16 22:22:26 +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
skwerlman
f4d09bcef0 [solo.commands.moo] fix lxnay speech bubble 2016-04-08 15:48:24 -04: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
96ed6d3c5e Release Entropy 301 2016-03-20 19:32:33 +01:00
Fabio Erculiani
91ed0f744d Update translations 2016-03-20 19:32:01 +01:00
Sławomir Nizio
b43498596e [solo.commands.security] repair --mtime in oscheck
While testing the change that adds [package ...] to oscheck, I noticed
this bug.
2016-03-07 22:08:18 +01:00
Sławomir Nizio
449b1c3fe7 [solo.commands.security] support for package names in oscheck 2016-03-07 21:00:06 +01:00
Fabio Erculiani
5ea91aefd7 Release Entropy 300 2015-10-29 19:03:36 +01:00
Fabio Erculiani
baa30318e1 Release Entropy 299 2015-10-29 18:54:00 +01:00
Fabio Erculiani
da39ba3ad9 Release Entropy 298 2015-08-22 23:49:00 +01:00
Fabio Erculiani
dd2e9560a3 Release Entropy 297 2015-06-03 06:50:08 +01:00
Sławomir Nizio
1bda075ad0 [entropy.client] while asking to accept the license, interpret EOF as "no"
Otherwise it would loop indefinitely (bug 4849).
2015-05-16 00:01:55 +02:00
Fabio Erculiani
1e83c54741 Release Entropy 296 2015-03-17 16:16:54 +00:00
Fabio Erculiani
c875341fa5 Release Entropy 295 2015-01-13 10:19:05 +00:00
Fabio Erculiani
0baa8ffedc Release Entropy 294 2015-01-10 07:33:45 +00:00
Fabio Erculiani
4e0232f22e Release Entropy 293 2014-11-30 14:57:24 +00:00
Fabio Erculiani
6940a64e76 Release Entropy 292 2014-10-24 09:21:08 +02:00
Fabio Erculiani
bb8cb2e354 Release Entropy 291 2014-10-23 19:03:20 +02:00
Fabio Erculiani
363c6a175f [entropy.*] migrate all retrieveNeeded uses to retrieveNeededLibraries 2014-10-20 15:04:19 +02:00
Fabio Erculiani
645dec3d94 Release Entropy 290 2014-10-18 19:29:50 +02:00
Fabio Erculiani
e36fd3d6c8 Release Entropy 288 2014-10-18 15:59:47 +02:00
Fabio Erculiani
f282e30422 Release Entropy 287 2014-10-18 14:58:21 +02:00