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
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
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
c5250594d1
[equo] rewrite "equo repo add" command line interface, looks much better now
2013-03-23 19:20:22 +00:00
Fabio Erculiani
b559affa42
[equo] fix typo in "equo update", fix bug 4107
2013-03-22 10:54:02 +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
5c123b679f
[solo.utils] print_package_info: also print SHA1, SHA256 and GPG info
2013-03-20 15:07:16 +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
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
0e52aadf33
[solo] SoloYell is not a catch-all. SoloHelp is.
2013-03-08 13:38:39 +01: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
d996460b30
[entropy.client.dep,solo] add support for --onlydeps, as per bug #3817
...
equo {install,source,download} now support --onlydeps.
Using --onlydeps, only dependencies of the selected packages are installed,
unless the selected packages are dependencies themselves.
2013-02-28 13:47:50 +00:00
Fabio Erculiani
7771d641e2
[entropy.client] extend Client.calculate_updates() to return critical updates info
...
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.
2013-02-24 13:30:28 +00:00
Fabio Erculiani
075b84872b
[equo] fix "equo conf update" -7 discard option as per bug 3630
2013-01-26 11:42:17 +00:00
Fabio Erculiani
bb052e992f
[equo] when running with args: "equo --bashcomp", do not call args.pop(0) if args is empty
2012-12-26 19:32:36 +01:00
Fabio Erculiani
329da2587f
[equo] fix UnicodeEncodeError as per bug #3873
2012-12-26 19:17:13 +01:00
Fabio Erculiani
c5249488a6
[equo] fix "equo update" through dbus, properly populate the repositories list
2012-12-16 22:12:39 +01:00
Fabio Erculiani
2113b201ad
[equo] do not allow update through dbus if no repo is configured
2012-12-16 19:59:56 +01:00
Fabio Erculiani
f2cf417979
[equo] implement the "--injected" switch for "equo match"
2012-12-08 12:57:44 +01:00
Fabio Erculiani
ea7a559f45
[equo] convert all the sys.argv elements to unicode in main()
...
This avoids potential issues with entropy.db and other entropy.client
components.
2012-12-01 19:15:55 +01:00
Fabio Erculiani
6f8682af3c
[equo] add new command "equo query updates"
...
This command can be used in update-motd scripts for generating system
update status information.
2012-11-25 19:28:56 +01:00
Fabio Erculiani
3d04b69b7d
[equo] trivial: remove unused import
2012-11-25 19:03:41 +01:00
Fabio Erculiani
0685cd4132
[equo] add "equo version (or --version)" command
2012-11-25 18:59:38 +01:00
Fabio Erculiani
afb6d4e2c9
[equo] write license text to file in binary mode, don't use codecs.open()
2012-11-25 18:51:28 +01:00
Fabio Erculiani
4f5832040e
[equo] fix package set and package from repo string matching
2012-11-23 22:57:36 +01:00
Fabio Erculiani
2e9840e5b0
[equo] add --quiet support to "equo repo list"
2012-11-20 21:17:31 +01:00
Fabio Erculiani
a9755d67ce
[equo] fix "equo conf update" interactive merge
...
subprocess.call() arguments were generated before mkstemp()
2012-11-18 19:54:32 +01:00
Fabio Erculiani
29b8f266cc
[equo] fix tty colored output handling, re-add --color
2012-11-15 21:05:52 +01:00
Fabio Erculiani
281c9b5bcf
[equo] add "-q" argument support to "equo unused"
2012-11-15 21:05:25 +01:00
Fabio Erculiani
25ee44ea79
[equo] fix DependenciesNotRemovable handling in "equo remove"
2012-11-12 23:30:31 +01:00
Fabio Erculiani
09f3669842
[Solo] make enlightenatom() work with package keys
2012-11-11 23:55:31 +01:00
Fabio Erculiani
b7d7006505
[equo] fix ugc vote float (or int) to string conversion
2012-11-11 21:30:24 +01:00
Fabio Erculiani
7f99aa787d
[equo] fix "equo ugc vote" command, add missing positional argument
2012-11-11 21:16:11 +01:00
Sławomir Nizio
6670438445
[Solo] fix typo, improve message
2012-11-11 19:00:31 +01:00
Fabio Erculiani
ce80af4eb5
[Solo] fix undefined reference "exit_st"
2012-11-10 16:28:44 +01:00
Fabio Erculiani
bff697e4d5
[Solo*] fixup -q, -v, -p short options and bashcomp
2012-11-09 09:16:08 +01:00
Fabio Erculiani
f713f65d2d
[entropy.const] etpUi is gone, const_interactive_enabled() moved to is_interactive()
2012-11-06 21:22:23 +01:00
Fabio Erculiani
7ff175dd24
[Solo] fixup "solo install" output
2012-11-05 21:39:35 +01:00
Fabio Erculiani
df3c27deac
[entropy*] drop etpUi usage where possible
2012-11-04 22:36:54 +01:00
Fabio Erculiani
d2252e3873
[Solo] drop etpUi usage from solo.main
2012-11-04 21:23:38 +01:00
Fabio Erculiani
280a7067b3
[entropy.cli] drop module, move code to client/ and server/
...
Even though it is a small code duplication, entropy.cli does make
much less sense.
2012-11-04 21:11:56 +01:00
Fabio Erculiani
977bc60b21
[Solo] get rid of solo.utils.show_you_meant, move _show_did_you_mean to SoloCommand
2012-11-04 18:43:42 +01:00
Fabio Erculiani
cda4577291
[Solo] do not set "add" twice
2012-11-04 15:22:08 +01:00
Fabio Erculiani
c9a1d6988d
[Solo] implement the "solo security" command
2012-11-03 17:46:00 +01:00
Fabio Erculiani
d16578394f
[Solo] move _setup_verbose_quiet_parser to SoloCommand
2012-11-03 17:45:17 +01:00
Fabio Erculiani
66f5e4024f
[Solo] add "--showslot" (show package slot) support to "equo match"
2012-11-03 12:15:19 +01:00
Fabio Erculiani
631b7df3b9
[Solo] implement the "solo libtest" command
2012-11-02 18:44:52 +01:00
Fabio Erculiani
93a1f18aa0
[Solo] SoloDeptest: inherit SoloInstall and use _install_action() directly
2012-11-02 18:00:45 +01:00
Fabio Erculiani
3d87c3a9f4
[Solo] implement the "solo upgrade" command
2012-11-01 22:11:10 +01:00
Fabio Erculiani
9d100c8b94
[Solo] decouple argparse arguments handling from packages removal code
2012-11-01 22:09:55 +01:00