Skip to content

Conversation

NicolasToussaint
Copy link
Member

Description

I have several difficulties when installing Fossology from sources:

  • sometimes my network is unstable, and the whole install process fails because the download of the json.hpp file fails
  • Quite often, the machines I install Fossology on require a proxy to access the internet.

Changes

  • Check first that file final file is not already available (sith correct checksum)
  • Added the Retry and Timeout options to curl, to make the installation process more robust
  • Let the user configure a proxy by sourcing a new configuration file: /etc/fossology/fossology-proxy.conf

How to test

Install Fossology from source, through a proxy

…k errors:

- do not download file if already available
- use curl retry options
- show proper error if download failed

Signed-off-by: Toussaint Nicolas <[email protected]>
(/etc/fossology/fossology-proxy.conf)

Signed-off-by: Toussaint Nicolas <[email protected]>
@ghost ghost added the needs code review label Sep 4, 2018
Copy link
Member

@GMishx GMishx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider making the changes

not as straight forward as initially thought

Signed-off-by: Toussaint Nicolas <[email protected]>
@GMishx GMishx added the WIP label Sep 10, 2018
@GMishx
Copy link
Member

GMishx commented Nov 1, 2018

Done with an alternative approach here #1226

@ag4ums
Copy link
Contributor

ag4ums commented Nov 1, 2018

the fix is here #1226 so closing this.

@ag4ums ag4ums closed this Nov 1, 2018
@ghost ghost removed the needs code review label Nov 1, 2018
@NicolasToussaint NicolasToussaint deleted the improve-json-hpp-install branch November 5, 2018 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants