Skip to content

Commit

Permalink
Enhances knowledge base to support EUPL-1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Domínguez Dorado committed Feb 25, 2021
1 parent 8ae549a commit 7e0bc6b
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private LicensesObsolescencesFactory() {
this.licensesObsolescenses.put(SupportedLicenses.EPL_1_0, computeObsolescence(TWO, FIRST));
this.licensesObsolescenses.put(SupportedLicenses.EPL_2_0, computeObsolescence(TWO, SECOND));
this.licensesObsolescenses.put(SupportedLicenses.EUPL_1_1, computeObsolescence(THREE, SECOND));
this.licensesObsolescenses.put(SupportedLicenses.EUPL_1_2, computeObsolescence(THREE, THIRD));
this.licensesObsolescenses.put(SupportedLicenses.GPL_2_0_ONLY, computeObsolescence(SIX, THIRD));
this.licensesObsolescenses.put(SupportedLicenses.GPL_2_0_OR_LATER, computeObsolescence(SIX, FOURTH));
this.licensesObsolescenses.put(SupportedLicenses.GPL_3_0_ONLY, computeObsolescence(SIX, FIVETH));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ private LicensesSpreadingFactory() {
this.licensesSpreadings.put(SupportedLicenses.EPL_1_0, SupportedSpreadings.LITTLE_WIDESPREAD);
this.licensesSpreadings.put(SupportedLicenses.EPL_2_0, SupportedSpreadings.NEAR_HIGHLY_WIDESPREAD);
this.licensesSpreadings.put(SupportedLicenses.EUPL_1_1, SupportedSpreadings.LITTLE_WIDESPREAD);
this.licensesSpreadings.put(SupportedLicenses.EUPL_1_2, SupportedSpreadings.LITTLE_WIDESPREAD);
this.licensesSpreadings.put(SupportedLicenses.GPL_2_0_ONLY, SupportedSpreadings.NEAR_HIGHLY_WIDESPREAD);
this.licensesSpreadings.put(SupportedLicenses.GPL_2_0_OR_LATER, SupportedSpreadings.HIGHLY_WIDESPREAD);
this.licensesSpreadings.put(SupportedLicenses.GPL_3_0_ONLY, SupportedSpreadings.NEAR_HIGHLY_WIDESPREAD);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private LicensesTrendFactory() {
this.licensesTrends.put(SupportedLicenses.EPL_1_0, SupportedTrends.NEAR_UNFASHIONABLE);
this.licensesTrends.put(SupportedLicenses.EPL_2_0, SupportedTrends.NEAR_TRENDY);
this.licensesTrends.put(SupportedLicenses.EUPL_1_1, SupportedTrends.NEAR_UNFASHIONABLE);
this.licensesTrends.put(SupportedLicenses.EUPL_1_2, SupportedTrends.NEAR_TRENDY);
this.licensesTrends.put(SupportedLicenses.GPL_2_0_ONLY, SupportedTrends.NEAR_UNFASHIONABLE);
this.licensesTrends.put(SupportedLicenses.GPL_2_0_OR_LATER, SupportedTrends.NEAR_UNFASHIONABLE);
this.licensesTrends.put(SupportedLicenses.GPL_3_0_ONLY, SupportedTrends.NEAR_TRENDY);
Expand Down
Loading

0 comments on commit 7e0bc6b

Please sign in to comment.