Skip to content

[improve][misc] Add IssueNavigationLink for IDEA git log - #17769

Merged
lhotari merged 1 commit into
apache:masterfrom
alpreu:intellij-vcs-links
Sep 23, 2022
Merged

lhotari merged 1 commit into
apache:masterfrom
alpreu:intellij-vcs-links

Conversation

@alpreu

@alpreu alpreu commented Sep 21, 2022 •

Copy link
Copy Markdown
Contributor

Motivation

This enables GitHub hyperlinks in IDEA for commits containing PR information.
Clicking on the link will directly open the corresponding GitHub PR.
See screenshots below:
NOW
Screenshot 2022-09-21 at 13 38 54
BEFORE
Screenshot 2022-09-21 at 13 42 06

Modifications

  • changed .gitignore
  • added vcs.xml IDEA file

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • Anything that affects deployment

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

Matching PR in forked repository

PR in forked repository: alpreu#1

This enables GitHub hyperlinks in IDEA for commits containing PR information
@alpreu

alpreu commented Sep 21, 2022

Copy link
Copy Markdown
Contributor Author

As a follow-up, we could improve this even further by also linking to the corresponding WIKI page for PIPs.

This would require a change to future PIP URLs in the wiki.
Right now they are either a Github Issue URL or in the form of
https://github.com/apache/pulsar/wiki/PIP-198:-Standardize-PR-Naming-Convention-using-GitHub-Actions
To have a deterministic link all future PIPs would need to be created in the wiki and the URL would need to look like https://github.com/apache/pulsar/wiki/PIP-198
This is an entirely different discussion though.

@lhotari

lhotari commented Sep 21, 2022

Copy link
Copy Markdown
Member

Nice improvement!

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Sep 21, 2022
@heesung-sohn

Copy link
Copy Markdown
Contributor

thank you for this update.

@alpreu

alpreu commented Sep 23, 2022

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants