Search

From OSSelot
Revision as of 10:38, 16 July 2023 by Wiki (talk | contribs)
Jump to navigation Jump to search

About searching

This page provides information how to use a Web script to find out whether a particular software package and optionally in a particular version already has been curated. It can be used to create references into the particular O repository on Github as exemplified here.

Find out whether a particular version of a software package is supported and has already been curated

For this purpose a special Web script is provided at the O Web interface.

Call the Web script from browser

Use the URL https://www.osselot.org/curated.php?packagename to determine whether a particular software package already has been curated and, if so, for which version disclosure information is available. For example https://www.osselot.org/curated.php?angular may return

angular/version-15.1.0
angular/version-15.2.2
angular/version-16.0.1
angular/version-16.1.2

If a package has not been curated so far, the output of the given URL remains empty. Otherwise, the output can be concatenated to the URL of the O Github package repository at https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/ such as, for example,

https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/angular/version-15.2.2

Call the Web script from command line

Checkout any versions

wget -qO - https://www.osselot.org/curated.php?angular | grep -v '<'
angular/version-15.1.0
angular/version-15.2.2
angular/version-16.0.1
angular/version-16.1.2

Search for a particular version

wget -qO - https://www.osselot.org/curated.php?angular | grep 15.2.2
angular/version-15.2.2

Web interface to immediately run the above Web script from this page and provide links to the found repositories

Look for other software packages that may have already been curated at O and provide links to the related repositories



Web interfaces to extract particular information

The above Web script may be encapsulated in a shell script to extract particular information from the O resources such as disclosure documents or list of licenses in use.