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

Library add request: sphinx-multiversion #60

Open
BurningEnlightenment opened this issue Sep 6, 2024 · 21 comments
Open

Library add request: sphinx-multiversion #60

BurningEnlightenment opened this issue Sep 6, 2024 · 21 comments

Comments

@BurningEnlightenment
Copy link
Member

Hello everyone,

the original creator of sphinx-multiversion no longer has time to maintain his extension and doesn't oppose appointing other maintainers. We thought it makes sense to move this extension with 149 stars to the sphinx-contrib organization to signify the change in maintainership. See sphinx-contrib/multiversion#88

sphinx-multiversion is an extension to build and cross-reference multiple versions of a documentation for self-hosting, e.g. on GitHub pages. See also docs

So please invite @Holzhaus, @d33bs and me.

@stephenfin
Copy link
Member

Hi @BurningEnlightenment,

I have sent you all an invitation to join the GitHub org. After you accept that, you should be able to move the repo yourself (please review the naming convention suggestions at the end of the readme https://github.com/sphinx-contrib/github-administration).

After the move, you may need me to re-grant you admin permission on the repo. If that's the case, comment here on this ticket and let me know.

When we're all done, and you have the permissions you need, we can close this ticket.

Welcome, and thank you for contributing!

@Holzhaus
Copy link

Thanks, I just accepted the invitation. I'll move the repo later this week.

@BurningEnlightenment
Copy link
Member Author

What is the usual way to handle PyPI package ownership for sphinx-contrib? Is there a spinx-contrib PyPI organization? I guess my first ToDos are to migrate the Travis CI to GitHub Actions and to implement a publishing workflow based on Trusted Publishing as this will involve Jan Holthuis one way or the other.

@stephenfin
Copy link
Member

What is the usual way to handle PyPI package ownership for sphinx-contrib? Is there a spinx-contrib PyPI organization? I guess my first ToDos are to migrate the Travis CI to GitHub Actions and to implement a publishing workflow based on Trusted Publishing as this will involve Jan Holthuis one way or the other.

Pretty much that yes. The org currently exists more as a way to publicize projects than share effort maintaining them (like github.com/jazzband is for). That may change organically in the future but it hasn't yet

@Holzhaus
Copy link

Holzhaus commented Oct 3, 2024

Alright, I moved the repo. I already started some modernization work (CI, build system, etc.) but I'm lacking privileges to configure branch protection, deploy environments, etc. on the repository. I'd also like to rename the default branch to main and enable https://pre-commit.ci/ for the repository.

@dhellmann
Copy link
Member

@Holzhaus , I see you have the maintainer role on the repo, that should let you do everything you need. Maybe @stephenfin set that up since you posted here last, could you try again and see if it's working for you now?

@Holzhaus
Copy link

Holzhaus commented Oct 4, 2024

@dhellmann I suppose these privileges don't allow changing some repo settings that I need. I only have these settings available:

image

Specifically, what I cannot do is:

I also created a sphinx-multiversion-maintainers team in this org, but I cannot add the repository to the team (as this apparently requires admin privileges on the repo). The team still makes sense for traceability (so in case you ask yourself "why is this dude part of the org" you can use the team membership to identify me as a maintainer for this repo), but will not grant any special privileges.

@stephenfin
Copy link
Member

stephenfin commented Oct 4, 2024

@Holzhaus , I see you have the maintainer role on the repo, that should let you do everything you need. Maybe @stephenfin set that up since you posted here last, could you try again and see if it's working for you now?

Yeah, I meant to set the most privileged role, but GitHub web UI on mobile doesn't scroll properly and maintainer was bottom of the list I was able to see 😅 This is done now. Please let us know if you still have issues, otherwise feel free to close this issue.

@Holzhaus
Copy link

Holzhaus commented Oct 4, 2024

@stephenfin thanks!

@BurningEnlightenment I added you to the sphinx-multiversion-maintainers team, which also grants you the maintainer role for the repo.

@Holzhaus
Copy link

Holzhaus commented Oct 4, 2024

I cannot close this ticket, @BurningEnlightenment needs to take care of this.

@BurningEnlightenment
Copy link
Member Author

My last open question is: Do we want to add the sphinx-contrib PyPI organization as a (backup) co-owner to the PyPI package in order to increase the bus factor?

@Holzhaus can we briefly chat to clear up the expectations, responsibilities and boundaries going forward? I'd be fine with https://gitter.im, keybase or old-school email.

@Holzhaus
Copy link

Holzhaus commented Oct 4, 2024

My last open question is: Do we want to add the sphinx-contrib PyPI organization as a (backup) co-owner to the PyPI package in order to increase the bus factor?

Sure, but I'd like to have the confirmation of one of the maintainers of the sphinx-contrib GitHub org that the sphinx-contrib user/org on PyPI is actually owned by them (and not some random person who squatted the name) before adding it as co-admin for the package.

CC @stephenfin

@stephenfin
Copy link
Member

It is, yes. We put in a request to create an equivalent organization on PyPi, which I think has been completed, but as of yet we haven't migrated everything over.

@Holzhaus
Copy link

Holzhaus commented Oct 5, 2024

is it that one: https://pypi.org/user/sphinx-contrib/ ? Kind of weird profile pic for an org tbh :) Also, I don't find a sphinx-contrib user on test.pypi.org. Might make sense to have that as well, so that you can manage deployment test projects as well.

@BurningEnlightenment
Copy link
Member Author

Organizations live in a different namespace than users. The one you found is probably from the days before organizations were introduced (like last year, I think). The correct one should be https://pypi.org/org/sphinx-contrib/ (@stephenfin can you confirm this?)

@stephenfin
Copy link
Member

is it that one: https://pypi.org/user/sphinx-contrib/ ? Kind of weird profile pic for an org tbh :) Also, I don't find a sphinx-contrib user on test.pypi.org. Might make sense to have that as well, so that you can manage deployment test projects as well.

That would be gravatar, unfortunately 😅 It's linked to my email address (absent another generic one to use).

I'll create the test.pypi.org user shortly.

@stephenfin
Copy link
Member

Organizations live in a different namespace than users. The one you found is probably from the days before organizations were introduced (like last year, I think). The correct one should be https://pypi.org/org/sphinx-contrib/ (@stephenfin can you confirm this?)

Indeed, we own that also. However, the process for adding to an organization is different and we don't have it in both. I would suggest adding to both for now, if you'd like to close this out today, and I'll update the docs and existing projects next week when I've a chance.

@Holzhaus
Copy link

Holzhaus commented Oct 5, 2024

I need to check later, no idea how to add it to the org. When I manage owners, I can only add other users, not orgs. Maybe because I'm not a member?

@stephenfin
Copy link
Member

I need to check later, no idea how to add it to the org. When I manage owners, I can only add other users, not orgs. Maybe because I'm not a member?

I've sent you an invite now.

@Holzhaus
Copy link

Holzhaus commented Oct 6, 2024

Thanks, accepted it. Unfortunately it still doesn't work. I found this:

Screenshot_20241006_015541_com.duckduckgo.mobile.android.png

So I guess there is room for improvement for pypi. It should be possible to request transfer without being owner an org after the org owner accepted.

For now, I invited the sphinx-contrib user as co-owner.

@BurningEnlightenment
Copy link
Member Author

BurningEnlightenment commented Oct 6, 2024

@stephenfin could you change the visibility of https://github.com/orgs/sphinx-contrib/projects/1 to public? Unfortunately, I can't do it myself as I'm not an organisation owner.

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

No branches or pull requests

4 participants