Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0/cleanup lifecycles #385

Closed
wants to merge 11 commits into from
Closed

5.0/cleanup lifecycles #385

wants to merge 11 commits into from

Commits on Jan 31, 2024

  1. Fix typo of "nonexistent"

    sunnavy committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    b4531d6 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Clean up lifecycles on save when possible

    Here we just clean up obvious errors like nonexistent lifecycles,
    statuses, etc. This is initially to sync __maps__ when statuses are
    deleted from lifecycles.
    sunnavy committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    f7b3dc7 View commit details
    Browse the repository at this point in the history
  2. Trim any leading and trailing spaces from name on lifecycle create

    This is initially to fix broken lifecycle links because the URL with
    Name=... doesn't retain the trailing space.
    sunnavy committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    aa4426a View commit details
    Browse the repository at this point in the history
  3. Do not merge old values for hash configs in database

    When admins update configs from web UI, the default values of inputs fully
    contain current config values, so there is no need to merge old values after
    update. By not merging old values, admins now are able to delete keys from
    hash configs.
    
    This is initially to support lifecycle deletions.
    sunnavy committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    dbfa304 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Support to delete lifecycles

    sunnavy committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    9fa6147 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Test lifecycle deletions

    sunnavy committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    da83732 View commit details
    Browse the repository at this point in the history
  2. Show lifecycle warnings to admins who are accessing lifecycle pages

    This gives admins hints of the issue of %Lifecycles configuration.
    sunnavy committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    d2543f3 View commit details
    Browse the repository at this point in the history
  3. Add protective code in case of invalid lifecycles

    This is initially to get rid of server errors for our tests that contain
    other unsupported types(e.g. "racecar" type in "t/lifecycles/utils.pl").
    sunnavy committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    04b1c87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7292690 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3679823 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    500d385 View commit details
    Browse the repository at this point in the history