xebia-functional / nine-cards-v2

An Open Source Android Launcher built with Scala on Android
http://www.9cards.io/
Other
182 stars 20 forks source link

Copyrights in the Backend #1237

Closed diesalbla closed 7 years ago

diesalbla commented 7 years ago

Since we are soon to release the source code of the back-end server, we have to check all of the several issues involving the Copyrights, either ours or someone else's, and how to make our source code to comply with the existing practices.

This involve the following tasks:

  1. Review the files, either Scala source code or others, in the backend project. For each file, check if its contents were written completely by a member of 47 staff.
  2. Obtain a list with all of those files that, totally or partially, include contents written from other authors, be it other software libraries or programs, or be it from references such as books, weblogs, Q&A sites, etc.
  3. For those contents, check the licenses under which they were published, and the requirements they impose on our own licensing terms. If any of the mentioned contents were not compatible, they should be rewritten or deleted.
  4. Select, guided by the company's policies, the license for the publication of the source code. Create in the root of the project a COPYRIGHT file, containing this license. If necessary, modify the files in the project to add author and license notices.
diesalbla commented 7 years ago

Regarding point 1, these are so far the files I have found that could be non-original

That seems to be most of it.

raulraja commented 7 years ago

Regarding the protobuffer file, if that is available under a less restrictive license let's switch to that one.

Code fragments obtained from SO should also include links to the original posts and proper attribution in the license comments.

As for the assets used for testing resources, can we refer to them via URL instead of including the files in the project?, alternatively lets produce similar assets ourselves to remove that dependency altogether if necessary.

diesalbla commented 7 years ago

About the test resources: the Converters used to extract the relevant app information from the protocol buffer file, or from the web page, are a bit more complex than usual. To check the correctness of this converters if they are changed, we need a set of fixed-content files, unless those available from the Market API or the Play Webpage which are updated frequently. Also, it should be possible to run some unit tests even if no Google-Play-Token is available. Therefore, we made the unit tests to be runnable in off-line mode.

diesalbla commented 7 years ago

The Copyright notices, and the attribution to external files, have been added to almost all of the source, build, and configuration files.