Bunele practici in copierea de cod

Sunt interesat sa preiau codul dintr-un repo abandonat (?).
Repo-ul respectiv nu mai este compatibil cu versiuni noi de Angular, iar lumea il foloseste si il doreste.

Are licenta MIT:

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Din ce inteleg eu il pot copia si modifica.
Nu-mi este clar daca ii pot modifica denumirea si daca trebuie sa atribui copyright cuiva.
E de ajuns sa mentionez sursa in README?

1 Like

MIT e cam cea mai permisiva licenta, ai noroc. Poti sa faci cam orice fara sa mentionezi pe nimeni.

2 Likes

Dar ma obliga sa am si eu licenta MIT?

Nu.

Eu citesc ca trebe sa ai aceasi licenta si acelasi text.

Si eu inteleg cam acelasi lucru.
Adica e open source si trebuie sa ramana asa si daca este copiat codul.

The MIT license gives users express permission to reuse code for any purpose, sometimes even if code is part of proprietary software. As long as users include the original copy of the MIT license in their distribution, they can make any changes or modifications to the code to suit their own needs.

The only condition required to use the software is to include the same copyright notice in all copies or any substantial portions of the software. The final portion of the text provides for limitations and revokes any warranty implied by sharing the code.

Sursa:
What is the MIT License? Top 10 questions answered | Snyk.

Cel mai frumos e sa ii faci fork, si sa mentionezi ca e fork, sa ramana istoricu de commits.

5 Likes

Red flag e doar GNU/GPL/LGPL-ul. De obicei când ceva e GPL înseamnă că trebuie să cumperi o licență comercială dacă e posibil.

Nu ‘daca e posibil’, ci daca vrei sa folosesti in proiect comercial.
Ceea ce e rezonabil.

Plus ca e mai greu sa-ti insusesti codul respectiv/sa pretinzi ca tu l-ai implementat.

Toate proiectele mele open source sunt GPL.

A mai facut cineva un fork si nu a avut rezultat bun.
Am incercat si eu.
E nevoie de niste schimbari structurale si istoricul devine irelevant.
Practic trebuie preluata o parte de JavaScript, iar ce tinea de Angular trebuie refacut.

Forkul va avea si copyrightul original si cel pentru contributiile tale

2 Likes