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
Audit and fix edx vs openedx workflows and templates #2
We copied the repo instead of moving it because certain files should differ between the two orgs, such as the welcome page and security policy.
Furthermore, we want a core set of ./workflow-templates (e.g., "upgrade requirements") to be available in both organizations, which will require some amount of those templates to exist, duplicated, in each organization's .github repo.
However, the implementations of those shared workflows (in ./.github/workflows) are currently duplicated between each organization and several repositories in each organization, which isn't great.
Acceptance Criteria
Ensure repos reference a shared workflow, not a copy. Done by @sarina .
Ensure that this repo only has shared workflows related to Open edX. Done by @kdmccormick et al
Ensure that the edx version of this repo only has edX-specific shared workflows.Wontfix -- it's up to edX to do that cleanup if they want to.
Ensure that the openedx organization's .github repo contains all the ./workflow-templates it needs Done by @kdmccormick et al
Ensure that the edx organization's .github repo contains all the ./workflow-templates it needs.Wontfix -- it's up to edX to do that cleanup if they want to.
hey team! what's the relative importance of this? are there any particular steps more important than others? i think we can split this into smaller tickets, for sure. I understand why we want this but to me it seems of pretty low priority - perhaps opportunistic work as we encounter it. It does feel like a moving target.
I'd say that relative importance of this individual issue is pretty low. It's confusing that we inconsistently use shared workflows from two different sources, but it's not going to break anyone's production. Supply-chain-wise it's not great that our org depends on code from the edx org, but it's just tooling code, so whatever.
That being said, I think the relative importance of regularly cleaning up some of the mess that surrounds us is pretty high. Kinda like: there's a pile of junk in the corner of our office, and cleaning it up is usually less important than the project we're working on at the moment, but if we never clean up any of the junk in our office, then after a while we're going to have a disruptively messy workspace.
Could we make like a "low-priority quality-of-life" bucket for issues like this, which we could pull from every once in a while? openedx/axim-engineering#352 might also fall in that bucket.
@jmakowski1123 how would you want us to categorize this ticket (and its subsequent child tasks which I can make)? kyle suggests a "quality of life" epic or the like.
@sarina is accomplishing a huge portion of this with her automated openedx->edx string replacement PRs in every openedx repository, so I'm assigning it to her and marking this as in progress. I can create a follow-up ticket for any of the AC that is left when her PRs are merged.
normalizing repos that currently use a copy of the shared workflow instead of reference to the shared workflow.
I could tell when a repo was using its own upgrade-python-requirements file because it called into edx/testeng-ci. I updated all these workflows to use the one defined in .github/workflow_templates.
It seemed like all repos had the right version of commitlint; for those that had it I changed the references from edx/.github to openedx/.github
If a shared workflow implementation is related to Open edX, then it should be defined in this repo only.
If a shared workflow implementation is edX-specific, then it should be defined in edX's .github repo only.
Before deleting the extraneous workflow implementations, all references to shared workflow implementations must be updated to point at the logical organization.
I haven't worked on any of this. I'm happy to help collaborate on this when we have time to tackle it, but I'm not doing more at the moment.
changed the title [-]Switch repos over from edx org shared workflows to openedx shared workflows[/-][+]Ensure repos use shared workflows instead of their own copy[/+]on Nov 9, 2022
changed the title [-]Ensure repos use shared workflows instead of their own copy[/-][+]Audit and fix edx vs openedx workflows and templates[/+]on Nov 9, 2022
Activity
[-].[/-][+]Switch repos over from edx org shared workflows to openedx shared workflows[/+]fix: updated the workflow template to checkout the target branch (#2)
jmakowski1123 commentedon Jan 24, 2022
Target H2
sarina commentedon Sep 2, 2022
hey team! what's the relative importance of this? are there any particular steps more important than others? i think we can split this into smaller tickets, for sure. I understand why we want this but to me it seems of pretty low priority - perhaps opportunistic work as we encounter it. It does feel like a moving target.
kdmccormick commentedon Sep 2, 2022
I'd say that relative importance of this individual issue is pretty low. It's confusing that we inconsistently use shared workflows from two different sources, but it's not going to break anyone's production. Supply-chain-wise it's not great that our org depends on code from the
edxorg, but it's just tooling code, so whatever.That being said, I think the relative importance of regularly cleaning up some of the mess that surrounds us is pretty high. Kinda like: there's a pile of junk in the corner of our office, and cleaning it up is usually less important than the project we're working on at the moment, but if we never clean up any of the junk in our office, then after a while we're going to have a disruptively messy workspace.
Could we make like a "low-priority quality-of-life" bucket for issues like this, which we could pull from every once in a while? openedx/axim-engineering#352 might also fall in that bucket.
sarina commentedon Sep 6, 2022
@jmakowski1123 how would you want us to categorize this ticket (and its subsequent child tasks which I can make)? kyle suggests a "quality of life" epic or the like.
1 remaining item
kdmccormick commentedon Sep 16, 2022
@sarina is accomplishing a huge portion of this with her automated
openedx->edxstring replacement PRs in every openedx repository, so I'm assigning it to her and marking this as in progress. I can create a follow-up ticket for any of the AC that is left when her PRs are merged.sarina commentedon Sep 22, 2022
I've done some of this, but far from all.
I could tell when a repo was using its own
upgrade-python-requirementsfile because it called intoedx/testeng-ci. I updated all these workflows to use the one defined in.github/workflow_templates.It seemed like all repos had the right version of commitlint; for those that had it I changed the references from edx/.github to openedx/.github
I haven't worked on any of this. I'm happy to help collaborate on this when we have time to tackle it, but I'm not doing more at the moment.
[-]Switch repos over from edx org shared workflows to openedx shared workflows[/-][+]Ensure repos use shared workflows instead of their own copy[/+][-]Ensure repos use shared workflows instead of their own copy[/-][+]Audit and fix edx vs openedx workflows and templates[/+]kdmccormick commentedon Nov 9, 2022
@sarina @jmakowski1123 Good news, I re-reviewed after Sarina's cleanup and there's only one thing left to do:
I split that out into a follow-up issue which I think is a lot more manageable than this one originally was: #32