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

Warn when operating system end of life is approaching #7913

Merged
merged 139 commits into from
May 25, 2023

Commits on Apr 28, 2023

  1. Ubuntu 18.04 end of life admin monitor

    First prototype that includes a user interface and localized messages
    with parameters to support the specific operating system.
    MarkEWaite committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    79ec122 View commit details
    Browse the repository at this point in the history
  2. Use a base class for common features

    Admin monitors are disabled and enabled by a user interface action.
    There is not an obvious way to detect that a date has passed so that it
    should be enabled again.
    MarkEWaite committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    3663bdd View commit details
    Browse the repository at this point in the history
  3. Better comment

    MarkEWaite committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    0c65e6d View commit details
    Browse the repository at this point in the history
  4. Make the logging clearer

    MarkEWaite committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    3d64308 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8451949 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2023

  1. Configuration menu
    Copy the full SHA
    191db8d View commit details
    Browse the repository at this point in the history
  2. Suppress most logging

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    eddb6e7 View commit details
    Browse the repository at this point in the history
  3. Minor logging improvements

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    bbcf614 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    541d4d4 View commit details
    Browse the repository at this point in the history
  5. Logger not needed

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    60ba178 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5f10769 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b9501dd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bc120eb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c780edb View commit details
    Browse the repository at this point in the history
  10. Spotless cleanup

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    93cea3b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a204992 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c1a19d4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    48265f5 View commit details
    Browse the repository at this point in the history
  14. Add a few tests

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    0e5774a View commit details
    Browse the repository at this point in the history
  15. Add another test

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    a172603 View commit details
    Browse the repository at this point in the history
  16. Fix checkstyle violations

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    b1963e5 View commit details
    Browse the repository at this point in the history
  17. Fix spotbugs warning

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    dd75394 View commit details
    Browse the repository at this point in the history
  18. Correct the copyright

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    52f68f1 View commit details
    Browse the repository at this point in the history
  19. Make test viable on non-Linux machines

    Do not depend on the existence of /etc/os-release
    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    6153c57 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a1fa69d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    b0b1365 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    eb975df View commit details
    Browse the repository at this point in the history
  23. Add more tests

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    5bde58a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    b5dc429 View commit details
    Browse the repository at this point in the history
  25. Add RHEL 7 test

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    13b01fc View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f3ffcaa View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    bc21b57 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    88181bf View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    136020d View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    5093136 View commit details
    Browse the repository at this point in the history
  31. Log more information

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    44541d3 View commit details
    Browse the repository at this point in the history
  32. Display end of support date

    Incorrect to declare end of support as the date when we begin warning
    the user about end of life.
    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    0556b42 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    c2c82d2 View commit details
    Browse the repository at this point in the history
  34. Use a better redirect URL

    MarkEWaite committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    5ef0e79 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    e96f6dc View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2023

  1. Configuration menu
    Copy the full SHA
    32f6d90 View commit details
    Browse the repository at this point in the history
  2. Add description.jelly file

    MarkEWaite committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    85c3b96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff5f651 View commit details
    Browse the repository at this point in the history
  4. Add endOfSupportDate getter

    Needed for UI
    MarkEWaite committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    890d636 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e45da5f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e56d308 View commit details
    Browse the repository at this point in the history
  7. Repurpose identifier for use in disabled property

    Don't need the idenitfier anywhere except in the initial constructor
    call that is later used to enable and disable the admin monitor.
    MarkEWaite committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    79ab986 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b3b378b View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Configuration menu
    Copy the full SHA
    30b7922 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    076059d View commit details
    Browse the repository at this point in the history
  3. Reduce duplication in data

    Easier to test with symbolic constants that are consistently named across
    all the classes.
    
    Includes tests of os-release files from each of the end of life operating systems
    MarkEWaite committed May 1, 2023
    Configuration menu
    Copy the full SHA
    595b0f1 View commit details
    Browse the repository at this point in the history
  4. Fix inaccurate comment

    MarkEWaite committed May 1, 2023
    Configuration menu
    Copy the full SHA
    03e0b3a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b29ca33 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5f1151d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9ed7d27 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f92d903 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1753bee View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89c39fa View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1f88881 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8ae1172 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    545315e View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Include operating system version in RHEL 7 check

    Includes a TODO comment to remove the RHEL 8 entry that I use for
    testing and development
    MarkEWaite committed May 2, 2023
    Configuration menu
    Copy the full SHA
    64c2d71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0bafab View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Fix regex syntax error

    MarkEWaite committed May 3, 2023
    Configuration menu
    Copy the full SHA
    9ba7922 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    530ffb2 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

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

Commits on May 19, 2023

  1. Configuration menu
    Copy the full SHA
    418fd6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e69d15 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4051345 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9877858 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92b4b9f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2f22b75 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5c909de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2e64491 View commit details
    Browse the repository at this point in the history
  9. Throw IOException rather than check for null

    IOException should be uncommon and mistakes should be detected by
    automated tests
    MarkEWaite committed May 19, 2023
    Configuration menu
    Copy the full SHA
    838ede2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c3efca4 View commit details
    Browse the repository at this point in the history
  11. Simplify initialization logic

    Else clauses not required due to break.
    MarkEWaite committed May 19, 2023
    Configuration menu
    Copy the full SHA
    8e2d36a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e112f51 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    450f01b View commit details
    Browse the repository at this point in the history
  14. Minor formatting changes

    MarkEWaite committed May 19, 2023
    Configuration menu
    Copy the full SHA
    566f5fd View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8284f73 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    982a542 View commit details
    Browse the repository at this point in the history
  17. Call super in constructor

    MarkEWaite committed May 19, 2023
    Configuration menu
    Copy the full SHA
    684e0a8 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3c37ad8 View commit details
    Browse the repository at this point in the history
  19. Format JSON data

    MarkEWaite committed May 19, 2023
    Configuration menu
    Copy the full SHA
    a81c195 View commit details
    Browse the repository at this point in the history
  20. Fix formatting errors

    MarkEWaite committed May 19, 2023
    Configuration menu
    Copy the full SHA
    26578bf View commit details
    Browse the repository at this point in the history
  21. Fix assertion

    MarkEWaite committed May 19, 2023
    Configuration menu
    Copy the full SHA
    c1b9f22 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. Better variable naming

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    a3e7449 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bb9c5c View commit details
    Browse the repository at this point in the history
  3. Remove unused import

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    1466208 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cd005e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f42d440 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a5c42a7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ed1c5ac View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    59c32d9 View commit details
    Browse the repository at this point in the history
  9. Ongoing debugging

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    c1e8da1 View commit details
    Browse the repository at this point in the history
  10. Describe the monitor

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    0939ba4 View commit details
    Browse the repository at this point in the history
  11. Honor start date

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    ef3ca91 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9c0abbb View commit details
    Browse the repository at this point in the history
  13. Add end of support date

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    8139d9d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    23370c5 View commit details
    Browse the repository at this point in the history
  15. Move end of life data

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    2f37f91 View commit details
    Browse the repository at this point in the history
  16. Rename end of support to end of life

    End of life is used throughout the monitor
    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    4db9468 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    45e92bd View commit details
    Browse the repository at this point in the history
  18. Undo .gitignore change

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    8eb7274 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    9800502 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    edf07a4 View commit details
    Browse the repository at this point in the history
  21. More rename of prettyName

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    1b3f372 View commit details
    Browse the repository at this point in the history
  22. Fix logging mistakes

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    48f6f13 View commit details
    Browse the repository at this point in the history
  23. Add RHEL 8

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    45e9186 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a7b708f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    39dc1b4 View commit details
    Browse the repository at this point in the history
  26. Fix JSON file formatting

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    8163734 View commit details
    Browse the repository at this point in the history
  27. Simplify logging code

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    1146192 View commit details
    Browse the repository at this point in the history
  28. Better logging

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    f795d90 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    2d5cd49 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    7d7fd29 View commit details
    Browse the repository at this point in the history
  31. Remove unused methods

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    f6e7cce View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    6bf0365 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    81477d7 View commit details
    Browse the repository at this point in the history
  34. Throw IOException on bad data file

    Fail tests quickly when a a bad data file is used
    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    88c9e37 View commit details
    Browse the repository at this point in the history
  35. Better exception message

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    5a2d9d4 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    83b4822 View commit details
    Browse the repository at this point in the history
  37. Enable isActivated test

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    853352a View commit details
    Browse the repository at this point in the history
  38. Increase test coverage

    MarkEWaite committed May 20, 2023
    Configuration menu
    Copy the full SHA
    f3ae8e6 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2023

  1. Fix spelling error

    Co-authored-by: Alexander Brandes <brandes.alexander@web.de>
    MarkEWaite and NotMyFault authored May 21, 2023
    Configuration menu
    Copy the full SHA
    135eff0 View commit details
    Browse the repository at this point in the history
  2. Remove non-breaking spaces from message

    Non-breaking spaces are not recommended.
    
    Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
    MarkEWaite and timja authored May 21, 2023
    Configuration menu
    Copy the full SHA
    4cb8994 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfb7be5 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Configuration menu
    Copy the full SHA
    dae7e51 View commit details
    Browse the repository at this point in the history
  2. Included OS query parameter and fragment in docs URL

    The fragment may be useful in the future for analytics.  Harmless to
    send the fragment to www.jenkins.io and www.jenkins.io may be able to
    make use of it to direct the reader to information that is specific to
    their operating system.
    MarkEWaite committed May 22, 2023
    Configuration menu
    Copy the full SHA
    24d991a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00634bc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b53419 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ab27488 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Configuration menu
    Copy the full SHA
    ce88af8 View commit details
    Browse the repository at this point in the history
  2. Remove fragment, only need query parameter

    jenkinsci#7913 (comment)
    is the comment that prompted the improvement.
    MarkEWaite committed May 23, 2023
    Configuration menu
    Copy the full SHA
    0a35a4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4687a1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    98ffe88 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

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

Commits on May 25, 2023

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