NP-92 Create diffing script for degrees #678
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Adds NP-92
To solve for major requirements changing each year, this diffing script will through each major and raise a JIRA ticket if there are any changes. As of now, the script detects if there are any changes in courses (renamed/added/deleted) or if a major/concentration was removed. This script is ran annually before the fall semester and also has a manual github action dispatch.
What Changed
Created a github workflow that has a manual dispatch and cron scheduler to run the diffing script (planner/validator/scripts/diff.py).
Other Notes
After the versioning system is complete, I will change the file parsing (for the case when majors are removed to ensure they don't parse and raise a ticket every year). After versioning system I will also change the script to support core curriculum changes.
Let me know if you need more information/documentation!