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

Implement Jazzband guidelines for django-rest-framework-simplejwt #382

Closed
12 tasks done
jazzband-bot opened this issue Mar 16, 2021 · 26 comments
Closed
12 tasks done

Comments

@jazzband-bot
Copy link
Contributor

jazzband-bot commented Mar 16, 2021

This issue tracks the implementation of the Jazzband guidelines for the project django-rest-framework-simplejwt

It was initiated by @davesque who was automatically assigned in addition to the Jazzband roadies.

See the TODO list below for the generally required tasks, but feel free to update it in case the project requires it.

Feel free to ping a Jazzband roadie if you have any question.

TODOs

Project details

Description A JSON Web Token authentication plugin for the Django REST Framework.
Homepage https://django-rest-framework-simplejwt.readthedocs.io/
Stargazers 2236
Open issues 81
Forks 351
Default branch master
Is a fork False
Has Wiki True
Has Pages False
@jezdez jezdez added this to To do in Migrate to GitHub Actions via automation Mar 16, 2021
@jezdez
Copy link
Member

jezdez commented Mar 16, 2021

Hi @davesque! Welcome to Jazzband, please make sure to follow the Jazzband guidelines and implement the above items as soon as possible. If you have any question, please let me know.

@davesque
Copy link
Member

davesque commented Mar 16, 2021

@auvipy Hey we chatted through e-mail. Do you have time to do this checklist? I transferred this repo to jazzband because I don't have any spare moments for things like this.

@davesque
Copy link
Member

Hey @jezdez. Thanks for the welcome! Hopefully having this project in jazzband will help to keep it alive. I recognize that I've been so distracted that it's been a disservice to the community of users that depend on this project. So it's nice that there are things like jazzband.

@Andrew-Chen-Wang
Copy link
Member

@auvipy Do you mind going to codecov to set the GitHub secret for CODECOV_TOKEN. I don't have perms to access the settings.

@Andrew-Chen-Wang
Copy link
Member

#397 should check off "Port continuous testing to GitHub Actions"

@jezdez can you clarify by what "Set up CI for Jazzband project releases if needed and open ticket if yes" means? As in GitHub projects or regular PyPi releases? If the latter, that's already in the GitHub workflows (albeit untested I think until we get 4.7.0 out soon...).

@Andrew-Chen-Wang
Copy link
Member

@auvipy I would definitely appreciate if you removed branch protection rules for me... not able to actually merge anything to master.

@jezdez
Copy link
Member

jezdez commented May 13, 2021

Hey @Andrew-Chen-Wang, thanks for working on the GHA updates in #397, this is super appreciated. I've updated some of your changes to better follow the practices we've seen work well in other Jazzband projects but your work has been very useful.

I've updated all the TODO items above that have been done I think, the biggest one is to decide who'll be the project leads to be able to do PyPI releases via the Jazzband package index.

@davesque Other than @Andrew-Chen-Wang who did you have in mind as project leads? (I've made you two leads now: https://jazzband.co/projects/django-rest-framework-simplejwt

@jezdez
Copy link
Member

jezdez commented May 13, 2021

I forgot some things and opened #403 as well.

@jezdez
Copy link
Member

jezdez commented May 13, 2021

By the way, thanks to @Andrew-Chen-Wang I was able to disable Circle CI for the whole Jazzband organization, which was a big liability. Thank you! <3

@jezdez
Copy link
Member

jezdez commented May 16, 2021

FYI I renamed the repo to match the project name on PyPI to djangorestframework-simplejwt since that simplifies maintenance and the release process a notch.

@Andrew-Chen-Wang
Copy link
Member

@jezdez sorry to bother again. I tried pushing out a release from the GitHub UI, but the action simply failed? I can rollback the tag and push a new commit, but I'm unable to commit directly to master and I'm also not allowed to merge my own PRs since I can't approve my own PRs via GitHub reviews. Anyhow, priority is working out why the release workflow isn't working.

jezdez added a commit that referenced this issue May 18, 2021
jezdez added a commit that referenced this issue May 18, 2021
@jezdez
Copy link
Member

jezdez commented May 18, 2021

@jezdez sorry to bother again. I tried pushing out a release from the GitHub UI, but the action simply failed? I can rollback the tag and push a new commit, but I'm unable to commit directly to master and I'm also not allowed to merge my own PRs since I can't approve my own PRs via GitHub reviews. Anyhow, priority is working out why the release workflow isn't working.

Ah yeah, I simply forgot to update the release workflow with the new name, fixed in 2591942. I've also went ahead and did a few more items from the TODO list above that should have happened before you tried a release.

@jezdez
Copy link
Member

jezdez commented May 18, 2021

Since @davesque hasn't responded to my comment above who else should become project lead I'm going to keep @Andrew-Chen-Wang and @davesque as project leads for now. Feel free to open a new issue about adding more project leads.

@Andrew-Chen-Wang I've deleted the Git tag and the GitHub release automatically reverts to being a draft release. If you publish the release with the current master it should simply trigger a new release workflow. Remember that you'll receive an email from the Jazzband package index afterwards (to your verified GitHub email address) to confirm the release to PyPI. Let me know if you have any questions.

@jezdez
Copy link
Member

jezdez commented May 19, 2021

@Andrew-Chen-Wang Ironically GitHub Actions seemed to have had stability issues yesterday and this repo was affected as well. I'm sorry for the issue 😬

@Andrew-Chen-Wang
Copy link
Member

No problem. Is #406 still needed in this case?

@jezdez
Copy link
Member

jezdez commented May 19, 2021

No problem. Is #406 still needed in this case?

Yeah, totally, good catch! I've also deleted the tag again, try again?

@Andrew-Chen-Wang
Copy link
Member

Yea! Running right now!

@Andrew-Chen-Wang
Copy link
Member

Andrew-Chen-Wang commented May 19, 2021

Arg it might've skipped the release mechanism because the commit might've skipped the CI... Not entirely sure if that's correct though.

@jezdez
Copy link
Member

jezdez commented May 19, 2021

Arg it might've skipped the release mechanism because the commit might've skipped the CI... Not entirely sure if that's correct though.

Oh lol, no problem! Want to push a new commit and re-add the tag? (just deleted it)

@Andrew-Chen-Wang
Copy link
Member

I can't. I don't have the perms to commit directly to master nor can I approve my own PRs.

@jezdez
Copy link
Member

jezdez commented May 19, 2021

I can't. I don't have the perms to commit directly to master nor can I approve my own PRs.

Right, that's by design, I should have been more clear saying to push a commit to a non-protected branch, open a PR and assign me for code review so I can approve it.

@Andrew-Chen-Wang
Copy link
Member

@jezdez ah no problem. I'll open one right now.

@Andrew-Chen-Wang
Copy link
Member

v4.7.0 source and wheel is released and it seems like everything here is done so I'll close this now.

Migrate to GitHub Actions automation moved this from To do to Done May 23, 2021
@jezdez
Copy link
Member

jezdez commented May 23, 2021

@Andrew-Chen-Wang Huzzah! 🎊

@Andrew-Chen-Wang
Copy link
Member

thanks for helping @jezdez !

@davesque
Copy link
Member

Thanks for doing all this, guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants