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

Reconstitute the Readium github teams to reflect the changed approach #85

Open
rkwright opened this issue Feb 4, 2019 · 5 comments
Open
Assignees

Comments

@rkwright
Copy link
Member

rkwright commented Feb 4, 2019

The current set of github teams is quite antiquated, dating back to 2012. Given the changes in emphasis and architecture, it probably makes sense to restructure the teams
In addition, the existing team members generally have commit privileges, which tends to run counter to out direction today of using pull-requests
So one option is to create a new set of teams (and delete the old ones).

Laurent has proposed the following set of teams:

  • Readium SDK Contributors
  • Readium JS Contributors
  • Readium Mobile iOS Contributors
  • Readium Mobile Android Contributors
  • Readium Desktop Contributors
  • Readium Web Contributors
  • Readium LCP Server Contributors
  • Readium Architecture

Each member of these teams would have write (commit) access to the appropriate repo(s).

Questions:

  • What problem are we trying to solve? Inadvertent or malicious or confused commits have never been a problem AFAIK. Not to say this isn't a good idea, but what problem are we solving?
  • Do we really want all members of a team to have commit privileges, or only one or two members have the privileges to approve pull-requests and merge them? If so, what is the point of the team?
  • How do we keep track of all this? WHO keeps track of all this?
@rkwright rkwright self-assigned this Feb 4, 2019
@JayPanoz
Copy link
Contributor

JayPanoz commented Feb 4, 2019

Very quick question: where does ReadiumCSS fit?

As far as I can tell, I’m the only collaborator (at least in the settings’ list), but I know others like Laurent and Hadrien can modify the repo as well.

(Sorry for being the edge case)

@rkwright
Copy link
Member Author

rkwright commented Feb 5, 2019

@JayPanoz No worries. Just an oversight. I would assume that ReadiumCSS would be its own "team" but we can discuss that tomorrow. It sort of comes back to my second question above.

@rkwright
Copy link
Member Author

rkwright commented Feb 5, 2019

Some useful links: https://help.github.com/articles/about-teams/

BTW, I just noticed that for some reason (lost in the mists of time), the original "contributor" teams (JS and SDK) are both "secret" ?! Obviously, that should be fixed as part of the revamping.

@danielweck
Copy link
Member

danielweck commented Feb 6, 2019

Suggestion: disable git push --force.

"Protect matching branches - Disables force-pushes to all matching branches and prevents them from being deleted. "
https://help.github.com/articles/enabling-branch-restrictions/

Additional info (enterprise GitHub):
https://help.github.com/enterprise/2.16/admin/guides/developer-workflow/blocking-force-pushes-to-a-repository/

@rkwright
Copy link
Member Author

From @llemeurfr 👍
I confess I would have a more basic approach, where people who are not "committers" (PR reviewers) don't even create branches in the Readium space, but create them on their own space and propose PRs on the develop branch of a given repo.
Which IMO simplifies the configuration, a you just have to affect Teams to repos with write access (and don't hae to create rules as in ...
Then in each of the repos I created a pair of new rules, one each for master and develop and set the “team” as the only ones allowed to push changes to those branches
For which reason would people be able to push changes to "feature" branches they don't have the right to create, on this Readium space?

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

No branches or pull requests

3 participants