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

Render bugrefs as clickable links within labels #4998

Merged
merged 2 commits into from Feb 14, 2023

Conversation

Martchus
Copy link
Contributor

@Martchus Martchus commented Feb 13, 2023

So one does not need to add a bugref just for the sake of having a
clickable link. This is especially useful as having a label and a bugref
in one comment has caveats. In particular, a force_result will not be
evaluated if the comment is carried over and the carry over itself prevents
hook scripts from running.

With this, the change os-autoinst/scripts#155 could
be reverted.

Related ticket/note: https://progress.opensuse.org/issues/124029#note-4


grafik

So one does not need to add a bugref just for the sake of having a
clickable link. This is especially useful as having a label and a bugref
in one comment has caveats. In particular, a `force_result` will not be
evaluated if the comment is carried over and the carry over itself prevents
hook scripts from running.

With this, the change os-autoinst/scripts#155 could
be reverted.

Related ticket/note: https://progress.opensuse.org/issues/124029#note-4
@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

Merging #4998 (8fa3634) into master (8d9ce6f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4998   +/-   ##
=======================================
  Coverage   98.17%   98.17%           
=======================================
  Files         379      379           
  Lines       35482    35489    +7     
=======================================
+ Hits        34836    34843    +7     
  Misses        646      646           
Impacted Files Coverage Δ
t/16-markdown.t 100.00% <ø> (ø)
lib/OpenQA/Markdown.pm 100.00% <100.00%> (ø)
lib/OpenQA/Utils.pm 99.51% <100.00%> (+<0.01%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@kalikiana kalikiana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to put aside and come back to this to be sure I get how it works. Actually this is ingenious. And the separate constants help clarify what's going on

@mergify mergify bot merged commit 955a5ee into os-autoinst:master Feb 14, 2023
@Martchus Martchus deleted the label-bugref-links branch February 14, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants