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

Repository Browser: Add context menu action "Update Revisions :: To higher MICRO / MINOR / MAJOR revision" #6104

Merged
merged 11 commits into from May 7, 2024

Commits on Apr 27, 2024

  1. add Repo action Update revisions to higher MICRO

    this basically does what the MbrCommand does, but in the UI. You can update a central.mvn index file with this action.
    There is a DryRun option, which just copies the result to clipboard without touching the index file. you can use that to simulate it and check the result upfront.
    
    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    4f05595 View commit details
    Browse the repository at this point in the history
  2. refactoring to submenu

    and add options for scope MICRO, MINOR and MAJOR
    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    6dd1669 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. cleanup

    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    f056175 View commit details
    Browse the repository at this point in the history
  2. change output format of Dry-Run

    now it looks like MbrCommand#_check which is a string table showing the current and new version - basically a preview
    e.g.
    ## Updates available
    com.fasterxml.jackson.core:jackson-core:2.16.1                        2.16.2
    
    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    070c9f4 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. better reuse and share code

    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed May 1, 2024
    Configuration menu
    Copy the full SHA
    9ee2bf9 View commit details
    Browse the repository at this point in the history
  2. tweaking and fixup message

    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed May 1, 2024
    Configuration menu
    Copy the full SHA
    ee2885d View commit details
    Browse the repository at this point in the history
  3. final var

    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed May 1, 2024
    Configuration menu
    Copy the full SHA
    3426ccd View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. replace PrintStream with logger

    TODO investigate into suggestion of using Result instead of outputing
    
    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed May 3, 2024
    Configuration menu
    Copy the full SHA
    c06144f View commit details
    Browse the repository at this point in the history
  2. pull out the logging to MbrCommand only

    Since MbrUpdater should not print out directly any logging statements, I tried to do it outside in MbrCommand. Because MbrCommand also did the logging before, so I tried do it in a similar way, to preserve existing behavior.
    
    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed May 3, 2024
    Configuration menu
    Copy the full SHA
    2d1f949 View commit details
    Browse the repository at this point in the history
  3. introduce MavenVersionResult to log like before

    the new container obj allows to better track when we got a version from the mavencentral-fetch, and this in turn allows us to write the logging output the same way as it was before in MbrCommand
    
    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed May 3, 2024
    Configuration menu
    Copy the full SHA
    fc97d92 View commit details
    Browse the repository at this point in the history
  4. fix log output - only version

    Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
    chrisrueger committed May 3, 2024
    Configuration menu
    Copy the full SHA
    2f87393 View commit details
    Browse the repository at this point in the history