-
Notifications
You must be signed in to change notification settings - Fork 18
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
Release 3.0 #118
Release 3.0 #118
Conversation
[ci skip]
Hi @mauritsvanrees, we are still experimenting. Please try whether this allows you to push your changes directly to |
No, it does not work yet:
Maybe it is the setting "Restrict who can push to matching branches". Or maybe "Require status checks to pass before merging". This would match the error message I get. But then I wonder how GitHub would run these status checks; it would need to be on a commit that I have pushed, but that GitHub temporarily does not yet transmit to the master branch. And that starts sounding strange. |
Can you try again? There's a second setting further down the page that I just enabled. |
No, same error: "6 of 6 required status checks are expected." Note that in this PR, those status checks are also still not being run. No, does not work either, still can't push. Meanwhile I will amend this PR in the same way for good measure. |
db04fcc
to
2fd168f
Compare
The tests did run now at least |
I tried something else. According to this github blob post when editing a file in the browser, by default a new branch is created, but some people can opt to commit to master directly. I do not see this option: There is something relatively new, called repository rules. Maybe that contains some more settings. |
I created a set of rules for that new repository rules setting, but it's not much different from the branch protection rules and I don't know how it interacts with them. Just as with the branch protection rules I have added the release-managers team, where you are a member, to the people/groups that can by pass the rules. |
That changed the error message, but it is still an error:
|
I deleted the rule set, this makes no sense. The PR is fully tested and approved. You should be able to merge it without any issue. GH is broken. |
Thanks for trying. I do not see the logic either. On a side note, could I ask one of you to release |
What is your PyPI account? |
|
I have added you to the "zope" organization on GitHub and also added CMFCore and CMFUid to it. That should give yyou rights to publish releases. |
Thanks! I have accepted the invitation on PyPI. Upload fails though: "The user 'maurits' isn't allowed to upload to project 'Products.CMFCore'." Same for CMFUid, though I see both are in the organisation. Maybe it just needs a little while. I will retry later. |
Unfortunately there's no usable documentation for PyPI organizations. I had added you as "Maintainer" at the organization level because that type of user can "Own/maintain specific projects". Apparently that does not automatically mean you're permitted to do anything on member projects. I have now added a team "Release Managers" to the zope organization and then went to the settings for Products.CMFCore and Products.CMFUid to add that new team with the Maintainer role. So it looks like for anyone but organization owners they (or a team they're member of) must be added to each individual project, which kind of sucks. That's not what I expected. I do know from experience that organization owners can automatically administer all projects within the organization. Matter of fact, when adding a project to the organization PyPI insists on removing my personal account from the project owner/maintainers because my access remains the same as organization owner. |
Now it works: I have released CMFCore and CMFUid to PyPI. In the plone PyPI organisation we have no teams yet. The 5 persons in the organisation are all Owners. No one has complained yet, but I myself am mostly the one doing releases, and various other persons already had permissions on individual projects. We probably need a team at some point as well. |
I have released 3.0 on PyPI, but cannot push directly to master: