You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pull Org Data from the Export CSV instead of orgs.yaml #199
We have stopped updating orgs.yaml because it is now redundant with the data we're getting from the salesforce export file. We need to update the openedx-webhooks code to read orgs out of the salesforce export CSV instead of orgs.yaml or potentially in addition to orgs.yaml.
Looking at the code in openedx-webhooks, it looks like we use orgs.yaml to determine if an organization is "internal" or not. The behavior of the bot is different for "internal" groups vs external groups.
Ideal state would be to have an "Internal" Column in the salesforce export.
We also can't do this in a sane way until we've cleaned up how we use people.yaml first. A bunch of the validation for that file assumes an orgs.yaml exists and is coherent with the people.yaml
I'm gonna write up a task to understand what we still need people.yaml for and what it would take to get rid of it.
Activity
feanil commentedon Sep 26, 2022
Looking at the code in openedx-webhooks, it looks like we use
orgs.yamlto determine if an organization is "internal" or not. The behavior of the bot is different for "internal" groups vs external groups.feanil commentedon Sep 26, 2022
Ideal state would be to have an "Internal" Column in the salesforce export.
We also can't do this in a sane way until we've cleaned up how we use
people.yamlfirst. A bunch of the validation for that file assumes an orgs.yaml exists and is coherent with thepeople.yamlI'm gonna write up a task to understand what we still need people.yaml for and what it would take to get rid of it.
Blocked by #200