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

Add an admin command to compare 2 package versions #6124

Closed
wants to merge 12 commits into from

Commits on Sep 3, 2024

  1. Add an admin command to compare 2 package versions

    This is meant for quick sanity checks for example.
    
    - Added some basic tests to cover the command. The tests I added do
      not duplicate the tests for the actual comparison function, rather
      that meant to cover the basic cases encountered by the command.
    
    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    9ecde1b View commit details
    Browse the repository at this point in the history
  2. Remove internal int from the output of [compare-package-versions]

    - Update test trace
    
    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    3b5cb56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6271d2 View commit details
    Browse the repository at this point in the history
  4. Rename command to [compare-versions]

    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    45802d9 View commit details
    Browse the repository at this point in the history
  5. Add optional parameter to control the exit code if needed

    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    b40ad5c View commit details
    Browse the repository at this point in the history
  6. Tweaks to compare-versions

    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    8a546cd View commit details
    Browse the repository at this point in the history
  7. Add tests

    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    74b5c89 View commit details
    Browse the repository at this point in the history
  8. Update master_changes.md

    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    2204f02 View commit details
    Browse the repository at this point in the history
  9. Formatting (ocp-indent)

    mbarbin committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    49b3d1a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    70e95be View commit details
    Browse the repository at this point in the history
  11. Update src/client/opamAdminCommand.ml

    Co-authored-by: Kate <[email protected]>
    mbarbin and kit-ty-kate committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    7c6ae41 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    857c1c3 View commit details
    Browse the repository at this point in the history