Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecating CC licenses in the CML #703

Merged
merged 6 commits into from
Apr 19, 2024
Merged

deprecating CC licenses in the CML #703

merged 6 commits into from
Apr 19, 2024

Conversation

sgfost
Copy link
Contributor

@sgfost sgfost commented Mar 21, 2024

wanted to get the ball rolling here, and at least remove them as an option (b9e2617)

the other, larger part is a script for sending out emails to everyone with a creative commons licensed release

TODO: update mass email template

sgfost and others added 4 commits March 20, 2024 20:41
…leases

TODO: need to figure out whether we want to switch to a default after a
certain amount of time or just ask people to update. Not sure if the
former is legal..

ref comses/planning#45
this lets any user semi-automatically update all of their CC licenses
with one button. includes an explanation and summary of changes before
asking to confirm

TODO: need to update the wording in the batch email + a link to here
adjust language a bit and favor default license conversion to MIT over
GPL for maximum reuse

TODO: GPL-3.0 should be bifurcated into GPL-3.0-only and
GPL-3.0-or-later, same with BSD
@alee
Copy link
Member

alee commented Apr 4, 2024

strangely, this appears to be failing on a hypothesis test that's on main but hasn't been merged into this branch...

EDIT: rerunning jobs fixed things. might be an issue with non-determinism or an issue with hypothesis configuration which is also troubling

@sgfost
Copy link
Contributor Author

sgfost commented Apr 4, 2024

non-determinism

does seem to point towards that

psycopg.errors.UniqueViolation: duplicate key value violates unique constraint "auth_user_username_key"
DETAIL:  Key (username)=(z."sao8<KKvbdkAM~`Y) already exists.

sgfost and others added 2 commits April 8, 2024 13:27
opting to use a template str over polluting template dirs with a one-off
email
- switch to a mass bcc email instead of one-by-one personalized emails
  for marginal efficiency and cheaper transaction costs with our SMTP
  provider at the expense of less granular error handling (though a
  failed-to-be-sent email wouldn't generate an exception here anyways)
- minor adjustments to email text
- add CodebaseRelease.objects.with_cc_license() and
  License.objects.creative_commons() queryset methods to retrieve all
  codebases with CC licenses
@alee alee merged commit 51fa7e9 into comses:main Apr 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants