Licence scanning
TILLOY Anne
Hi TSC member,
Here are the results of the license scanning performed by the LFE: https://lfscanning.org/reports/lfenergy/powsybl-2021-04-20-ed46eeb7-b4a3-4f66-8266-e757e3fb0c46.xlsx
We miss some license headers and sometimes the author is missing too. I have fixed the powsybl-core java files, using the year of the first commit for the copyright. I am going to fix also the tutorials and the powsybl-open-loadflow repository. It remains the underlying files. Please open a PR on each repository with the changes requested. Note that this email only focus on Java source file.
Note that a preventive strategy could be to use the check REUSE https://github.com/marketplace/actions/reuse-compliance-check Who is volunteer to help on that subject if you all agree?
Thanks a lot.
Anne.
"Ce message est destiné exclusivement aux personnes ou entités auxquelles il est adressé et peut contenir des informations privilégiées ou confidentielles. Si vous avez reçu ce document par erreur, merci de nous l'indiquer par retour, de ne pas le transmettre et de procéder à sa destruction. This message is solely intended for the use of the individual or entity to which it is addressed and may contain information that is privileged or confidential. If you have received this communication by error, please notify us immediately by electronic mail, do not disclose it and delete the original message."
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
JAMGOTCHIAN Geoffroy
Hi,
For powsybl-hpc/computation-mpi/src/main/java/com/powsybl/computation/mpi/generated/Messages this is a generated file so maybe we should configure the scanner to exclude it. It does not make sense (or maybe is illegal?) to add a licence/authorship to a generated file. For the preventive strategy, I would go for a Maven plugin instead because we can test it locally before pushing the code (same kind of check as checkstyle). Indeed it will only check Java files but that is 99% of our files (powsybl cpp excluded) Geoffroy
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
BAGUE Mathieu
Hi,
I don't know if it's easily feasable, but generated source files should be in the target/generated-classes. If I remember well, we decided to commit it to reduce compilation time. Could it make sense to remove this file from the repo and generate it from
the protobuf IDL file in the target directory?
Best,
Mathieu
Le mardi 27 avril 2021 à 07:50 -0700, JAMGOTCHIAN Geoffroy via lists.lfenergy.org a écrit :
"Ce message est destiné exclusivement aux personnes ou entités auxquelles il est adressé et peut contenir des informations privilégiées ou confidentielles. Si vous avez reçu ce document par erreur, merci de nous l'indiquer par retour, de ne pas le transmettre et de procéder à sa destruction. This message is solely intended for the use of the individual or entity to which it is addressed and may contain information that is privileged or confidential. If you have received this communication by error, please notify us immediately by electronic mail, do not disclose it and delete the original message."
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Not easy because we need protobuf compiler which is platform dependent, so it means powsybl-hpc would be painful to build.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|