Is there a pull request template that does this?

Edit: I was worried about possibly needing to change license. For now I will just use a permissive license. The situation is made seemingly complicated by the possible need to use copylefted images, combined with the possible need for using server code (which shouldn’t use creative commons) in addition to the static html. I would rather deal with including parts with different licenses (probably not as complicated as I initially thought) instead of contributor license agreements.

Edit 2: Also, license enforcement is not very important for my project.

Edit 3: Now I’m using creative commons zero and making the repo comply with https://reuse.software/

  • ShustOne@lemmy.one
    link
    fedilink
    arrow-up
    15
    ·
    6 months ago

    I’d really advise against forcing all code contributions to be copyrighted to you. It doesn’t send a great message to contributors. It also gets murky if any libraries are used.

  • tiny@midwest.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    Not saying I’m a fan but you I think you are looking for a CLA or contributor license agreement

    • rufus@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 months ago

      This is the correct answer.

      I’m sure there is a way to make signing the CLA part of the pull request process on Github. I’ve been asked to do it. Not sure how Github works nowadays, maybe it was part of Github or an external bot.

      And I don’t agree with the other people here. I think having complete copyright makes some things easier. And if you do an open project, maintain it for years, do 99% of the work… You’re allowed being paid with the contributions.

      Mind there are other licenses than just the GPL. You could just pick a MIT license / Apache / BSD instead and maybe you don’t need the contributors to sign over their copyright anymore, because these licenses cover pretty much everything and transfer it to everyone, including you.

    • wagesj45@kbin.social
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      Copyright and license agreements are not at all the same thing. And just because something is “open source” doesn’t mean that it is free of copyright.

  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 months ago

    If you want that, you’ll get fewer contributors, but just make that explicitly clear in your pull request template.

    Personally, I would never contribute to a project where the maintainer demanded I transfer copyright ownership of my contributions. I also wouldn’t use a project that did that, and would advise other people to not use that project either.

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    If the license you use is reallu permissive, it does not forbid the change to more restricted (copyleft). You also can use separate licences for code and resourses.

  • Atemu@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    I was worried about possibly needing to change license.

    I’d rather ask the contributors to consent to licensing their code under the new license. You don’t need the copyright in the hand of one entity to change license, it’s enough if all copyright holders agree.

    The situation is made seemingly complicated by the possible need to use copylefted images

    WDYM by “images”?

    As in art assets? I’m not sure those would even be infectious. I think it’s possible to even use non-free assets in a GPL’d application. It may be better to treat them as such to keep the licensing simple though.

    Even then, it’s usually possible to “upgrade” permissively licensed code (such as Apache 2.0) to a copyleft license as long as the original license’s conditions are still met which usually involves denoting which parts of the code is also available under the permissive license.

    • Octorine@midwest.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      Some GPL projects do it. If you find someone infringing, it’s easier to sue them if you have one copywrite holder instead of 100.

      • NekkoDroid@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        6 months ago

        Generally the only groups I would maybe sign such a CLA in regard to the GPL is: the FSF and the Linux Foundation. Anybody else (especially individuals I don’t know) I wouldn’t sign any CLA unless my contribution is like a 1 off, trivial patch.