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

removed read bloat #1001

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

removed read bloat #1001

wants to merge 1 commit into from

Conversation

garethahealy
Copy link
Contributor

as part of the below, I am doing a general review/removing bloat.

this PR removes adding read to teams/people, since everyone in the org has read. so its not applying anything, just adding more bloat to the config file.

@pabrahamsson @sabre1041 as you two are probably the most peribolos knowledgable, you see anything wrong with this?

@garethahealy garethahealy requested a review from a team as a code owner January 27, 2025 10:23
@garethahealy garethahealy force-pushed the main branch 2 times, most recently from 813887f to 621568d Compare February 5, 2025 11:18
@sabre1041
Copy link
Collaborator

@garethahealy Since these are public repositories, by default, anyone (authenticated or not) will be able to read the content. From a technical perspective, removing these repositories from the teams will not impact their day to day activities. However, what will be lost is the scope/domain for which these teams operate. Is that something that we would like to remove?

Given that we will remove configurations that will be applied, we will gain a substantial boost in the speed the configurations are applied (a very good thing as it takes a considerable amount of time currently)

@garethahealy
Copy link
Contributor Author

@garethahealy Since these are public repositories, by default, anyone (authenticated or not) will be able to read the content.

Agreed.

From a technical perspective, removing these repositories from the teams will not impact their day to day activities. However, what will be lost is the scope/domain for which these teams operate. Is that something that we would like to remove?

Yes, it does, but the below outweighs that concern. Can we label repos against teams? will do a Google to see if this is supported

Given that we will remove configurations that will be applied, we will gain a substantial boost in the speed the configurations are applied (a very good thing as it takes a considerable amount of time currently)

This is one of the main drivers for removing. It takes 1hr40mins to update the org each night and is only ever growing due to adding more repos.

@garethahealy
Copy link
Contributor Author

garethahealy commented Feb 24, 2025

From a technical perspective, removing these repositories from the teams will not impact their day to day activities. However, what will be lost is the scope/domain for which these teams operate. Is that something that we would like to remove?

Thinking about this a bit more. No, we don't lose context, as the blocks that give read are 99% copied into the sub-team, and define write or admin permissions, so are duplicates.

i.e.:

read which is removed in this PR:
https://github.com/redhat-cop/org/blob/main/config.yaml#L1446-L1449

same repos, but with write in the specific team:
https://github.com/redhat-cop/org/blob/main/config.yaml#L1461-L1464

so the context of "this team owns these repos" isn't lost, as we give them WRITE a few lines below.

Copy link
Contributor

@djdanielsson djdanielsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@garethahealy garethahealy force-pushed the main branch 5 times, most recently from 2909fbd to cc973f1 Compare March 14, 2025 10:35
@garethahealy garethahealy force-pushed the main branch 2 times, most recently from fb45769 to 2bff21f Compare March 19, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants