@@ -16,13 +16,18 @@ const approvedLicenseIds: ApprovedLicense[] = [
1616 ' WTFPL'
1717];
1818
19- const approvedLicenses = Array .from (licenses .entries ())
19+ const openApprovedLicenses = Array .from (licenses .entries ())
2020 .filter (([id ]) => approvedLicenseIds .includes (id as any ))
2121 .map (([id , license ]) => ({ id , ... license }))
2222 .sort ((a , b ) => a .name .localeCompare (b .name ));
2323
24- const openSourceNonApprovedLicenses = Array .from (licenses .entries ())
25- .filter (([id , license ]) => ! approvedLicenseIds .includes (id as any ) && license .isOpenSource )
24+ const openNonApprovedLicenses = Array .from (licenses .entries ())
25+ .filter (([id , license ]) => ! approvedLicenseIds .includes (id as any ) && license .isOpenSource && license .isCopyleft )
26+ .map (([id , license ]) => ({ id , ... license }))
27+ .sort ((a , b ) => a .name .localeCompare (b .name ));
28+
29+ const openUnreviewedLicenses = Array .from (licenses .entries ())
30+ .filter (([id , license ]) => ! approvedLicenseIds .includes (id as any ) && license .isOpenSource && ! license .isCopyleft )
2631 .map (([id , license ]) => ({ id , ... license }))
2732 .sort ((a , b ) => a .name .localeCompare (b .name ));
2833
@@ -34,13 +39,14 @@ const proprietaryLicenses = Array.from(licenses.entries())
3439
3540<div class =" space-y-8" >
3641 <section >
37- <h3 >Licenses Approved for Inclusion in ODC Repository </h3 >
42+ <h3 >Open Source Licenses (Approved) </h3 >
3843 <p class =" mb-4 text-slate-700" >
39- The following licenses are pre-approved for direct inclusion and public distribution:
44+ The following licenses are pre-approved for direct inclusion in the Open Data Capture repository and public
45+ distribution:
4046 </p >
4147 <ul class =" tracking-tight" >
4248 {
43- approvedLicenses .map ((license ) => (
49+ openApprovedLicenses .map ((license ) => (
4450 <li >
4551 <a
4652 class = " font-bold hover:underline"
@@ -57,14 +63,38 @@ const proprietaryLicenses = Array.from(licenses.entries())
5763 </ul >
5864 <p class =" text-slate-700" >Please note that instruments in the public domain instruments are also permitted.</p >
5965 </section >
66+ <section >
67+ <h3 >Open Source Licenses (Non-Approved)</h3 >
68+ <p class =" mb-4 text-slate-700" >
69+ These open source licenses are acceptable for public distribution, but due to various clauses are not able to be
70+ included directly in the Open Data Capture repository.
71+ </p >
72+ <ul class =" tracking-tight" >
73+ {
74+ openNonApprovedLicenses .map ((license ) => (
75+ <li >
76+ <a
77+ class = " font-bold hover:underline"
78+ target = " _blank"
79+ rel = " noopener noreferrer"
80+ href = { license .reference }
81+ style = " text-decoration-line: none;"
82+ >
83+ { license .name }
84+ </a >
85+ </li >
86+ ))
87+ }
88+ </ul >
89+ </section >
6090 <section >
6191 <h3 >Open Source Licenses (Review Required)</h3 >
6292 <p class =" mb-4 text-slate-700" >
63- These open source licenses are acceptable for public distribution but require team review before inclusion:
93+ The following licenses are considered open source, but have not been reviewed by our team.
6494 </p >
6595 <ul class =" tracking-tight" >
6696 {
67- openSourceNonApprovedLicenses .map ((license ) => (
97+ openUnreviewedLicenses .map ((license ) => (
6898 <li >
6999 <a
70100 class = " font-bold hover:underline"
@@ -83,8 +113,8 @@ const proprietaryLicenses = Array.from(licenses.entries())
83113 <section >
84114 <h3 >Proprietary and Non-Free Licenses</h3 >
85115 <p class =" mb-4 text-slate-700" >
86- These licenses may not be published publicly by our team. Licenses with commercial use restrictions are considered
87- non-free, consistent with FSF and OSI definitions:
116+ These licenses may not be published publicly by our team. This list includes non-free licenses, as well as any
117+ licenses with restrictions on commercial use.
88118 </p >
89119 <ul class =" tracking-tight" >
90120 {
0 commit comments