Skip to content

make better labels for links to issues/PRs #17

Open

Description

@TallTed

When a channel is concerned with only one repository, this may be sufficient --

<joe> Let's talk about foo/bar#13.
<gb> https://github.com/foo/bar/issues/13 -> #13

-- as the minutes will show only --

<gb> #13

But when the channel is concerned with multiple repositories, it would be better if the label for the minutes were to indicate the specific repository, as --

<joe> Let's talk about baz/bar#13.
<gb> https://github.com/baz/bar/issues/13 -> baz/bar#13

or

<joe> Let's talk about foo/ish#13.
<gb> https://github.com/foo/ish/issues/13 -> foo/ish/issues/13

-- for which the minutes will show the following, respectively --

<gb> baz/bar#13
<gb> foo/ish/issues/13

Activity

  1. bert-github commented on Mar 19, 2026

    @bert-github
    Contributor

    Note that gb only uses the issue number for the link anchor if it cannot connect to GitHub. Normally, it will get the title of the issue and use that as the anchor text.

    But for the former case, i.e., when it cannot get the title of the issue, it will now use the number in the way it found it on IRC. So if you say Let's talk about bar#13, gb will answer with https://github.com/foo/bar/issues/13 -> bar#13. And if you say ... foo/bar#13, it will answer https://github.com/foo/bar/issues/13 -> foo/bar#13.

  2. TallTed commented on Mar 24, 2026

    @TallTed
    MemberAuthor

    Normally, it will get the title of the issue and use that as the anchor text.

    Does gb include the issue/pull number in the above case, i.e., along with the title? (It's unclear to me whether the number is now considered part of the title, as I think it should be.)

  3. bert-github commented on Apr 22, 2026

    @bert-github
    Contributor

    Yes, it includes the issue number but not the name of the repo. E.g., if you type

    w3c/lws-protocol#37
    

    gb replies with

    https://github.com/w3c/lws-protocol/pull/37 -> Pull Request 37 Initial CRUD with proposed metadata handling (by ebremer)
    

    which looks in the minutes like

    Pull Request 37 Initial CRUD with proposed metadata handling (by ebremer)

  4. TallTed commented on Jun 29, 2026

    @TallTed
    MemberAuthor

    There's something wrong with your "gb replies with". The minutes should not have —

    Pull Request 37 Initial CRUD with proposed metadata handling (by ebremer)

    — from that. Rather they should have —

    Pull Request 37 Initial CRUD with proposed metadata handling (by ebremer)


    I don't think "Pull Request" is necessary for these purposes. "Pull" or "PR" will serve for this technically savvy audience.

    Given the proliferation of repositories, especially in some of the WGs I'm in (the RDF & SPARQL WG has upwards of 20 total repositories), however, I think it helpful if not necessary to include at least a short name of the repository in the human visible output, so something like —

    w3c/lws-protocol Pull 37 Initial CRUD with proposed metadata handling (by ebremer)

    — as minutes for —

    [w3c/lws-protocol Pull 37](https://github.com/w3c/lws-protocol/pull/37) Initial CRUD with proposed metadata handling (by ebremer)

    — which should be output from me typing —

    w3c/lws-protocol#37

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions