Commit Graph

10 Commits

Author SHA1 Message Date
Fabio Erculiani 385c2934c5 [client] deal with Python bug #16308 2013-08-23 10:57:36 +02: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 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 8fda22bd0b [equo] monkey patch argparse.ArgumentParser to fix UTF-8 strings handling
See bug 4049.
2013-03-11 00:58:21 +00:00
Fabio Erculiani 113f9d74b7 [client] fix --help output when redirected through pipes, fix bug 4049 2013-03-08 12:55:13 +01:00
Fabio Erculiani 329da2587f [equo] fix UnicodeEncodeError as per bug #3873 2012-12-26 19:17:13 +01:00
Fabio Erculiani bff697e4d5 [Solo*] fixup -q, -v, -p short options and bashcomp 2012-11-09 09:16:08 +01:00
Fabio Erculiani dccf747e51 [Solo] generate self._commands dict before calling _hierarchical_bashcomp() 2012-10-21 17:52:00 +02:00
Fabio Erculiani 8aaf088a26 [Solo] move common "hierarchical" bashcomp code to SoloCommand 2012-10-21 17:33:55 +02:00
Fabio Erculiani 1b1bfcafa2 [Solo] implement the "solo {smart,pkg}" command. 2012-09-30 19:00:58 +02:00