Skip to content

Commit

Permalink
Merge pull request #68 from scanoss/5.4.2
Browse files Browse the repository at this point in the history
solve bug ignoring componentes without release date
  • Loading branch information
mscasso-scanoss authored Apr 18, 2024
2 parents 0f696db + ee769bc commit 4d53e29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/url.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ bool get_oldest_url(uint8_t *key, uint8_t *subkey, int subkey_ln, uint8_t *data,
scanlog("<<URL wins by purl date, %s - %s / %s -%s>>\n", purl_new, purl_date_new, purl_oldest ,purl_date_oldest);
}
}
else if (!*release_date && !*oldest)
{
replace = true;
scanlog("URL without release date accepted");
}

if (replace)
{
Expand Down

0 comments on commit 4d53e29

Please sign in to comment.