Weak package files is a feature that makes possible to save a lot of
local space if enabled. Basically, all the package files no longer in
the repository are locally removed before their expiration. This reduces
local data redundancy with no real reliability impact.
equo {install,source,download} now support --onlydeps.
Using --onlydeps, only dependencies of the selected packages are installed,
unless the selected packages are dependencies themselves.
This huge commit addresses several things:
- Fix bug #3995
- Force the GTK2 frontend when MATE is running
- Migrate to KStatusNotifierItem for KDE and hide the icon whenever
it makes sense.
- Use SVG icons in the GTK3 frontend, improving eye candy when running in GNOME3
- The usual cruft cleanup
calculate_updates() now returns a dictionary containing the same pieces of
information available before. In addition, it now also returns if critical
updates were found and returned by the method itself.
This is particularly useful for enforcing relaxed deps calculation in case
of critical updates (which is what happens now).
This commit breaks the Entropy Client API.
This is the exception generated by reading CONTENTS expecting valid UTF-8 encoded
text (while it currently is raw_unicode_escape):
stacktrace: Traceback (most recent call last):
File "/usr/bin/equo", line 15, in <module>
main()
File "/usr/lib/entropy/client/solo/main.py", line 333, in main
exit_st = func(*func_args)
File "/usr/lib/entropy/client/solo/commands/command.py", line 335, in _call_locked
return func(client)
File "/usr/lib/entropy/client/solo/commands/install.py", line 183, in _install
relaxed, multifetch, packages)
File "/usr/lib/entropy/client/solo/commands/install.py", line 609, in _install_action
exit_st = pkg.run(xterm_header=xterm_header)
File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4266, in run
rc = self._stepper(xterm_header)
File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4251, in _stepper
rc = steps_data.get(step)()
File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4153, in do_install_spm
self.pkgmeta['installed_package_id'])
File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 2262, in _spm_install_package
spm_uid = Spm.add_installed_package(self.pkgmeta)
File "/usr/lib/entropy/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3078, in add_installed_package
splitdebug_dirs)
File "/usr/lib/entropy/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 2859, in __splitdebug_update_contents_file
line = cont_f.readline()
File "/usr/lib64/python2.7/codecs.py", line 675, in readline
return self.reader.readline(size)
File "/usr/lib64/python2.7/codecs.py", line 530, in readline
data = self.read(readsize, firstline=True)
File "/usr/lib64/python2.7/codecs.py", line 477, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xee in position 30: invalid continuation byte
etpConst['clientdbid'] is kept for backward compatibility, but will be removed soon
While etpConst['serverdbid'] and etpConst['clientserverrepoid'] are gone.
When Portage is asked to only build a package (with -B), Matter
should locate the generated tbz2 and add it to the binary repository.
This also makes possible to track injected packages and have them
automatically bumped.