Skip to content
  • Carter Anderson's avatar
    Relicense Bevy under the dual MIT or Apache-2.0 license (#2509) · e167a1d9
    Carter Anderson a rédigé
    This relicenses Bevy under the dual MIT or Apache-2.0 license. For rationale, see #2373.
    
    * Changes the LICENSE file to describe the dual license. Moved the MIT license to docs/LICENSE-MIT. Added the Apache-2.0 license to docs/LICENSE-APACHE. I opted for this approach over dumping both license files at the root (the more common approach) for a number of reasons:
      * Github links to the "first" license file (LICENSE-APACHE) in its license links (you can see this in the wgpu and rust-analyzer repos). People clicking these links might erroneously think that the apache license is the only option. Rust and Amethyst both use COPYRIGHT or COPYING files to solve this problem, but this creates more file noise (if you do everything at the root) and the naming feels way less intuitive. 
      * People have a reflex to look for a LICENSE file. By providing a single license file at the root, we make it easy for them to understand our licensing approach. 
      * I like keeping the root clean and noise free
      * There is precedent for putting the apache and mit license text in sub folders (amethyst) 
    * Removed the `Copyright (c) 2020 Carter Anderson` copyright notice from the MIT license. I don't care about this attribution, it might make license compliance more difficult in some cases, and it didn't properly attribute other contributors. We shoudn't replace it with something like "Copyright (c) 2021 Bevy Contributors" because "Bevy Contributors" is not a legal entity. Instead, we just won't include the copyright line (which has precedent ... Rust also uses this approach).
    * Updates crates to use the new "MIT OR Apache-2.0" license value
    * Removes the old legion-transform license file from bevy_transform. bevy_transform has been its own, fully custom implementation for a long time and that license no longer applies.
    * Added a License section to the main readme
    * Updated our Bevy Plugin licensing guidelines.
    
    As a follow-up we should update the website to properly describe the new license.
    
    Closes #2373 
    
    e167a1d9
Ce projet est sous licence Apache License 2.0. En savoir plus