Skip to content

feat: comment ID holding both bug and comment reference #415

Closed

Description

@MichaelMure

I just had a literal shower thought about this.

Instead of concatenating a part of the bug ID with a part of the comment ID, we could interleave them.

That is, instead of doing BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCC with B being a character of the bug's ID and C being a characters of the comment's ID, we could do BBBCBBBCBBBCBBBCBBBCBBBCBBBCBBBC.

This way, the longer the prefix of this ID is, the more information we get about both the bug and the comment.

We could even do an irregular pattern if we want to be able to have meaningful 4+3, 6+3 or 6+4 prefix, while still end up with a nice 30+10 for the full ID:

4+3 BCBCBCB
6+3 BCBCBCBBB
6+4 BCBCBCBBBC
30+10 BCBCBCBBBCBBBBCBBBBCBBBBCBBBBCBBBBCBBBBC

Originally posted by @MichaelMure in #128 (comment)

Activity

  1. MichaelMure commented on Jun 28, 2020

    @MichaelMure
    ContributorAuthor

    More context in #128

  2. MichaelMure commented on Nov 20, 2022

    @MichaelMure
    ContributorAuthor

    This has been completed.

  3. added
    area/bugsRelates to bugs (the resource)
    kind/featureRelates to a new feature
    and removed on Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/bugsRelates to bugs (the resource)kind/featureRelates to a new feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions