Skip to content

Releases: Djuuu/git-mr

3.6.0

05 Jul 16:50
41563ab
Compare
Choose a tag to compare

What's Changed

3.5.0

26 Jun 08:06
c09fa24
Compare
Choose a tag to compare

What's Changed

  • Filtering by project group & membership to build menu by @Djuuu in #19

Full Changelog: 3.4.0...3.5.0

3.4.0

24 Jun 19:41
97a8298
Compare
Choose a tag to compare

What's Changed

  • Upgrade test dependencies by @Djuuu in #18

  • Add approvals indicator in status block by @Djuuu in #17

    Displayed when merge request requires approvals:
    image
    image

    or when optional approvals were given:
    image


Full Changelog: 3.3.0...3.4.0

3.3.0

26 Feb 15:54
ab7136a
Compare
Choose a tag to compare

What's Changed

  • mr menu update: Fix menu insertion on short or empty descriptions by @Djuuu in #15
  • mr update: Use links to merge request diff view by @Djuuu in #16

Full Changelog: 3.2.1...3.3.0

Version 3.2.1

22 Jun 22:53
341679d
Compare
Choose a tag to compare

Version 3.2.0

06 May 18:56
6071ef3
Compare
Choose a tag to compare

Version 3.1.1

25 Apr 08:36
2f07f2b
Compare
Choose a tag to compare

Version 3.1.0

24 Apr 10:16
0b615ee
Compare
Choose a tag to compare

Version 3.0.0

01 Mar 11:01
6686f07
Compare
Choose a tag to compare
  • Signature of most commands was changed to accept the source branch as an argument.
    This allows showing the status of any merge request from current project, without having to actually switch to the related branch.

    To force the issue code (if not detected properly) or the target branch, the -c|--code and -t|--taget options can now be used.

  • "Extended" merge request description improvements.
    The -e|--extended option now works with git mr update (for new commits added to the description).
    Formatting was fixed to avoid unnecessary new lines.

    Note: to always use extended descriptions (using the full commit body instead of just the summary), you can set GIT_MR_EXTENDED=1 in your environment variables.
    (This was already possible before, but was not explicitely documented.)

  • Added pipeline status to status block ✔ ❌ ⏱

  • mr update now adds new commits right after the existing commits in current description.
    You can use the -n|--new-section option to add the "## Update" title separator as before,
    or specify a custom title: -n|--new-section "My new title"

  • mr update now has a -r|--replace-commits option.
    This replaces the whole commit list in the description.
    This can be useful after a branch cleanup, where commits were squashed and/or rewritten.

  • mr merge now has a --force option.
    This allows merging even when there are unresolved threads.

  • mr menu update now updates all related merge requests.
    To update only current merge request (from current projet / branch), use the --current option.

    Command output was tweaked to better highlight the menu in the updated description.

  • New mr ok transition.
    Also, transition commands (ip|cr|qa|ok) will now list the available Jira transitions if the JIRA_*_ID variable is not set.

  • Display adjustments.
    Improved usage of terminal links:

    • merge request title links to merge request page (instead of showing the raw merge request URL)
    • unread thread count links to first unresolved thread
    • pipeline status indicator links to last merge request pipeline

    Support of terminal hyperlinks may vary across terminal applications. See: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda.

    If you still want to display merge request url in status blocks, you can set GIT_MR_NO_TERMINAL_LINK=1
    (this will also disable other terminal links).

  • Optimization: git mr now runs ~40% faster.
    System calls were optimized to avoid unnecessary subprocesses.
    Some API calls now run in parallel.

  • Miscellaneous improvements and bugfix.

    • fixed mr hook when in a submodule
    • fixed terminal link escaping issues
    • additional checks (when on main branch, remote branch existence and synchronization)
    • ...
  • Completion script
    See https://github.com/Djuuu/git-mr#completion

  • macOS compatibility (with some requirements)
    See https://github.com/Djuuu/git-mr#command-installation

  • Tests & CI
    Thanks to Github actions.