Skip to content

Conversation

rkratky
Copy link
Collaborator

@rkratky rkratky commented Jul 31, 2025

Adds roles:

  • lpsrc for linking to Ubuntu packages on LP
  • lpbug for linking to LP bugs
  • associated contrib docs

@rkratky rkratky requested a review from s-makin as a code owner July 31, 2025 14:46
@rkratky rkratky added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 31, 2025
Copy link
Collaborator

@s-makin s-makin left a comment

Choose a reason for hiding this comment

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

this is a really good idea, is it possible to add one for LP teams as well?

Also, for the LP bug one, do people need to include the # as they normally would?

@rkratky
Copy link
Collaborator Author

rkratky commented Jul 31, 2025

is it possible to add one for LP teams as well?

Yes, but it's not ideal because LP teams use the https://launchpad.net/~team-name URLs. IOW, there's nothing that would distinguish that URL from users and projects (all of these use the ~<name> format). So, while we can have a shortcut for all of these, there's no way to determine whether the link is to a team, user, or a project.

Also, for the LP bug one, do people need to include the # as they normally would?

No. Also (I didn't include it in the doc), these behave like all other roles, so you can do, e.g.:

{lpbug}`bug no. 12345 & its fancy link text <12345>`

@s-makin
Copy link
Collaborator

s-makin commented Jul 31, 2025

Makes sense, thanks for the clarification!

@s-makin s-makin merged commit 1de5afa into ubuntu:main Jul 31, 2025
2 of 3 checks passed
@rkratky rkratky deleted the lp-links branch July 31, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants