During the installation of the repository version, I encountered several errors that made the installation process:
Outdated Dockerfile
Some packages installed via apt either no longer existed or had updated names, specifically gcc-aarch64-linux-gnu. Additionally, it was necessary to re-clone the repository once the Docker container was created.
Furthermore, some essential packages like build-essential were missing, causing compilation errors in the script.
Solution: Update the package, automate workspace creation in Docker, add build-essential (babeltrace still needs to be installed from source)
Outdated Dependencies
Due to version conflicts between updated and non-updated packages (numpy, dedupe, dedupe-datetime, etc.), it was impossible to run setup.py install. This caused numpy to install a version lacking some methods used in the script.
Solution: Pin versions in setup.py
PyCVESearch - The CVESearch method requires a base URL for directing requests
Solution: Add a base_url parameter to cve_search() (wrapper for CVESearch()) with the default URL https://cvepremium.circl.lu/
Lack of documentation for running modules, only the entrypoint is indicated in setup.py
Solution: Add a brief tutorial to the README
These improvements should significantly enhance the installation process and usability of the repository.
During the installation of the repository version, I encountered several errors that made the installation process:
Some packages installed via apt either no longer existed or had updated names, specifically gcc-aarch64-linux-gnu. Additionally, it was necessary to re-clone the repository once the Docker container was created. Furthermore, some essential packages like build-essential were missing, causing compilation errors in the script. Solution: Update the package, automate workspace creation in Docker, add build-essential (babeltrace still needs to be installed from source)
Due to version conflicts between updated and non-updated packages (numpy, dedupe, dedupe-datetime, etc.), it was impossible to run setup.py install. This caused numpy to install a version lacking some methods used in the script. Solution: Pin versions in setup.py
Solution: Add a base_url parameter to cve_search() (wrapper for CVESearch()) with the default URL https://cvepremium.circl.lu/