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
Fix Packages Page Listing Missing Maintainer #172
Fix Packages Page Listing Missing Maintainer #172
Conversation
@all-contributors please add @bbulpett for review, code, design |
I've put up a pull request to add @bbulpett! 🎉 |
Ok @bbulpett this is so great! many thanks. I noticed that there is an extra space before each comma. it's weird. I think it's because of where the conditional for the ending comma sits. if i do this
it removes the extra space but now the code is a bit messier as there is repetition via the conditional statement adding the comma. If we reorganize the yaml file to have a list of authors we could also do this:
but i like what you did as it links to the users github and allows us to have missing information and still work. so i'm inclined to just add the comma to each part of the conditional to fix the space. but open to another approach if you know of one? let me know what you think. we can merge this as is with the small fix that is a bit redundant if that is the best option! |
Hi @lwasser - nice catch there! I didn't even notice that in my sanity check. Yes, I think merging your fix is the right course of action here. Minor redundancy in the view layer isn't always a bad thing, if it gets the job done 🙂 Let me know if there's anything actionable on my end and I'll take care of it quickly. Also, I just noticed the CI check failures. If that's something I should address, just say the word and I'll be happy to. Thanks again! |
@bbulpett many many thanks! it was a very tiny change so i just implemented it! i'll merge this once pre-commit finishes running!! many thanks again for this fix / enhancement!! |
pre-commit.ci autofix |
ok the point of failure here is still the moving pandas url's. one if fixed in main, the other is in progress to be fixed. so we can merge this! thank you again for the PR!! |
What was done
Addressing issue #169
-- If the
all_current_maintainers
value is present for the package in the Yaml file, loop through the maintainers' names (with fallback to GitHub user names) and display in a comma-delimited format-- Otherwise, display the submitting author's name (with fallback to GitHub user name)
See the following screen clipping example:
How to test
Special thanks to the team at PyCon 2023 for making this possible, with their help and encouragement! Thank you especially to @lwasser.