[ 
https://issues.apache.org/jira/browse/SOLR-15929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897188#comment-17897188
 ] 

Jan Høydahl commented on SOLR-15929:
------------------------------------

Spreadsheet would be a way to keep track of what we have where and that we 
don't lose anything.

The fact that we only use artifact name and not group-name for licenses is a 
big bummer. Some jar files do not have a very obvious name. I understand that 
the scanner starts with the jar file, but it should be possible to find group 
to qualify things. Then we could squash more things.

Hopefully we'd be able to auto generate LICENSE and NOTICE for the release 
variants mentioned. And we don't need to copy entire license or copyright 
statements into those files, it is enough with a reference linking to the 
original license files. Sources for the generator would be
 * licenses folder - for linking to
 * gradle build - to know what is test deps, runtime deps, slim and full
 * Some checked-in file with non-java license info, such as list of software we 
copy/pasted into Solr source code, and UI src

Tp keep track of copy/pasted code, we could auto generate those links as well 
if we added some structured signature of some kind to those files, in a 
comment, that a scanner could then detect and enumerate...

> Clean up NOTICE and LICENSE files for Solr
> ------------------------------------------
>
>                 Key: SOLR-15929
>                 URL: https://issues.apache.org/jira/browse/SOLR-15929
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Jan Høydahl
>            Priority: Major
>
> Spinoff from SOLR-15862 and SOLR-2406:
> We need a total cleanup of both these files
>  * Move lots of (C) notices from NOTICE to LICENSE file
>  * Cross-check that we list all dependencies, and that removed deps (such as 
> for DIH etc) are removed from NOTICE/LICENSE
> I wonder if 
> [https://github.com/apache/solr/blob/main/solr/licenses/README.committers.txt]
>  should also be relocated to either `dev-docs/` or `help/` to make it easier 
> to find. It is hard to get the license/notice stuff right, so we need a good 
> guide for committers!
> See [https://infra.apache.org/licensing-howto.html] for the requirements. PS: 
> Any preference whether we should rename the files without {{.txt}} suffix?
> Also, our source and binary distributions are quite different, and would 
> ideally have different LICENSE and NOTICE files compared to the binary 
> distro. I think the Apache Whisker tool could potientailly help with this 
> [https://creadur.apache.org/whisker/index.html] but have not looked deeply.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to