Skip to content

Audit and fix edx vs openedx workflows and templates #2

Closed

Description

@kdmccormick

Based on a meeting of @nedbat , @feanil , and @carlosmuniz.

Context

  • This .github repo was copied from https://github.com/edx/.github
  • 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 openedx repos reference openedx workflows, not edx ones. Will be followed-up on in: Ensure that our org uses shared workflows from openedx, not edx #32
  • 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.

Activity

  1. changed the title [-].[/-] [+]Switch repos over from edx org shared workflows to openedx shared workflows[/+] on Jan 5, 2022
  2. moved this from Backlog to To Do in Axim Engineering Taskson Jan 5, 2022
  3. added
    enhancement
    on Jan 14, 2022
  4. moved this from To Do to Backlog in Axim Engineering Taskson Jan 20, 2022
  5. jmakowski1123 commented on Jan 24, 2022

    @jmakowski1123

    Target H2

  6. sarina commented on Sep 2, 2022

    @sarina
    Contributor

    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.

  7. kdmccormick commented on Sep 2, 2022

    @kdmccormick
    MemberAuthor

    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.

  8. sarina commented on Sep 6, 2022

    @sarina
    Contributor

    @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.

  9. 1 remaining item

  10. moved this from Backlog to In Progress in Axim Roadmap: Backlog and Epicson Sep 16, 2022
  11. kdmccormick commented on Sep 16, 2022

    @kdmccormick
    MemberAuthor

    @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.

  12. moved this to To Do - Backlog in Axim Engineering Taskson Sep 16, 2022
  13. moved this from To Do - Backlog to In Progress in Axim Engineering Taskson Sep 16, 2022
  14. sarina commented on Sep 22, 2022

    @sarina
    Contributor

    I've done some of this, but far from all.

    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.

  15. removed their assignment
    on Sep 22, 2022
  16. 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
  17. 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
  18. kdmccormick commented on Nov 9, 2022

    @kdmccormick
    MemberAuthor

    @sarina @jmakowski1123 Good news, I re-reviewed after Sarina's cleanup and there's only one thing left to do:

    Ensure that openedx repos reference openedx workflows, not edx ones

    I split that out into a follow-up issue which I think is a lot more manageable than this one originally was: #32

  19. Repository owner moved this from In Progress to Done in Axim Engineering Taskson Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

decouplingenhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions