Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

Outline

ClearlyDefined

Purpose

This tool is intended to test if all the license data in ClearlyDefined is present to generate the PowerShell license. If the data is not present, it can request that ClearlyDefined gather (called Harvest in their terminology) the data.

Use

Testing

Run ./ClearlyDefined.ps1 -test.

If there is any missing data, the script should write verbose messages about the missing data and throw. If there is no missing data, the script should not throw.

Harvesting

Run ./ClearlyDefined.ps1 -Harvest. The script will trigger the harvest and output the result from ClearlyDefined. Give ClearlyDefined 24 hours to harvest the data. You can use the -Test switch without the -Harvest switch to test if Harvesting is done.

Caching

If you run in the same PowerShell session, the script will be faster due to caching.

The module will cache any results from ClearlyDefined that indicate the package is Harvested for 60 minutes. No caching is done for packages that are not yet harvested. To clear the cache, run with the -ForceModuleReload switch.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.