-
Notifications
You must be signed in to change notification settings - Fork 111
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
Further development of tidalapi/python-tidal #133
Comments
@tamland Just a quick comment, in case you have overlooked the previous one. I would like to offer being a maintainer of this project and I am sure there are a few that would like to help contributing as well to keep it alive :) |
@morguldir maintains this project, but happy to add collaborators if everyone agrees. |
Thanks, yeah I see that now. For some treason I thought you and him was the same person. :) Judging from his github activity, I'm afraid he has abandoned the project. Are there any other maintainers left? |
Hi @tamland @morguldir, any updates here? Projects like these that open up proprietary services are exciting, but they tend to break often due API changes (whether those be made oblivious to our work, or out of malice), so it's absolutely essential to have a team of active maintainers who can push out fixes quickly. Thanks to all who have contributed to/maintained this library. |
@blacklight and @tehkillerbee have access to the repo now. As I said: let me know if you need anyone else added :) |
@tamland thanks, I've received the invitation now. I guess that at least one of us will probably need our tokens to be added to the PyPI project too in order to push new releases? |
I need pypi usernames to add people there |
It may also be worthwhile to automate PyPI releases through GitHub Actions: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ |
Related: the AUR package is also without a maintainer. I might consider adopting it if no one else does, since I've been meaning to get more familiar with making AUR packages anyway. It might also be possible to hook that up to a GitHub action, since @evan-goode mentioned it. |
@JoshMock You can definitely hook up aur releasing (or anything) to GH actions. On the other hand the only thing which needs to change on release is the tag and checksum, unless any dependencies are added (currently this is a wonderfully clean library with none at all). One option would be to make a In any case IMHO downstream packages don't belong in the repo and probably not in the CI. But if you want to automate things you can use a webhook when upstream releases to trigger ci in your own repo. (We'd have to add a webhook here to our hypothetical release ci, but that's reasonable I think.) Alternatively you can just set up a workflow to run daily and check for updates. @everyone Again just a random opinion, but releasing to pypi from CI makes sense I think if (i) the maintainer has access to the repository's secrets to store the credentials, and isn't worried about them leaking, and (ii) there's some agreed push-to-release strategy. (Otherwise it's 'what's the magic word again?'). (i) strikes me as the problem here: I don't have access to the secrets of this repo, and I shouldn't (it's someone else's repo); but thus I'm not going to hand over my credentials for anyone who triggers workflow X to use either. (Obviously only those with push access could do so, but it's more that the secret is out of my control, because I can't edit repo secrets, which just isn't good bookkeeping: I'm responsible for looking after that token.) A fortiori, on reflection, using personal tidal access tokens to run the tests in CI. One solution would be to create a Pypi user specifically to publish python-tidal, and then for tamland to add the required secrets to the repo. In any case if anyone's going to be able to publish it probably shouldn't be me as I've yet to contribute any code. @tamland thanks for the invite! I promise not to be an idiot ;) |
Makes sense. I'll see about adopting the AUR package and managing it separately. 🖤 |
Thank you all! |
Sure, feel free to add my PyPi username. I will send you an email with the details. I have no good suggestions on how to proceed with PyPi releases, but it would be nice if it can be streamlined to reduce the work needed to maintain tidalapi. @2e0byo Could poetry be a solution for this, as you implemented with Mopidy-Tidal? |
Certainly, poetry makes releasing a single That only improves the tooling though: if you want releases to happen automagically we need to solve the secrets problem; I.e. someone's token needs to be in the repo secrets. If we want to make frequent ci releases happen, one option I use elsewhere is conventional commits. Every time you merge to master a job runs and if relevant a new release with the right version number (patch for fixes, minor for changes, major for breaking changes) is created on github and pypi. Again I'd be happy to pr the ci, but we'd need to solve the secrets problem, and agree to use conventional commits. Again a system I personally like, but this isn't my project (although I do mean to contribute). |
@2e0byo , I would say conventional commits would be the best way forward so we don't end up with a long interval between releases, as it has previously happened with tidalapi. It sounds like a good idea to create a mopidy tidal specific pypi user, if @tamland agrees to add the secret to this repo. I have added a specific issue #134 where we can discuss the release improvements further. |
Closing this issue (for now) as we have now established a path for the future development :) |
Hi there everyone, like you probably noticed I was very busy last year and never had permissions to add anyone, I was gonna approve of adding you @tehkillerbee after #133 (comment), but I was kinda baffled by the hostile message right after, especially when tamland had just said he was open to adding contributors. Thankfully tamland responded before i had time to process that, and I saw that @tehkillerbee was already handling everything and went back to being busy. But, I do apologise for my unexplained inactivity, I'm sure you've seen similar things before, and this is a good reminder to not rely on a single person for a project, which you seem to be keeping in mind more than I did Anyway, I'm not as busy now, so let me know if you have any questions if you're curious about something in the code or anything 👋 |
@morguldir Good to have you back and I am happy we managed to keep the project running up to this point, thanks to the many contributors that has been helping over the last year. |
and thanks to @tehkillerbee for doing the lion's share of the work over the last year! |
Hi @tamland
As you know, we use your API for Mopidy-Tidal, and I am sure there are others relying on it for their own Tidal tools.
There are currently several bugs that result in tidalapi not functioning anymore. #130 by @blacklight fixes this but it has not been merged as of today and this makes it difficult to rely on tidalapi. Would you like more assistance with handling PRs and/or further development?
The text was updated successfully, but these errors were encountered: