Commit Graph

14 Commits

Author SHA1 Message Date
Sławomir Nizio 7cf7e1f6b7 convert solo imports, with needed changes to entropy_path_loader
The module entropy_path_loader (used only for running from within the
checkout; otherwise not even installed) is made to provide the _entropy
namespace.

(Other ideas instead of this entropy_path_loader change would be to
reorganise files layout; drop support for running from the checkout as
is - and perhaps require virtualenvs; require sourcing a script that
sets PYTHONPATH. However, as implemented, it is not intrusive, and the
good part is that it is quite isolated, not used in normal usage after
installation. Basically, it only does sys.path + provides _entropy
namespace.)
2018-11-26 20:15:36 +01:00
Sławomir Nizio 252c260f06 use entropy_path_loader only for running from the checkout
After this commit alone it would not work when installed (unless module
paths are set in a special way). Next changes will introduce
installation to site-packages so no custom PYTHONPATH will be necessary.
2018-11-26 20:15:36 +01:00
Sławomir Nizio 41ba9b6d63 [*] be strict about Python modules paths being loaded
For convenience (seemingly, and it really is convenient) equo and other
tools can be run from the checkout, and Entropy modules are loaded from
the checkout. Now there is a strict separation when system paths and
when paths from the checkout are used.

It makes it a bit more robust, secure and preditable at the cost of
a little more complexity.

A pleasant side effect of this change is that it is not required to
change directory to the tool (to use non-system one), as paths in the
checkout are relative to scripts.

Imports in lib/tests were not adjusted.
2018-10-27 13:03:58 +02:00
Sławomir Nizio 9db87b99c3 [equo, eit] update man pages 2018-08-06 22:45:32 +02:00
Sławomir Nizio 789e06c122 [solo.commands.command, equo] support "authors" in docs
Suggested by Ettore.

My comment is that it is to have a more correct information and to give
credit where it is due.
This is not a "miscredit" towards the Creator. We know who has made this
possible!
2018-08-06 22:39:42 +02:00
Sławomir Nizio 70f1719138 [solo.commands.mark] new command 2018-07-31 08:58:31 +02:00
Fabio Erculiani b548f4b357 [solo.commands.preservedlibs] add new command "preservedlibs" 2013-11-27 12:51:16 +01:00
Fabio Erculiani 4149e6efff [solo.commands.match] add "--showdownload" to "equo match"
While we don't have an "equo metadata" command yet, this command
may be used to determine the package file name belonging to a package
2013-05-16 11:37:03 +02:00
Fabio Erculiani 0ffe7a9f9f [equo] implement "equo repo rename" command 2013-05-01 23:51:23 +02: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 8af1d2fe2d [equo] update man pages 2013-02-28 16:37:52 +00:00
Fabio Erculiani 5ce930fc8d [equo] update man pages 2012-11-25 21:24:42 +01:00
Fabio Erculiani 8ada0d1730 [equo] update man pages 2012-11-09 09:18:54 +01:00
Fabio Erculiani 9e08b70113 [equo] migrate to Solo, drop old and crufty code, peace and love 2012-11-03 23:57:25 +01:00