Main Page: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
=== First step: Find out whether a particular version of a software package is supported by OSSelot and has already been curated. === | === First step: Find out whether a particular version of a software package is supported by OSSelot and has already been curated. === | ||
Use the URL <nowiki>https://www.osselot.org/curated.php?packagename</nowiki> 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 returns | Use the URL '''''<nowiki>https://www.osselot.org/curated.php?packagename</nowiki>''''' 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 returns | ||
angular/version-15.1.0 | angular/version-15.1.0 | ||
angular/version-15.2.2 | angular/version-15.2.2 | ||
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 OSSelot Github package repository at <nowiki>https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/</nowiki> such as, for example, | 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 OSSelot 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 | ||
Line 47: | Line 47: | ||
</script> | </script> | ||
</html> | </html> | ||
Material from several packages may be completed with a title line and then be concatenated. | |||
=== Alternatively: How do I use the disclosure files if my software package is included in OSSelot but in a different version? === | === Alternatively: How do I use the disclosure files if my software package is included in OSSelot but in a different version? === |
Revision as of 16:00, 8 July 2023
Welcome to the OSSelot Wiki!
This Wiki was created to facilitate the daily work with the resources of the OSSelot project.
First step: Find out whether a particular version of a software package is supported by OSSelot and has already been curated.
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 returns
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 OSSelot Github package repository at https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/ such as, for example,
Next step: How do I obtain the disclosure file if my software package is already included in the current version of OSSelot?
To download the disclosure file that relates to a given package name and version from the OSSelot Github repository the following script can be used:
#!/bin/bash package="$1" version="$2" if test -z "$1" -o -z "$2" then echo "Usage: $0 <package> <version>" exit 1 fi if test `wget -qO - https://www.osselot.org/curated.php?$package | grep version-$version` then wget -qO - https://raw.githubusercontent.com/Open-Source-Compliance/package-analysis/main/analysed-packages/$package/version-$version/$package-$version-OSS-disclosure.txt fi
The output of this script can then be copied into the material accompanying the distribution of the corresponding software package and given to the recipient of the software upon delivery as an important step towards compliance with the license terms.
In the above example of angular in version 15.2.2, if the script is called "getdisclosure" and invoked as
getdisclosure angular 15.2.2
the returned text is ready to be used:
Material from several packages may be completed with a title line and then be concatenated.
Alternatively: How do I use the disclosure files if my software package is included in OSSelot but in a different version?
If a particular version of a software package has not been curated before, but another one that may be close to it has, then FOSSology's reuse feature can be applied. Details are given in the presentation and video material on the OSSelot home page: Please check out "Use case 2" at the OSSelot presentations.