Search: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
CarstenEmde (talk | contribs) (Added search by name of a binary file to the description in the header section) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | |||
=About searching= | =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. | 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. This can be done either by package name or by the name of a binary file that is built by a package. The script can be used to create references into the particular <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> repository on Github as exemplified [[Disclosure_files|here]]. | ||
==Find out whether a particular version of a software package is supported and has already been curated== | ==Find out whether a particular version of a software package or a particular binary file is supported and has already been curated== | ||
For this purpose a special Web script is provided at the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;"> | <html> | ||
<input type="button" onclick="showorhide(this);" value="Show technical background of this functionality" /> | |||
<div id="showondemand" style="display: none;"> | |||
</html> | |||
For this purpose a special Web script is provided at the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> Web interface. | |||
===Call the Web script from browser=== | ===Call the Web script from browser=== | ||
Line 11: | Line 16: | ||
angular/version-16.0.1 | angular/version-16.0.1 | ||
angular/version-16.1.2 | 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 <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;"> | angular/version-16.2.0 | ||
angular/version-17.1.3 | |||
angular/version-19.1.6 | |||
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 <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> Github package repository at '''''<nowiki>https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/</nowiki>''''' such as, for example, | |||
https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/angular/version-15.2.2 | https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/angular/version-15.2.2 | ||
===Call the Web script from command line=== | ===Call the Web script from command line=== | ||
====Checkout any versions==== | ====Checkout any versions of a package==== | ||
wget -qO - https://www.osselot.org/curated.php?angular | grep -v '<' | wget -qO - https://www.osselot.org/curated.php?angular | grep -v '<' | ||
angular/version-15.1.0 | angular/version-15.1.0 | ||
Line 22: | Line 30: | ||
angular/version-16.0.1 | angular/version-16.0.1 | ||
angular/version-16.1.2 | angular/version-16.1.2 | ||
angular/version-16.2.0 | |||
angular/version-17.1.3 | |||
angular/version-19.1.6 | |||
====Search for a particular version==== | ====Search for a particular version of a package==== | ||
wget -qO - https://www.osselot.org/curated.php?angular | grep 15.2.2 | wget -qO - https://www.osselot.org/curated.php?angular | grep 15.2.2 | ||
angular/version-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== | ====Search for packages from which a particular program or library is built==== | ||
To ensure that the script first searches for packages from which a specific binary file is created, “bin” must be appended to the binary file as the second URL argument and separated by an ampersand, for example to search for the program "chown": | |||
wget -qO - "https://www.osselot.org/curated.php?chown&bin" | grep -v '<' | |||
coreutils/version-9.1 | |||
coreutils/version-9.3 | |||
<html> | |||
</div> | |||
</html> | |||
==Web interface to immediately run the above described Web script from this page and provide links to the found repositories== | |||
<html> | <html> | ||
<script src="/scripts/osadl.js"> | <script src="/scripts/osadl.js"> | ||
</script> | </script> | ||
<h4>Look for | <h3>Software packages</h3> | ||
<h4>Look for software packages that may have already been curated at <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> and provide links to the related repositories</h4> | |||
<input type="text" onkeyup="searchtextkeyup(event, this, 'repo');" size="30" /><button onclick="searchOSSelot(this, 'repo');">Search the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;"> | <input type="text" onkeyup="searchtextkeyup(event, this, 'repo');" size="30" /><button onclick="searchOSSelot(this, 'repo');">Search the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> repository</button><br /> | ||
<span style="display: none;"></span> | <span style="display: none;"></span> | ||
<br /> | <br /> | ||
<h3>Programs or libraries</h3> | |||
<h4>Look for programs or libraries that are created by packages that may have already been curated at <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> and provide links to the related repositories</h4> | |||
<input type="text" onkeyup="searchtextkeyup(event, this, 'repo');" size="30" /><button onclick="searchOSSelot(this, 'repobin');">Search the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> repository</button><br /> | |||
<span style="display: none;"></span> | |||
<br /> | |||
</html> | </html> | ||
The above Web script may be encapsulated in a shell script to | |||
==Web interfaces to extract particular information== | |||
The above Web script may be encapsulated in a shell script to extract particular information from the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> resources such as [[Disclosure_files|disclosure documents]], [[DIY_Disclosure_files|individually designed disclosure documents]] or [[Licenses|list of licenses in use]]. |
Latest revision as of 17:38, 20 June 2025
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. This can be done either by package name or by the name of a binary file that is built by a package. The script can be used to create references into the particular OSSelot repository on Github as exemplified here.
Find out whether a particular version of a software package or a particular binary file is supported and has already been curated
Web interface to immediately run the above described Web script from this page and provide links to the found repositories
Software packages
Look for software packages that may have already been curated at OSSelot and provide links to the related repositories
Programs or libraries
Look for programs or libraries that are created by packages that may have already been curated at OSSelot 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 OSSelot resources such as disclosure documents, individually designed disclosure documents or list of licenses in use.