should warn if repo.fossology.org not available

Bug #924325 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
getlicenses
Fix Released
High
Kyle Nitzsche

Bug Description

By default, repo.fossology.org is the fossology server queried for all copyright files that are not valid dep5.

User can specify another seriver with -f <IP> args on getlicenses.py.

With getlicenses 1.1, there is no warning to the user that the fossology server is unavailable. Instead the process simply completes but most packages have no licenses found.

User should be warned if the fossology server is not accessible and be given the option of halting.

Related branches

Changed in getlicenses:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Kyle Nitzsche (knitzsche)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

fix committed in branch revision 216

Changed in getlicenses:
status: Confirmed → Fix Committed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

fix released in pkg 1.2

Changed in getlicenses:
status: Fix Committed → Fix Released
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Current fix successfully checks IP level connectivity to designated fossology server machine with ping. but even if ping succeeds, fossology server itself may not be responsive (for example apache may not be configured correctly or started, etc).

reopening.

Changed in getlicenses:
status: Fix Released → Confirmed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Now use wget to test accessibility of fossology server instead of ping. wget is the interface through which the copyright files are submitted for analysis, so this is the proper test.

committed in branch revision 223.

Changed in getlicenses:
status: Confirmed → Fix Committed
Changed in getlicenses:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.