Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • if no diff: create new directory for current year and copy over the old degree plan

    • create a PR for copying of degree plan

  • if diff, open Jira ticket

    • if there’s a diff but the current year’s degree plan doesn’t exist, open a ticket

    • if a diff between two diffs of a degree plan, then raise another issue even if a degree plan was created for current year otherwise ignore

    • If a shared requirement changes logically, create a new edge case prefixed with “y{currentYear}” for that specific major

    .
  • If an edge case changes, create a new edge case

  • Do we support degrees before 2022?

    • No

  • We’ll keep all the degree plans, including old ones

  1. Run it once a year

    What if the site changes or when they upload it?

    1. Run it one time a year automatically, if issues occur. Allow workflow to be run manually.

    2. If diff open an issue

    3. If no diff copyover files to new year directory and make a PR

Script output github workflow object:
https://github.com/UTDNebula/planner/blob/b6d5534fd5d1ecc6dc656927a7aa84f0c75de6ac/.github/workflows/deploy-preview.yml#L43

Action Items

  •  Rename all edge cases to be prefixed with y2022 (variables can’t start w/ numbers) and rename them in degrees.
  •  Create script/workflow