Commit Graph

10211 Commits

Author SHA1 Message Date
Fabio Erculiani
a2b73f7741 [entropy.server] RepositoryConfigParser: add write() method 2013-03-29 22:51:46 +00:00
Fabio Erculiani
ab57f906bf [equo] utils: if sha1 or sha256 hashes are not available, print N/A 2013-03-29 17:41:38 +00:00
Fabio Erculiani
a5f447431c [eit] utils: if sha1 or sha256 hashes are not available, print N/A 2013-03-29 17:40:56 +00:00
Fabio Erculiani
5aaaba1b3e Tagging Entropy version 188 188 2013-03-29 12:12:51 +00:00
Fabio Erculiani
9493163db1 Release Entropy 188 2013-03-29 12:12:51 +00:00
Fabio Erculiani
22fdc5026c [entropy.const] const_mkdtemp: call makedirs() only if dir=etpConst['entropyunpackdir'] 2013-03-29 12:10:24 +00:00
Fabio Erculiani
d6295b3e00 [entropy*] create const_mkstemp() as tempfile.mkstemp() wrapper.
using /tmp as TMPDIR is a no go, since on modern systems, /tmp is on
tmpfs with a very limited amount of fs size assigned. Use /var/tmp/entropy
(or /var/tmp as fallback) instead.
2013-03-29 12:09:17 +00:00
Fabio Erculiani
ff560d42d5 [Rigo] paths: call mkdtemp with dir=/var/tmp 2013-03-29 11:42:41 +00:00
Fabio Erculiani
0a6a70ce08 [entropy.core.settings.base] add missing _() import 2013-03-29 11:42:26 +00:00
Fabio Erculiani
4c58fc9fbe [entropy*] create const_mkdtemp() as tempfile.mkdtemp() wrapper.
using /tmp as TMPDIR is a no go, since on modern systems, /tmp is on
tmpfs with a very limited amount of fs size assigned. Use /var/tmp/entropy
(or /var/tmp as fallback) instead.
2013-03-29 11:41:05 +00:00
Fabio Erculiani
bc083adbe9 [entropy.spm] PortagePlugin: use /var/tmp/entropy as mkdtemp() dir in doebuild()
This avoids problems for users using tmpfs /tmp
2013-03-29 08:10:44 +00:00
Fabio Erculiani
d89f15d760 [solo.commands.rescue] fix "equo rescue generate"
The database file was not written on disk because Entropy forwarded
any API call to the in-RAM database. If we generate a generic repository
and then reload the entropy installed packages one everything will work
as expected.
2013-03-28 18:53:26 +00:00
Fabio Erculiani
fb76210e41 Tagging Entropy version 187 187 2013-03-25 08:56:20 +00:00
Fabio Erculiani
c2d7ed7d72 Release Entropy 187 2013-03-25 08:56:19 +00:00
Fabio Erculiani
c5250594d1 [equo] rewrite "equo repo add" command line interface, looks much better now 2013-03-23 19:20:22 +00:00
Fabio Erculiani
2dc1438373 [tests] security: create temporary directory using TMPDIR or, if unset, $PWD 2013-03-23 19:00:15 +00:00
Fabio Erculiani
565db8d1a5 [entropy.client] add support for multiple "repo =" repository parameters
This improves the availability when one or more repository database
mirrors are down.
2013-03-23 18:48:02 +00:00
Fabio Erculiani
b395b13d84 [tests] db: fix test_libs_download 2013-03-23 11:42:42 +00:00
Fabio Erculiani
1cd7838385 [entropy.db.sql] definitely fix the cursor object wrapping 2013-03-23 11:38:39 +00:00
Fabio Erculiani
da8a2a1d22 [entropy.db] use super() instead of class.__init__() 2013-03-23 11:31:50 +00:00
Fabio Erculiani
b7ebbf8f47 [entropy.client.dep] __get_library_breakages: handle the new library dependencies case
It happened that __get_library_breakages only handled library bumps and
not also another important case: new library dependencies. This check is
very important at runtime, because it helps coping with unsatisfied
library dependencies (that might be satisfied at the package dependencies
level).
For instance, upgrading udev may fail because the new udevadm depends
against libblkid.so.1, which is a new dependency, while the util-linux
dependency metadatum is not enforcing the new version well enough.
2013-03-22 13:56:41 +00:00
Fabio Erculiani
b559affa42 [equo] fix typo in "equo update", fix bug 4107 2013-03-22 10:54:02 +00:00
Fabio Erculiani
533beb60c1 Tagging Entropy version 186 186 2013-03-20 16:50:21 +00:00
Fabio Erculiani
3e30d2414d Release Entropy 186 2013-03-20 16:50:21 +00:00
Fabio Erculiani
831237b7fc [entropy.server] insert the package SHA1 checksum into the file name
This commit partially reverts commit d6b7a21314.
Package revision is no longer incremented across package moves.
This has two advantages:
  - much less traffic generated on the mirror infrastructure
  - less updates for sabayon-limbo users when packages are moved to main

Bumping the revision was required by sabayon-weekly, which had the problem
that some package files were replaced during normal activity on
sabayonlinux.org and sabayon-limbo on the mirror. This generated checksum
errors, thus adding the checksum in the package file name ensures that
Entropy Server will never overwrite package file names unless the checksum
also matches.
Having a SHA1 checksum in the file name is also good for security, and
we may even want to create a SHA1 from the GPG signature in future.
2013-03-20 15:21:31 +00:00
Fabio Erculiani
7f24231978 [eit.utils] print_package_info: also print SHA1, SHA256 and GPG info 2013-03-20 15:07:49 +00:00
Fabio Erculiani
5c123b679f [solo.utils] print_package_info: also print SHA1, SHA256 and GPG info 2013-03-20 15:07:16 +00:00
Fabio Erculiani
ac028387c7 Tagging Entropy version 185 185 2013-03-19 15:27:33 +00:00
Fabio Erculiani
f0fad25ca5 Release Entropy 185 2013-03-19 15:27:33 +00:00
Fabio Erculiani
e601bc1144 [entropy.client.dep] fix or dependencies selection when none is installed 2013-03-19 15:27:00 +00:00
Fabio Erculiani
af55cef3be [entropy.db.sql] wrap the whole tuple() and frozenset() generation 2013-03-19 15:02:23 +00:00
Fabio Erculiani
bc9e6e2146 [entropy.db.sql] wrap _cur2tuple and _cur2frozenset functions using SQLCursorWrapper 2013-03-19 14:57:03 +00:00
Fabio Erculiani
db850299c0 [Rigo] execute the DBus initialization in the main loop 2013-03-18 17:40:17 +00:00
Fabio Erculiani
760599c135 [Rigo] automatically reconnect to the dbus system bus if the connection dies 2013-03-18 17:09:21 +00:00
Fabio Erculiani
e002101395 Tagging Entropy version 184 184 2013-03-17 08:27:56 +00:00
Fabio Erculiani
f0f3883a86 Release Entropy 184 2013-03-17 08:27:56 +00:00
Fabio Erculiani
52b329afa2 [matter] fix typo in package versions calculation for injected packages 2013-03-17 08:27:12 +00:00
Fabio Erculiani
c2fb421137 [conf] drop mirror.de.sabayon.org from default conf, it's in dl.sabayon.org already 2013-03-16 19:25:55 +00:00
Fabio Erculiani
64e8d6e963 Tagging Entropy version 183 183 2013-03-13 12:25:46 +00:00
Fabio Erculiani
bf766fe571 Release Entropy 183 2013-03-13 12:25:46 +00:00
Fabio Erculiani
c360738b95 [kswitch] fix install path, resolve bug 4073 2013-03-13 12:03:39 +00:00
Fabio Erculiani
b36a8669d4 [conf] drop the "remote web services server url" part from repository "repo =" param
This has been deprecated for long time.
2013-03-12 21:10:17 +00:00
Fabio Erculiani
4853d16275 [conf] drop optusnet.com.au mirror from repositories.conf.d/ 2013-03-12 19:09:25 +00:00
Fabio Erculiani
63eb797e77 [matter] query binpms when determining the availability status of an injected package 2013-03-12 15:38:22 +00:00
Fabio Erculiani
bc7dda4a4f [matter] builder: use cls. and self. in classmethods and methods 2013-03-12 15:19:23 +00:00
Fabio Erculiani
a48dfd2f7c Tagging Entropy version 182 182 2013-03-12 14:13:56 +00:00
Fabio Erculiani
d3fab6937c Release Entropy 182 2013-03-12 14:13:56 +00:00
Fabio Erculiani
45c0de49ca [client] update entropy.pot 2013-03-12 14:10:48 +00:00
Fabio Erculiani
c16a305102 [equo] do not automatically remove unmaintained packages, unless --purge is passed
This addresses the case in where the user may not have run equo with --ask
and unmaintained packages get removed without user consent.
2013-03-12 14:09:10 +00:00
Fabio Erculiani
f02283523d [entropy.db,entropy.spm] rewrite SPM package metadata update code
This commit moves all the SPM package metadata update logic, including
pkgmove and slotmove to entropy.spm plugins.
This makes possible to handle the event more reliably. In particular,
Entropy now controls what Portage does, basing on the repository treeupdates
information.
The scenario in where the Portage tree was not updated and the called
"emaint --fix moveinst" did not do what it was supposed to do is now
handled correctly.
2013-03-12 13:55:01 +00:00