Codeberg/Community
54
325
Fork
You've already forked Community
12

Add license to existing repo / License reminder #293

Open
opened 2020年09月22日 09:15:25 +02:00 by ivan-paleo · 15 comments

It's easy to add a license during the creation of a repo, but I could not find a way to add/change a license (file) to/of an existing repo.

Maybe I've just missed it, but if not, I would suggest to add this function.

It's easy to add a license during the creation of a repo, but I could not find a way to add/change a license (file) to/of an existing repo. Maybe I've just missed it, but if not, I would suggest to add this function.
Member
Copy link

Just add any FSF/OSI approved LICENSE file to the repository.

Just add any FSF/OSI approved LICENSE file to the repository.

Just add any FSF/OSI approved LICENSE file to the repository.

Yes, of course, but you first have to find such a file! This is why the best would be to be able to add it afterwards just like during the creation.

I mean it's not a big issue, but it would surely help. Just suggesting...

> Just add any FSF/OSI approved LICENSE file to the repository. Yes, of course, but you first have to find such a file! This is why the best would be to be able to add it afterwards just like during the creation. I mean it's not a big issue, but it would surely help. Just suggesting...

Adding on to this, a reminder for projects to add a LICENSE or COPYING file (if one doesn't already exist) would be good.

Adding on to this, a reminder for projects to add a LICENSE or COPYING file (if one doesn't already exist) would be good.
Member
Copy link

A reminder banner with button to select/create the LICENSE file sounds pretty cool

A reminder banner with button to select/create the LICENSE file sounds pretty cool

In that banner, we could link to a site that helps users find a license.

We could link directly to FSF and OSI - https://www.gnu.org/licenses/license-list and https://opensource.org/licenses.

I also like the idea of choosealicense.com, particularly https://choosealicense.com/licenses/.

The SPDX License list contains a vast array of licenses and information about if they're FSF/OSI approved. But it might be too much and overwhelm users. Also it contains non-approved licenses.

In that banner, we could link to a site that helps users find a license. We could link directly to FSF and OSI - https://www.gnu.org/licenses/license-list and https://opensource.org/licenses. I also like the idea of choosealicense.com, particularly https://choosealicense.com/licenses/. The [SPDX License list](https://spdx.org/licenses/) contains a vast array of licenses and information about if they're FSF/OSI approved. But it might be too much and overwhelm users. Also it contains non-approved licenses.
lhinderberger changed title from (削除) Add license to existing repo (削除ここまで) to Add license to existing repo / License reminder 2020年09月22日 23:36:03 +02:00

I think https://choosealicense.com/ is on point and not overwhelming, like any long list of licenses.

Should we even threaten users, that we delete repositories, that are not open source, after 14 days or so? They are not allowed.

I think https://choosealicense.com/ is on point and not overwhelming, like any long list of licenses. Should we even threaten users, that we delete repositories, that are not open source, after 14 days or so? They are not allowed.
Member
Copy link

Should we even threaten users, that we delete repositories, that are not open source, after 14 days or so? They are not allowed.

That's what we currently do (trying to be nice) in a manual manner. Automatizing part or all of this process, or even some feature to enforce a valid license when creating/importing a repository would be valuable.

> Should we even threaten users, that we delete repositories, that are not open source, after 14 days or so? They are not allowed. That's what we currently do (trying to be nice) in a manual manner. Automatizing part or all of this process, or even some feature to enforce a valid license when creating/importing a repository would be valuable.
Member
Copy link

To begin, something like a repo banner reminding of a missing LICENSE file would be wonderful.

To begin, something like a repo banner reminding of a missing LICENSE file would be wonderful.

But also make it easy do add one.

But also make it easy do add one.
Member
Copy link

contributions and PR (to templates or gitea?) welcome!

contributions and PR (to templates or gitea?) welcome!
Owner
Copy link

linking #414 (different idea, same purpose)

linking #414 (different idea, same purpose)

I created an issue upstream: https://github.com/go-gitea/gitea/issues/15626

I created an issue upstream: https://github.com/go-gitea/gitea/issues/15626

I would say mostly solved by Codeberg/gitea#36

but upstream still lacks moderation ...

I would say mostly solved by https://codeberg.org/Codeberg/gitea/pulls/36 but upstream still lacks moderation ...
Owner
Copy link

Auto-detection of licences is still an important thing for this ...

Auto-detection of licences is still an important thing for this ...

Glad to be involved in this conversation. What are the key possibilities for keeping up with the current license for now?

Glad to be involved in this conversation. What are the key possibilities for keeping up with the current license for now?
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
accessibility

Reduces accessibility and is thus a "bug" for certain user groups on Codeberg.
bug

Something is not working the way it should. Does not concern outages.
bug
infrastructure

Errors evidently caused by infrastructure malfunctions or outages
Codeberg

This issue involves Codeberg's downstream modifications and settings and/or Codeberg's structures.
contributions welcome

Please join the discussion and consider contributing a PR!
docs

No bug, but an improvement to the docs or UI description will help
duplicate

This issue or pull request already exists
enhancement

New feature
infrastructure

Involves changes to the server setups, use `bug/infrastructure` for infrastructure-related user errors.
legal

An issue directly involving legal compliance
licence / ToS

involving questions about the ToS, especially licencing compliance
please chill
we are volunteers

Please consider editing your posts and remember that there is a human on the other side. We get that you are frustrated, but it's harder for us to help you this way.
public relations

Things related to Codeberg's external communication
question

More information is needed
question
user support

This issue contains a clearly stated problem. However, it is not clear whether we have to fix anything on Codeberg's end, but we're helping them fix it and/or find the cause.
s/Forgejo

Related to Forgejo. Please also check Forgejo's issue tracker.
s/Forgejo/migration

Migration related issues in Forgejo
s/Pages

Issues related to the Codeberg Pages feature
s/Weblate

Issue is related to the Weblate instance at https://translate.codeberg.org
s/Woodpecker

Woodpecker CI related issue
security

involves improvements to the sites security
service

Add a new service to the Codeberg ecosystem (instead of implementing into Gitea)
upstream

An open issue or pull request to an upstream repository to fix this issue (partially or completely) exists (i.e. Gitea, Forgejo, etc.)
wontfix

Codeberg's current set of contributors are not planning to spend time on delegating this issue.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
8 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Community#293
Reference in a new issue
Codeberg/Community
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?