lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 25 May 2021 15:27:26 +0200
From:   Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To:     Jonathan Corbet <corbet@....net>,
        Linux Doc Mailing List <linux-doc@...r.kernel.org>
Cc:     Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
        linux-kernel@...r.kernel.org,
        Mauro Carvalho Chehab <mchehab@...nel.org>
Subject: [PATCH 0/2] Fix some issues at scripts/sphinx-pre-install

Currently, when using with --no-virtualenv, the script doesn't behave well,
as it prints both instructions to install Sphinx via distribution's package
manager and via pip.

Address it.

While here, rework the logic which recommends Sphinx install, by
splitting it into three parts and making easier to maintain it, as
there are too much complexity there. Splitting the Sphinx part
of the logic on 3 separate functions allow to detect if the venv/virtualenv
python packages are needed or not, and helps to have a cleaner
logic.

Mauro Carvalho Chehab (2):
  scripts: sphinx-pre-install: rework the sphinx install logic
  scripts: sphinx-pre-install: fix the need of virtenv packages

 scripts/sphinx-pre-install | 262 +++++++++++++++++++++++++------------
 1 file changed, 180 insertions(+), 82 deletions(-)

-- 
2.31.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ