[llvm-dev] RFC: Switching from Bugzilla to Github Issues

81 views
Skip to first unread message

James Y Knight via llvm-dev

unread,
Oct 24, 2019, 10:55:01 PM10/24/19
to llvm-dev
We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.

Most of the ideas here were from other people. I believe this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.


Background
---- 
Our bugzilla installation is...not great. It's been not-great for a long time now.

Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org's fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.

This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating whether we should switch, we discussed how we should switch. And came up with a plan to switch quickly.

GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!


Proposal
----
We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.

Some things we'd like to get in place before turning on Github's Issue tracker:
1. Updated documentation.
2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.

But more important are the things we do not want to make prerequisites for turning on Github issues:

We do not yet plan to turn off Bugzilla, and do not plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.

We do not want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
- You can subscribe to notification emails for activity in the entire llvm-project repository.
- You can subscribe to notification emails on an individual issue.
- Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).
- No emails will be sent to llvm...@llvm.org for github issues.
- There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).

Further steps
----
After we migrate, there's still things we want to do:

1. Discuss and setup new and better procedures around bug triage and prioritization.

What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triagehttps://forge.rust-lang.org/release/triage-procedure.html#issue-triage).

2. Bug migration

After the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.

Possibility 1: Migrate all the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.

Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.

In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would preserve the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.

David Blaikie via llvm-dev

unread,
Oct 24, 2019, 10:59:47 PM10/24/19
to James Y Knight, llvm-dev
Any chance of setting bugzilla to make it not possible to file new issues there?

_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

James Y Knight via llvm-dev

unread,
Oct 24, 2019, 11:01:31 PM10/24/19
to David Blaikie, llvm-dev
Yes, that should be possible to do that without also disabling comments on existing issues.

Tim Northover via llvm-dev

unread,
Oct 24, 2019, 11:11:27 PM10/24/19
to James Y Knight, llvm-dev
Hi James,

Good write-up, and I'm in favour.

One other thing I remembered from the round-table was that I think we
did talk about extending e-mail CC flexibility as a future goal.
Chandler mentioned there may well even be off the shelf solutions we
could use that integrate with GitHub, but no-one spoke up saying that
should block the initial proposed activation in 2 weeks.

Cheers.

Tim.

JF Bastien via llvm-dev

unread,
Oct 24, 2019, 11:57:23 PM10/24/19
to James Y Knight, llvm-dev
I strongly support this. I quite prefer GitHub issue to our current bugzilla setup.


Martin Storsjö via llvm-dev

unread,
Oct 25, 2019, 2:06:51 AM10/25/19
to James Y Knight, llvm-dev
On Thu, 24 Oct 2019, James Y Knight via llvm-dev wrote:

> We do not want to build supplementary notification systems to make github
> issues send additional emails that it is unable to send itself. We will only
> support what GitHub supports. That means:
> - You can subscribe to notification emails for activity in the entire
> llvm-project repository.
> - You can subscribe to notification emails on an individual issue.
> - Someone else can CC you on an individual issue to get your attention, and
> you will get notifications from that (unless you opt-out).

One thing comes to mind wrt workflows and how I often use bugzilla: After
bisecting a regression and filing a bug with the reproducer, I try to add
CCs for the author of the commit and potentially the reviewers who were
involved with the commit.

In bugzilla it's fairly easy to try type people's names (which you find
easily via the Phabricator review) and bugzilla will autocomplete and let
you pick whoever seems to match what you typed.

In github I'd presume you need to know the github username of the ones you
want to CC. For the cases where it matches the Phabricator username, this
is straightforward, but I'm sure there's a significant number of users
where the mapping isn't obvious.

After filing a regression bug I normally link to it from the originating
review thread as well, which hopefully serves as notification to the same
people as well though. (But depending on mail sorting habits and use of
Phabricator, where e.g. I normally only list open reviews, it can be easy
to miss a comment on a closed review).


// Martin

Mehdi AMINI via llvm-dev

unread,
Oct 25, 2019, 4:19:27 AM10/25/19
to James Y Knight, llvm-dev
On Thu, Oct 24, 2019 at 7:55 PM James Y Knight via llvm-dev <llvm...@lists.llvm.org> wrote:
We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.

Most of the ideas here were from other people. I believe this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.

Thanks for writing the proposal! 
This is reflecting quite well the overall conclusion of the round-table on this topic I think.
Are you excluding his as a prerequisite because we don't have confidence this can be achieved very quickly?

-- 
Mehdi

 
 

Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.

In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would preserve the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.

Anton Korobeynikov via llvm-dev

unread,
Oct 25, 2019, 4:32:22 AM10/25/19
to Mehdi AMINI, llvm-dev
> Are you excluding his as a prerequisite because we don't have confidence this can be achieved very quickly?
Yes. And besides the necessary tooling (fortunately, there are some
scripts for this) it also relies on lots of things fully done, e.g.
the list of all tags for us to build the mapping from e.g. components
to tags, etc.

--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University

Martin Storsjö via llvm-dev

unread,
Oct 25, 2019, 7:49:30 AM10/25/19
to James Y Knight, llvm-dev
On Fri, 25 Oct 2019, Martin Storsjö via llvm-dev wrote:

> On Thu, 24 Oct 2019, James Y Knight via llvm-dev wrote:
>
>> We do not want to build supplementary notification systems to make github
>> issues send additional emails that it is unable to send itself. We will
>> only
>> support what GitHub supports. That means:
>> - You can subscribe to notification emails for activity in the entire
>> llvm-project repository.
>> - You can subscribe to notification emails on an individual issue.
>> - Someone else can CC you on an individual issue to get your attention, and
>> you will get notifications from that (unless you opt-out).
>
> One thing comes to mind wrt workflows and how I often use bugzilla: After
> bisecting a regression and filing a bug with the reproducer, I try to add CCs
> for the author of the commit and potentially the reviewers who were involved
> with the commit.
>
> In bugzilla it's fairly easy to try type people's names (which you find
> easily via the Phabricator review) and bugzilla will autocomplete and let you
> pick whoever seems to match what you typed.
>
> In github I'd presume you need to know the github username of the ones you
> want to CC. For the cases where it matches the Phabricator username, this is
> straightforward, but I'm sure there's a significant number of users where the
> mapping isn't obvious.

Replying to myself here - I rememeberd that when viewing a commit on
github, github is actually very good at replacing any references to the
original author name with their github username (to the extent that it
actually is hard to find the realname of the author when viewing a
commit).

So for CCing people on issues, the author/committer should be easy to
discover; potential related reviewers are the only ones where discovering
their github usernames might be tricky. And that's much less important.

// Martin

Finkel, Hal J. via llvm-dev

unread,
Oct 25, 2019, 1:56:29 PM10/25/19
to Martin Storsjö, James Y Knight, llvm-dev

I disagree, this is extremely important. Many bugs are filed by people who don't know what commit is relevant, and other community members who watch the bugs list (including myself) help cc the right people. We must have a straightforward way to cc people. A list somewhere with people's names could be a fine solution, but the current autocomplete is an important part of the workflow, and a limited search is important (as I often don't remember exactly how various people's names are spelled).

 -Hal




// Martin

_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-- 
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory

Shoaib Meenai via llvm-dev

unread,
Oct 25, 2019, 2:03:43 PM10/25/19
to Finkel, Hal J., Martin Storsjö, James Y Knight, llvm-dev

In my experience, when you start typing @ in a GitHub comment, it brings up an autocomplete with tagging suggestions, and that autocomplete works for both usernames and real names (assuming people have their name on their GitHub account).

Reid Kleckner via llvm-dev

unread,
Oct 25, 2019, 2:31:45 PM10/25/19
to James Y Knight, llvm-dev
Thanks for writing this up! I can also confirm that I was there and it's accurate to my memory.

On Thu, Oct 24, 2019 at 7:55 PM James Y Knight via llvm-dev <llvm...@lists.llvm.org> wrote:
We do not want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
- You can subscribe to notification emails for activity in the entire llvm-project repository.
- You can subscribe to notification emails on an individual issue.
- Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).
- No emails will be sent to llvm...@llvm.org for github issues.
- There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).

I wanted to say a bit to support the direction of not setting up a new whole-project notification system to replace llvm-bugs@.

LLVM as a project is much bigger than it was when llvm-bugs@ was created. These days, new developers do not generally subscribe to llvm-bugs@, and if they do, they don't use it to triage issues. What happens in practice is that we have a subset of developers who do triage, add the component, and CC individuals who know the code in question. We don't need a single mailing list for all bugs to replicate this process. We could instead document a process of triage, where triagers periodically run a search to find issues without tags and then apply tags and CCs as we do today. We could formalize this with a rotation, but let's not get ahead of ourselves.

I really would love to find a way to get email notifications from a specific issue tag, but I don't want to block opening the new tracker on that. Until we find a solution to that, we'll have to get used to refreshing a bookmarked search for our favorite tags. I recall that this was discussed during the round table, and people generally agreed that new users being able to find bugs was more important than a good subscription system.

Possibility 1: Migrate all the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.

Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.

In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would preserve the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.
 
I guess "possibility 1" seems like the best to me. Once we get a good backup of all the data, it lets us turn off bugzilla sooner. It also seems easier since there are probably existing scripts to do this that we can reuse.

I'll also mention the llvm.org/pr* link scheme. We should probably make those perma-links.

Robinson, Paul via llvm-dev

unread,
Oct 25, 2019, 2:34:50 PM10/25/19
to James Y Knight, llvm...@lists.llvm.org
> We do not want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
> - You can subscribe to notification emails for activity in the entire llvm-project repository.

Is that only new issues? Or all activity? If it's all activity on all issues, you're effectively auto-subscribing to all issues, and really nobody would want that. Well, maybe, like, 3 people.

> - You can subscribe to notification emails on an individual issue.
> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).
> - No emails will be sent to mailto:llvm...@llvm.org for github issues.
> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).

That last is really unfortunate. Someone only interested in (say) LLDB issues would have to subscribe to all notifications and hope that there are enough breadcrumbs in a new issue to be able to do accurate email filtering. It would be better to handle this in the bug tracker itself.
Last year Kristof Beyls and I did a BoF on bug handling, and my memory is that a nonzero number of people were willing to be auto-CC'd on particular topics but did not want to subscribe to llvm-bugs. This description of the github tracker means that would not be feasible, which is a step backwards.
I can anticipate a counter-argument which is that someone can easily search for bugs with particular tags. I claim that's not equivalent, because it requires action on the part of the person to go look for things, and that happens only when the person thinks of doing it. Computers should automate the tedious parts, like alerting the people who are interested in issues with a particular tag.

--paulr

Philip Reames via llvm-dev

unread,
Oct 25, 2019, 2:47:25 PM10/25/19
to James Y Knight, llvm-dev

Generally supportive here, but I see a couple of small concerns.

On 10/24/19 7:54 PM, James Y Knight via llvm-dev wrote:
We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.

Most of the ideas here were from other people. I believe this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.


Background
---- 
Our bugzilla installation is...not great. It's been not-great for a long time now.

Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org's fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.

This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating whether we should switch, we discussed how we should switch. And came up with a plan to switch quickly.

GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!


Proposal
----
We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
I think two weeks is simply too quick.  Our community is huge, there's inherently a delay with information dissemination and we want objectors to have a chance to respond.  4-8 weeks would be a much more realistic time frame. 

Some things we'd like to get in place before turning on Github's Issue tracker:
1. Updated documentation.
2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.

But more important are the things we do not want to make prerequisites for turning on Github issues:

We do not yet plan to turn off Bugzilla, and do not plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.

We do not want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
- You can subscribe to notification emails for activity in the entire llvm-project repository.
- You can subscribe to notification emails on an individual issue.
- Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).
- No emails will be sent to llvm...@llvm.org for github issues.
- There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).

The last two items are *very* unfortunate.  A quick skim through the API documentation (https://developer.github.com/v3/issues/) would seem to indicate implementing these fairly straight forward.  I think it might be worth implementing our own custom scripts here.

I'm legitimately torn as to whether this should be considered a blocker.  I don't actually use either method, so my personal vote is no, but I believe others do.  Breaking existing workflows when relatively little effort is required not to seems less than idea.



Further steps
----
After we migrate, there's still things we want to do:

1. Discuss and setup new and better procedures around bug triage and prioritization.

What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triagehttps://forge.rust-lang.org/release/triage-procedure.html#issue-triage).

2. Bug migration

After the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.

Possibility 1: Migrate all the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.

Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.

In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would preserve the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.


Sachkov, Alexey via llvm-dev

unread,
Oct 26, 2019, 12:41:12 PM10/26/19
to Robinson, Paul, James Y Knight, llvm...@lists.llvm.org
> Is that only new issues? Or all activity? If it's all activity on all issues, you're effectively auto-subscribing to all issues, and really nobody would want that. Well, maybe, like, 3 people.

Looking at docs for notification: https://help.github.com/en/github/receiving-notifications-about-activity-on-github/about-notifications#types-of-notifications

There are 4 levels:
- ignore all notifications including @mention
- notification on @mention or if participating (left a comment, owner of issue/PR)
- notification on releases + previous item
- get notification about *all* activity: every update in every issue/PR

However, there is such thing as teams: https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams

We could create teams for front-end, back-ends, static analyzer and all other components to quickly summon all potentially interested people.


-----Original Message-----
From: llvm-dev <llvm-dev...@lists.llvm.org> On Behalf Of Robinson, Paul via llvm-dev
Sent: Friday, October 25, 2019 9:35 PM
To: James Y Knight <jykn...@google.com>; 'llvm...@lists.llvm.org' <llvm...@lists.llvm.org>
Subject: Re: [llvm-dev] RFC: Switching from Bugzilla to Github Issues

--------------------------------------------------------------------
Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Anton Korobeynikov via llvm-dev

unread,
Oct 27, 2019, 5:23:55 PM10/27/19
to James Y Knight, llvm-dev
> 2. Bug migration

> In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would preserve the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.
I made some research here and there are some caveats here and there,
unfortunately. The current list of questions / issues could be found
at https://docs.google.com/document/d/1byEcbsxF3pL-HGGd_K6axdh87tbcsuJK3Dp6ThxGjKA
– please comment.

--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University

Kristof Beyls via llvm-dev

unread,
Oct 28, 2019, 6:51:42 AM10/28/19
to Robinson, Paul, llvm...@lists.llvm.org
I'd like to add support for moving to github issues sooner rather than later. Not having to manually create bugzilla user accounts both gives me back some time in my day (not that important) and eliminates some of the barriers for new contributors to file or contribute to bug reports (really important).

My 2 cents to add (which I forgot at the round table) is that in general, we probably do a poor job at triaging or acknowledging new bugs that are being raised.  There are some exceptions though, for some components, where a few people very actively triage and acknowledge new bug reports. I'd hate to see this disappear. Therefore, I think it's important for people to be able to continue to easily filter updates to bugs based on components and/or keyword - so that the few that are currently motivated and perform a lot of bug triage keep on doing so - by enabling a high signal-to-noise ratio in github issue notifications for them.

I'm not sure if this is easy to do with github issues (I don't think I saw ideal solutions being described in the thread above). Maybe getting all notification emails from all bugs, and then being able to filter it client-side based on keywords will work well enough, I don't know.
I don't have a strong feel on whether we should block migration on having good enough notification filtering, but I'd like to encourage enabling good enough filtering sooner rather than later.
I'm afraid I don't really have enough experience with github issues to know what's possible with respect to client-side filtering.

Thanks,

Kristof

Op vr 25 okt. 2019 om 20:34 schreef Robinson, Paul <paul.r...@sony.com>:

James Henderson via llvm-dev

unread,
Oct 28, 2019, 10:05:39 AM10/28/19
to Robinson, Paul, llvm...@lists.llvm.org
On Fri, 25 Oct 2019 at 19:35, Robinson, Paul via llvm-dev <llvm...@lists.llvm.org> wrote:
> - You can subscribe to notification emails on an individual issue.
> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).
> - No emails will be sent to mailto:llvm...@llvm.org for github issues.
> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).

That last is really unfortunate.  Someone only interested in (say) LLDB issues would have to subscribe to all notifications and hope that there are enough breadcrumbs in a new issue to be able to do accurate email filtering.  It would be better to handle this in the bug tracker itself.
Last year Kristof Beyls and I did a BoF on bug handling, and my memory is that a nonzero number of people were willing to be auto-CC'd on particular topics but did not want to subscribe to llvm-bugs.  This description of the github tracker means that would not be feasible, which is a step backwards.
I can anticipate a counter-argument which is that someone can easily search for bugs with particular tags.  I claim that's not equivalent, because it requires action on the part of the person to go look for things, and that happens only when the person thinks of doing it.  Computers should automate the tedious parts, like alerting the people who are interested in issues with a particular tag.

--paulr
+1. I'm very interested in being automatically subscribed to issues in a very limited set of tools. I'm currently auto-subscribed on the corresponding bugzilla components and actively look at any new issues on those tools, usually within 24 hours, even if I don't respond to them all. I would be unlikely to remember to refresh a search anywhere near as frequently, and I've found getting my emails to filter correctly to be easier said than done. I don't think it's a blocker to migration necessarily, especially if the majority of people support migration (I personally am ambivalent, aside from this point), but I do think this workflow should be a priority in resolving.

James

Joseph Tremoulet via llvm-dev

unread,
Oct 28, 2019, 10:45:27 AM10/28/19
to Sachkov, Alexey, Robinson, Paul, James Y Knight, llvm-dev
+1 to the idea of using teams (at least until there are good options for filtering by tag); we use it in the dotnet projects and in my experience it's worked well there. I have been happily oblivious to and not notified about most dotnet issues, but whenever somebody tagged the @dotnet/jit-contrib team I'd get a notification, and what's more Github includes metadata[1] in the cc line when it sends notification emails, letting me set up inbox rules to route notifications about issues where I'm included by team_mention (@dotnet/jit-contrib) separately from issues where I'm included individually.

-Joseph

[1] https://help.github.com/en/github/receiving-notifications-about-activity-on-github/about-email-notifications#filtering-email-notifications

[apologies to those of you receiving this twice; my mail client likes to drop llvm-dev from reply-all for some reason...]


-----Original Message-----
From: llvm-dev <llvm-dev...@lists.llvm.org> On Behalf Of Sachkov, Alexey via llvm-dev
Sent: Saturday, October 26, 2019 12:41 PM
To: Robinson, Paul <paul.r...@sony.com>; James Y Knight <jykn...@google.com>; llvm...@lists.llvm.org
Subject: Re: [llvm-dev] RFC: Switching from Bugzilla to Github Issues

> Is that only new issues? Or all activity? If it's all activity on all issues, you're effectively auto-subscribing to all issues, and really nobody would want that. Well, maybe, like, 3 people.

Looking at docs for notification: https://help.github.com/en/github/receiving-notifications-about-activity-on-github/about-notifications#types-of-notifications

There are 4 levels:
- ignore all notifications including @mention
- notification on @mention or if participating (left a comment, owner of issue/PR)
- notification on releases + previous item
- get notification about *all* activity: every update in every issue/PR

However, there is such thing as teams: https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams

We could create teams for front-end, back-ends, static analyzer and all other components to quickly summon all potentially interested people.


-----Original Message-----
From: llvm-dev <llvm-dev...@lists.llvm.org> On Behalf Of Robinson, Paul via llvm-dev
Sent: Friday, October 25, 2019 9:35 PM
To: James Y Knight <jykn...@google.com>; 'llvm...@lists.llvm.org' <llvm...@lists.llvm.org>
Subject: Re: [llvm-dev] RFC: Switching from Bugzilla to Github Issues

> We do not want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
> - You can subscribe to notification emails for activity in the entire llvm-project repository.

Is that only new issues? Or all activity? If it's all activity on all issues, you're effectively auto-subscribing to all issues, and really nobody would want that. Well, maybe, like, 3 people.

> - You can subscribe to notification emails on an individual issue.
> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).
> - No emails will be sent to mailto:llvm...@llvm.org for github issues.
> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).

That last is really unfortunate. Someone only interested in (say) LLDB issues would have to subscribe to all notifications and hope that there are enough breadcrumbs in a new issue to be able to do accurate email filtering. It would be better to handle this in the bug tracker itself.
Last year Kristof Beyls and I did a BoF on bug handling, and my memory is that a nonzero number of people were willing to be auto-CC'd on particular topics but did not want to subscribe to llvm-bugs. This description of the github tracker means that would not be feasible, which is a step backwards.
I can anticipate a counter-argument which is that someone can easily search for bugs with particular tags. I claim that's not equivalent, because it requires action on the part of the person to go look for things, and that happens only when the person thinks of doing it. Computers should automate the tedious parts, like alerting the people who are interested in issues with a particular tag.

--paulr

Tom Stellard via llvm-dev

unread,
Oct 28, 2019, 12:09:57 PM10/28/19
to Sachkov, Alexey, Robinson, Paul, James Y Knight, llvm...@lists.llvm.org
On 10/26/2019 09:40 AM, Sachkov, Alexey via llvm-dev wrote:
>> Is that only new issues? Or all activity? If it's all activity on all issues, you're effectively auto-subscribing to all issues, and really nobody would want that. Well, maybe, like, 3 people.
>
> Looking at docs for notification: https://help.github.com/en/github/receiving-notifications-about-activity-on-github/about-notifications#types-of-notifications
>
> There are 4 levels:
> - ignore all notifications including @mention
> - notification on @mention or if participating (left a comment, owner of issue/PR)
> - notification on releases + previous item
> - get notification about *all* activity: every update in every issue/PR
>
> However, there is such thing as teams: https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams
>
> We could create teams for front-end, back-ends, static analyzer and all other components to quickly summon all potentially interested people.
>

With teams we can easily create a GitHub action to auto-subscribe all team
members when a new label is added to an issue, so I think using teams is
a good option.

-Tom

Tom Stellard via llvm-dev

unread,
Oct 28, 2019, 5:52:36 PM10/28/19
to James Y Knight, llvm-dev
On 10/24/2019 07:54 PM, James Y Knight via llvm-dev wrote:
> We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.
>
> Most of the ideas here were from other people. I /believe/ this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.

>
>
> Background
> ----
> Our bugzilla installation is...not great. It's been not-great for a long time now.
>
> Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org <http://bugzilla.mozilla.org>'s fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.
>
> This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.

>
> GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
>
>
> Proposal
> ----
> We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
>

I think we need a gap between when we turn on issues and when we tell people to
start using it, so that we can get some kind of notification system in place.
I think this may also address some concerns people have had with this proposal.

What about if we turn issues on in 1 week and then only start telling people
to use it for new bugs once we have a decent notification system working?

> Some things we'd like to get in place before turning on Github's Issue tracker:
> 1. Updated documentation.
> 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.

Here are my suggestions for the minimal set of tags:

+ 1 per LLVM backend
+ 1 per top-level directory in https://github.com/llvm/llvm-project

I think if we start here we can create more specialized tags as
GitHub issues gets more traffic and we have more experience using it.

-Tom

> 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
>

> But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
>
> We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
>
> We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:


> - You can subscribe to notification emails for activity in the entire llvm-project repository.
> - You can subscribe to notification emails on an individual issue.
> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).

> - No emails will be sent to llvm...@llvm.org <mailto:llvm...@llvm.org> for github issues.


> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).
>
> Further steps
> ----
> After we migrate, there's still things we want to do:
>
> 1. Discuss and setup new and better procedures around bug triage and prioritization.
>
> What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triage, https://forge.rust-lang.org/release/triage-procedure.html#issue-triage).
>
> 2. Bug migration
>

> /After/ the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.
>
> Possibility 1: Migrate /all/ the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.


>
> Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.
>

> In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would /preserve/ the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.

Anton Korobeynikov via llvm-dev

unread,
Oct 28, 2019, 7:11:22 PM10/28/19
to Tom Stellard, llvm-dev
> Here are my suggestions for the minimal set of tags:
>
> + 1 per LLVM backend
> + 1 per top-level directory in https://github.com/llvm/llvm-project
>
> I think if we start here we can create more specialized tags as
> GitHub issues gets more traffic and we have more experience using it.
The google doc I created contains the slightly cleaned list of current
components. It could be used as a good starting point for defining a
list of tags.

--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University

James Henderson via llvm-dev

unread,
Oct 29, 2019, 7:25:40 AM10/29/19
to Anton Korobeynikov, llvm-dev
+1 to using Anton's list as a starting point. I think the top-level directories llvm-project + backends are not really fine-grained enough for some areas. For example, the code related to the various LLVM binary utilities like llvm-readobj/llvm-objcopy/llvm-symbolizer etc is all contained within llvm/tools, and wouldn't have their own tag, or even one closely related ("llvm" would be the tag they'd come under, which is... less than useful). Separate tags for each tool (possibly with some shared ones for tools which are broadly aliases like llvm-objcopy/llvm-strip and llvm-readelf/llvm-readobj etc) would certainly help me. Bugzilla already has most of these.

Tom Stellard via llvm-dev

unread,
Oct 29, 2019, 10:31:31 AM10/29/19
to jh737...@my.bristol.ac.uk, Anton Korobeynikov, llvm-dev
On 10/29/2019 04:25 AM, James Henderson wrote:
> +1 to using Anton's list as a starting point. I think the top-level directories llvm-project + backends are not really fine-grained enough for some areas. For example, the code related to the various LLVM binary utilities like llvm-readobj/llvm-objcopy/llvm-symbolizer etc is all contained within llvm/tools, and wouldn't have their own tag, or even one closely related ("llvm" would be the tag they'd come under, which is... less than useful). Separate tags for each tool (possibly with some shared ones for tools which are broadly aliases like llvm-objcopy/llvm-strip and llvm-readelf/llvm-readobj etc) would certainly help me. Bugzilla already has most of these.
>

I agree with you that my list is not fine-grained enough. I just think it would
be better to add tags as we go rather than copying the current list from bugzilla
and have a lot of tags that we don't need. However, if you think having tags
for the tools would be useful, I would be fine with adding those initially.
Can you write a list of all the specific tags you would like.

-Tom

> On Mon, 28 Oct 2019 at 23:11, Anton Korobeynikov via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>
> > Here are my suggestions for the minimal set of tags:
> >
> > + 1 per LLVM backend
> > + 1 per top-level directory in https://github.com/llvm/llvm-project
> >
> > I think if we start here we can create more specialized tags as
> > GitHub issues gets more traffic and we have more experience using it.
> The google doc I created contains the slightly cleaned list of current
> components. It could be used as a good starting point for defining a
> list of tags.
>
> --
> With best regards, Anton Korobeynikov
> Department of Statistical Modelling, Saint Petersburg State University
> _______________________________________________
> LLVM Developers mailing list

> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

James Henderson via llvm-dev

unread,
Oct 29, 2019, 11:14:44 AM10/29/19
to Tom Stellard, llvm-dev
The ones I'd be specifically interested in are:

llvm-ar/llvm-ranlib/... (+ any other aliases, probably just called llvm-ar for simplicity)
llvm-addr2line/llvm-symbolizer
llvm-cxxfilt
llvm-dwarfdump
llvm-nm
llvm-objcopy/strip
llvm-objdump
llvm-readobj/readelf
llvm-size
llvm-strings
yaml2obj
FileCheck

(FileCheck and yaml2obj I don't believe have existing equivalents in bugzilla, but would be/would have been useful to me).

I imagine it would make sense for others like llvm-mca, llvm-lit, etc to exist too, but I haven't had a need to file or work on bugs in those areas as far as I remember.

Tom Stellard via llvm-dev

unread,
Jan 30, 2020, 1:22:03 PM1/30/20
to James Y Knight, llvm-dev, cfe-dev, LLDB Dev
On 10/24/2019 07:54 PM, James Y Knight via llvm-dev wrote:
> We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.
>
> Most of the ideas here were from other people. I /believe/ this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.
>
>

Hi,

I want to restart this discussion. There seemed to be support for this,
but we got held up trying to decide on the appropriate set of tags to
use to classify issues.

I propose that we move forward with this proposal and disable creation of
new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
issues from that date forward.

I think that for choosing the tags to use, we should just take requests
from the community over the next week and add whatever is asked for. The main
purpose of adding tags is so we can setup cc lists for bugs, so I think this
is a good way to ensure that we have tags people care about. We can always
add more tags later if necessary.

What does everyone think about this?

-Tom


> Background
> ----
> Our bugzilla installation is...not great. It's been not-great for a long time now.
>

> Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org <http://bugzilla.mozilla.org>'s fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.
>
> This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.


>
> GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
>
>
> Proposal
> ----
> We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
>
> Some things we'd like to get in place before turning on Github's Issue tracker:
> 1. Updated documentation.
> 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
> 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
>

> But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
>
> We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
>
> We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:


> - You can subscribe to notification emails for activity in the entire llvm-project repository.
> - You can subscribe to notification emails on an individual issue.
> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).

> - No emails will be sent to llvm...@llvm.org <mailto:llvm...@llvm.org> for github issues.


> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).
>
> Further steps
> ----
> After we migrate, there's still things we want to do:
>
> 1. Discuss and setup new and better procedures around bug triage and prioritization.
>
> What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triage, https://forge.rust-lang.org/release/triage-procedure.html#issue-triage).
>
> 2. Bug migration
>

> /After/ the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.
>
> Possibility 1: Migrate /all/ the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.


>
> Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.
>

> In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would /preserve/ the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.


>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm...@lists.llvm.org

> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>

_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org

https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Aaron Ballman via llvm-dev

unread,
Jan 30, 2020, 1:25:10 PM1/30/20
to tste...@redhat.com, llvm-dev, LLDB Dev, cfe-dev
On Thu, Jan 30, 2020 at 1:21 PM Tom Stellard via cfe-dev
<cfe...@lists.llvm.org> wrote:
>
> On 10/24/2019 07:54 PM, James Y Knight via llvm-dev wrote:
> > We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.
> >
> > Most of the ideas here were from other people. I /believe/ this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.
> >
> >
>
> Hi,
>
> I want to restart this discussion. There seemed to be support for this,
> but we got held up trying to decide on the appropriate set of tags to
> use to classify issues.
>
> I propose that we move forward with this proposal and disable creation of
> new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
> issues from that date forward.
>
> I think that for choosing the tags to use, we should just take requests
> from the community over the next week and add whatever is asked for. The main
> purpose of adding tags is so we can setup cc lists for bugs, so I think this
> is a good way to ensure that we have tags people care about. We can always
> add more tags later if necessary.
>
> What does everyone think about this?

What did we decide to do with all the existing issues in Bugzilla?

~Aaron

> cfe-dev mailing list
> cfe...@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

Tom Stellard via llvm-dev

unread,
Jan 30, 2020, 1:32:16 PM1/30/20
to Aaron Ballman, llvm-dev, LLDB Dev, cfe-dev
On 01/30/2020 10:24 AM, Aaron Ballman wrote:
> On Thu, Jan 30, 2020 at 1:21 PM Tom Stellard via cfe-dev
> <cfe...@lists.llvm.org> wrote:
>>
>> On 10/24/2019 07:54 PM, James Y Knight via llvm-dev wrote:
>>> We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.
>>>
>>> Most of the ideas here were from other people. I /believe/ this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.
>>>
>>>
>>
>> Hi,
>>
>> I want to restart this discussion. There seemed to be support for this,
>> but we got held up trying to decide on the appropriate set of tags to
>> use to classify issues.
>>
>> I propose that we move forward with this proposal and disable creation of
>> new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
>> issues from that date forward.
>>
>> I think that for choosing the tags to use, we should just take requests
>> from the community over the next week and add whatever is asked for. The main
>> purpose of adding tags is so we can setup cc lists for bugs, so I think this
>> is a good way to ensure that we have tags people care about. We can always
>> add more tags later if necessary.
>>
>> What does everyone think about this?
>
> What did we decide to do with all the existing issues in Bugzilla?
>

This is undecided. The first step of this proposal only affects new issues.
Existing issues will remain in bugzilla and will be updated there too. At
some point in the future bugzilla will become read-only and/or the issues will
be migrated somewhere else, but no decision has been made about how to do that yet.

-Tom

Aaron Ballman via llvm-dev

unread,
Jan 30, 2020, 1:35:26 PM1/30/20
to tste...@redhat.com, llvm-dev, LLDB Dev, cfe-dev
My concern about switching is that I will now need to use two issue trackers instead of one when doing things like searching for related bugs.

~Aaron

Mehdi AMINI via llvm-dev

unread,
Jan 30, 2020, 1:49:14 PM1/30/20
to tste...@redhat.com, llvm-dev, LLDB Dev, cfe-dev
Hi,




On Thu, Jan 30, 2020 at 10:21 AM Tom Stellard via cfe-dev <cfe...@lists.llvm.org> wrote:
On 10/24/2019 07:54 PM, James Y Knight via llvm-dev wrote:
> We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.
>
> Most of the ideas here were from other people. I /believe/ this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.
>
>

Hi,

I want to restart this discussion.  There seemed to be support for this,
but we got held up trying to decide on the appropriate set of tags to
use to classify issues.

I propose that we move forward with this proposal and disable creation of
new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
issues from that date forward.

I think that for choosing the tags to use, we should just take requests
from the community over the next week and add whatever is asked for.  The main
purpose of adding tags is so we can setup cc lists for bugs, so I think this
is a good way to ensure that we have tags people care about.  We can always
add more tags later if necessary.

Do we have a way for individuals to get individually automatically subscribed on all the bugs created for a given tag?
Mailing-lists seem fairly rigid in terms of granularity with respect to tags.

-- 
Mehdi



 

Tom Stellard via llvm-dev

unread,
Jan 30, 2020, 2:07:31 PM1/30/20
to Mehdi AMINI, llvm-dev, LLDB Dev, cfe-dev
On 01/30/2020 10:48 AM, Mehdi AMINI wrote:
> Hi,
>
>
>
>
> On Thu, Jan 30, 2020 at 10:21 AM Tom Stellard via cfe-dev <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>> wrote:
>
> On 10/24/2019 07:54 PM, James Y Knight via llvm-dev wrote:
> > We held a round-table at the llvm dev conference about what other pieces of Github infrastructure we may want to use. This thread in particular is about switching to github issue tracking. Use of other parts of Github functionality was also discussed -- but that should be for other email threads.
> >
> > Most of the ideas here were from other people. I /believe/ this proposal represents the overall feeling of the folks at the round-table, in spirit if not in exact details, but nobody else has reviewed this text, so I can't make any specific such claim as to who the "we" represents, other than myself. Just assume all the good ideas here were from others, and all the bad parts I misremembered or invented.
> >
> >
>
> Hi,
>
> I want to restart this discussion. There seemed to be support for this,
> but we got held up trying to decide on the appropriate set of tags to
> use to classify issues.
>
> I propose that we move forward with this proposal and disable creation of
> new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
> issues from that date forward.
>
> I think that for choosing the tags to use, we should just take requests
> from the community over the next week and add whatever is asked for. The main
> purpose of adding tags is so we can setup cc lists for bugs, so I think this
> is a good way to ensure that we have tags people care about. We can always
> add more tags later if necessary.
>
>
> Do we have a way for individuals to get individually automatically subscribed on all the bugs created for a given tag?
> Mailing-lists seem fairly rigid in terms of granularity with respect to tags.
>

When I said cc lists, I really meant auto-subscribe lists, I didn't mean
that we would start sending issue emails to mailing lists.

From what I can tell, there are a couple different ways to auto-subscribe
people using github actions. I think the most simple would be to use
the assignee field, but I think it's also possible by @ mentioning people
directly in a comment or @ mentioning teams.

I was planning to experiment more with this over the next few days.

-Tom

> --
> Mehdi
>
>
>
>
>
>
> What does everyone think about this?
>
> -Tom
>
>
> > Background
> > ----
> > Our bugzilla installation is...not great. It's been not-great for a long time now.
> >

> > Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org <http://bugzilla.mozilla.org> <http://bugzilla.mozilla.org>'s fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.


> >
> > This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.
> >
> > GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
> >
> >
> > Proposal
> > ----
> > We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
> >
> > Some things we'd like to get in place before turning on Github's Issue tracker:
> > 1. Updated documentation.
> > 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
> > 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
> >
> > But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
> >
> > We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
> >
> > We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
> > - You can subscribe to notification emails for activity in the entire llvm-project repository.
> > - You can subscribe to notification emails on an individual issue.
> > - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).

> > - No emails will be sent to llvm...@llvm.org <mailto:llvm...@llvm.org> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org>> for github issues.


> > - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).
> >
> > Further steps
> > ----
> > After we migrate, there's still things we want to do:
> >
> > 1. Discuss and setup new and better procedures around bug triage and prioritization.
> >
> > What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triage, https://forge.rust-lang.org/release/triage-procedure.html#issue-triage).
> >
> > 2. Bug migration
> >
> > /After/ the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.
> >
> > Possibility 1: Migrate /all/ the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.
> >
> > Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.
> >
> > In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would /preserve/ the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.
> >
> >
> >
> > _______________________________________________
> > LLVM Developers mailing list

> > llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>


> > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> >
>
> _______________________________________________
> cfe-dev mailing list

> cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

Sean McBride via llvm-dev

unread,
Jan 30, 2020, 2:25:59 PM1/30/20
to Aaron Ballman, Aaron Ballman via cfe-dev, tste...@redhat.com, llvm-dev, LLDB Dev
On Thu, 30 Jan 2020 13:24:10 -0500, Aaron Ballman via cfe-dev said:

>> What does everyone think about this?
>
>What did we decide to do with all the existing issues in Bugzilla?

Will you be able to start numbering in github at a number larger than the largest bug in bugzilla? It would be annoying to have overlapping bug numbers. Bug numbers exist in code comments, list archives, etc., etc. If someone reads 'clang bug #1234' somewhere it will be ambiguous, which would be a real shame.

Sean

Jacob Lifshay via llvm-dev

unread,
Jan 30, 2020, 2:30:18 PM1/30/20
to tste...@redhat.com, llvm-dev, LLDB Dev, cfe-dev
On Thu, Jan 30, 2020, 10:22 Tom Stellard via llvm-dev <llvm...@lists.llvm.org> wrote:
Hi,

I want to restart this discussion.  There seemed to be support for this,
but we got held up trying to decide on the appropriate set of tags to
use to classify issues.

I propose that we move forward with this proposal and disable creation of
new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
issues from that date forward.

I think that for choosing the tags to use, we should just take requests
from the community over the next week and add whatever is asked for.  The main
purpose of adding tags is so we can setup cc lists for bugs, so I think this
is a good way to ensure that we have tags people care about.  We can always
add more tags later if necessary.

What does everyone think about this?

Before disabling Bugzilla, I think there should be a way for those who don't have/want github accounts to create/comment-on bug reports (maybe a mailing list with a thread per bug?). Once that's done, I'm all for switching to github.

Jacob

David Major via llvm-dev

unread,
Jan 30, 2020, 3:48:58 PM1/30/20
to tste...@redhat.com, llvm-dev, cfe-dev, LLDB Dev
Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?


Anton Korobeynikov via llvm-dev

unread,
Jan 30, 2020, 4:53:07 PM1/30/20
to Mehdi AMINI, llvm-dev, LLDB Dev, cfe-dev
> Do we have a way for individuals to get individually automatically subscribed on all the bugs created for a given tag?
> Mailing-lists seem fairly rigid in terms of granularity with respect to tags.
No, all notifications are essentially all-or-nothing thing. Github
folks knows about this issue and planned to work on them, but there
was no ETA on this.
--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University
  

Anton Korobeynikov via llvm-dev

unread,
Jan 30, 2020, 4:56:19 PM1/30/20
to Sean McBride, llvm-dev, LLDB Dev, Aaron Ballman via cfe-dev
> Will you be able to start numbering in github at a number larger than the largest bug in bugzilla? It would be annoying to have overlapping bug numbers. Bug numbers exist in code comments, list archives, etc., etc. If someone reads 'clang bug #1234' somewhere it will be ambiguous, which would be a real shame.
This won't work in general, unfortunately as there are already a bunch
of PRs and issues opened... And github uses consecutive numbering for
all PRs, issues and such... So, there is already overlap here.
--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University
  

Anton Korobeynikov via llvm-dev

unread,
Jan 30, 2020, 5:04:56 PM1/30/20
to David Major, llvm-dev, LLDB Dev, cfe-dev
I tend to support this – after 10.0.0 seems like a proper timeline.
And we already have some set of tags from bugzilla, so we could simply add them.
On Thu, Jan 30, 2020 at 8:49 PM David Major via llvm-dev
wrote:

>
> Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?
>
>
>
> On Thu, Jan 30, 2020 at 1:32 PM Tom Stellard via llvm-dev wrote:
>>
>> On 01/30/2020 10:24 AM, Aaron Ballman wrote:
>> > On Thu, Jan 30, 2020 at 1:21 PM Tom Stellard via cfe-dev
>> >>> Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org 's fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.

>> >>>
>> >>> This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.
>> >>>
>> >>> GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
>> >>>
>> >>>
>> >>> Proposal
>> >>> ----
>> >>> We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
>> >>>
>> >>> Some things we'd like to get in place before turning on Github's Issue tracker:
>> >>> 1. Updated documentation.
>> >>> 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
>> >>> 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
>> >>>
>> >>> But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
>> >>>
>> >>> We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
>> >>>
>> >>> We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
>> >>> - You can subscribe to notification emails for activity in the entire llvm-project repository.
>> >>> - You can subscribe to notification emails on an individual issue.
>> >>> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).
>> >>> - No emails will be sent to llvm...@llvm.org for github issues.
--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University
  

James Henderson via llvm-dev

unread,
Jan 31, 2020, 4:21:46 AM1/31/20
to Tom Stellard, llvm-dev, cfe-dev, LLDB Dev
My only concern is the ability to get auto-subscribed onto issues for specific tools (i.e. the setup I currently have). If that can be resolved in a satisfactory manner, then I'm all for this (although less than two weeks seems like a rather ambitious time to switch over...). If it can't, then I'd be opposed to switching at all.

Tom Stellard via llvm-dev

unread,
Jan 31, 2020, 1:00:21 PM1/31/20
to jh737...@my.bristol.ac.uk, llvm-dev, cfe-dev, LLDB Dev
On 01/31/2020 01:21 AM, James Henderson wrote:
> My only concern is the ability to get auto-subscribed onto issues for specific tools (i.e. the setup I currently have). If that can be resolved in a satisfactory manner, then I'm all for this (although less than two weeks seems like a rather ambitious time to switch over...). If it can't, then I'd be opposed to switching at all.
>

Would you be able to help me test some potential solutions for this?

-Tom

> > > Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org <http://bugzilla.mozilla.org> <http://bugzilla.mozilla.org> <http://bugzilla.mozilla.org>'s fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.


> > >
> > > This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.
> > >
> > > GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
> > >
> > >
> > > Proposal
> > > ----
> > > We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
> > >
> > > Some things we'd like to get in place before turning on Github's Issue tracker:
> > > 1. Updated documentation.
> > > 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
> > > 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
> > >
> > > But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
> > >
> > > We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
> > >
> > > We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
> > > - You can subscribe to notification emails for activity in the entire llvm-project repository.
> > > - You can subscribe to notification emails on an individual issue.
> > > - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).

> > > - No emails will be sent to llvm...@llvm.org <mailto:llvm...@llvm.org> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org>> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org>>> for github issues.


> > > - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).
> > >
> > > Further steps
> > > ----
> > > After we migrate, there's still things we want to do:
> > >
> > > 1. Discuss and setup new and better procedures around bug triage and prioritization.
> > >
> > > What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triage, https://forge.rust-lang.org/release/triage-procedure.html#issue-triage).
> > >
> > > 2. Bug migration
> > >
> > > /After/ the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.
> > >
> > > Possibility 1: Migrate /all/ the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.
> > >
> > > Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.
> > >
> > > In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would /preserve/ the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.
> > >
> > >
> > >
> > > _______________________________________________
> > > LLVM Developers mailing list

> > > llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org> <mailto:llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>>


> > > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> > >
> >
> > _______________________________________________
> > cfe-dev mailing list

> > cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org> <mailto:cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>


> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> >
>
> _______________________________________________
> LLVM Developers mailing list

_______________________________________________

Fangrui Song via llvm-dev

unread,
Jan 31, 2020, 9:13:01 PM1/31/20
to Tom Stellard via llvm-dev, cfe-dev, LLDB Dev
On 2020-01-31, Tom Stellard via llvm-dev wrote:
>On 01/31/2020 01:21 AM, James Henderson wrote:
>> My only concern is the ability to get auto-subscribed onto issues for specific tools (i.e. the setup I currently have). If that can be resolved in a satisfactory manner, then I'm all for this (although less than two weeks seems like a rather ambitious time to switch over...). If it can't, then I'd be opposed to switching at all.
>>
>
>Would you be able to help me test some potential solutions for this?

My feeling is similar to James'.

+1 if auto subscription is available (similar to Herald rules).
-1 if it isn't.

And I guess contributors may need to change the notification setting from "Watching" to "Not watching",
to avoid issue spam.


Tom, I'd like to be a tester.

Fangrui Song via llvm-dev

unread,
Jan 31, 2020, 9:17:12 PM1/31/20
to Anton Korobeynikov via cfe-dev, llvm-dev, Sean McBride, LLDB Dev
On 2020-01-30, Anton Korobeynikov via cfe-dev wrote:
>> Will you be able to start numbering in github at a number larger than the largest bug in bugzilla? It would be annoying to have overlapping bug numbers. Bug numbers exist in code comments, list archives, etc., etc. If someone reads 'clang bug #1234' somewhere it will be ambiguous, which would be a real shame.
>This won't work in general, unfortunately as there are already a bunch
>of PRs and issues opened... And github uses consecutive numbering for
>all PRs, issues and such... So, there is already overlap here.

It'd be nice if Github allows to bump the issue counter to 44000+ .
(current largest https://bugs.llvm.org/show_bug.cgi?id= id is 44000+)

Then the website can set up a redirector:

http://llvm.org/PR1 => https://bugs.llvm.org/show_bug.cgi?id=1
...
http://llvm.org/PR44000 => https://bugs.llvm.org/show_bug.cgi?id=44000
...
http://llvm.org/PR45000 => https://github.com/llvm/llvm-project/issue/45000
http://llvm.org/PR50000 => https://github.com/llvm/llvm-project/issue/50000

Anton Korobeynikov via llvm-dev

unread,
Feb 1, 2020, 10:10:31 AM2/1/20
to Fangrui Song, llvm-dev, Anton Korobeynikov via cfe-dev, Sean McBride, LLDB Dev
Good idea. Let me ask for this.

--

With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University

James Henderson via llvm-dev

unread,
Feb 3, 2020, 6:04:42 AM2/3/20
to Fangrui Song, Tom Stellard via llvm-dev, cfe-dev, LLDB Dev
I'm happy to test things out, as long as it's not too much of a time sink (I have a lot on my plate at the moment, so something that takes more than the odd few minutes here and there may not be feasible).

Michael Kruse via llvm-dev

unread,
Feb 3, 2020, 12:01:03 PM2/3/20
to Jacob Lifshay, llvm-dev, LLDB Dev, cfe-dev
Am Do., 30. Jan. 2020 um 13:29 Uhr schrieb Jacob Lifshay via cfe-dev
<cfe...@lists.llvm.org>:

This adds a burden on everyone to observe two locations for bugs. By
comparison creating a GitHub account is simple. Even creating a
bugzilla account is more difficult.

Michael

Jacob Lifshay via llvm-dev

unread,
Feb 3, 2020, 12:12:18 PM2/3/20
to Michael Kruse, llvm-dev, LLDB Dev, cfe-dev
On Mon, Feb 3, 2020, 09:00 Michael Kruse <cfe...@meinersbur.de> wrote:
Am Do., 30. Jan. 2020 um 13:29 Uhr schrieb Jacob Lifshay via cfe-dev
<cfe...@lists.llvm.org>:
>
> On Thu, Jan 30, 2020, 10:22 Tom Stellard via llvm-dev <llvm...@lists.llvm.org> wrote:
>>
>> Hi,
>>
>> I want to restart this discussion.  There seemed to be support for this,
>> but we got held up trying to decide on the appropriate set of tags to
>> use to classify issues.
>>
>> I propose that we move forward with this proposal and disable creation of
>> new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
>> issues from that date forward.
>>
>> I think that for choosing the tags to use, we should just take requests
>> from the community over the next week and add whatever is asked for.  The main
>> purpose of adding tags is so we can setup cc lists for bugs, so I think this
>> is a good way to ensure that we have tags people care about.  We can always
>> add more tags later if necessary.
>>
>> What does everyone think about this?
>
>
> Before disabling Bugzilla, I think there should be a way for those who don't have/want github accounts to create/comment-on bug reports (maybe a mailing list with a thread per bug?). Once that's done, I'm all for switching to github.

This adds a burden on everyone to observe two locations for bugs. By
comparison creating a GitHub account is simple. Even creating a
bugzilla account is more difficult.

I think it should be relatively easy to automate using github's APIs.

The issue is not the ease of signing up for github, but that there are some people who specifically don't have or want GitHub accounts because they don't want to use proprietary software or were prevented by GitHub's rules (Iran or similar places, don't know that we would legally be able to post on GitHub on their behalf though).

I personally don't have either issue, but do know some people with the former issue who are using LLVM as part of their job.

Jacob

Luke Kenneth Casson Leighton via llvm-dev

unread,
Feb 3, 2020, 12:51:49 PM2/3/20
to Jacob Lifshay, llvm...@lists.llvm.org, Michael Kruse


On Monday, February 3, 2020, Jacob Lifshay <program...@gmail.com> wrote:


---------- Forwarded message ---------
From: Jacob Lifshay <program...@gmail.com>
Date: Mon, Feb 3, 2020, 09:11
Subject: Re: [cfe-dev] [llvm-dev] RFC: Switching from Bugzilla to Github Issues
To: Michael Kruse <cfe...@meinersbur.de>
Cc: Tom Stellard <tste...@redhat.com>, llvm-dev <llvm...@lists.llvm.org>, LLDB Dev <lldb...@lists.llvm.org>, cfe-dev <cfe...@lists.llvm.org>


On Mon, Feb 3, 2020, 09:00 Michael Kruse <cfe...@meinersbur.de> wrote:
Am Do., 30. Jan. 2020 um 13:29 Uhr schrieb Jacob Lifshay via cfe-dev
<cfe...@lists.llvm.org>:
>
> On Thu, Jan 30, 2020, 10:22 Tom Stellard via llvm-dev <llvm...@lists.llvm.org> wrote:
>>
>> Hi,
>>
>> I want to restart this discussion.  There seemed to be support for this,
>> but we got held up trying to decide on the appropriate set of tags to
>> use to classify issues.
>>
>> I propose that we move forward with this proposal and disable creation of
>> new bugs in bugzilla on Feb 11, and require all new bugs be filed via GitHub
>> issues from that date forward.

please don't.

as jacob says that will be yet another project that libre ethical developers plus individuals who have not received authorisation and are under explicit instructions never to register on social platforms plus iranian and other developers will be prevented and prohibited from interacting with llvm at a basic and fundamental level: bugreporting.

plus: do not be offended, i am deliberately raising the "thorny" perspective if you know what i mean (because almost without a doubt noone else will).

consider this: what kind of message does it send to developers wishing to contribute to a project if the admins are so... "incompetent" (strong word, you know what i mean) that they cannot self-host their own infrastructure, independent of corporate and other control?

the way i see it: as maintainers of high profile mission critical infrastructure for the entire planet's software we have a duty and a responsibility to be fully independent and impartial, with no corporate sponsors or services that may be pulled at any time and blackmail effectively deployed with zero warning.

what happens if the US decides that *yet another* country is to be added to their Trade and Sanctions War?

you really want to place the bugtracker and hosting at the mercy and political whim of not just a corporation but of one of the most irresponsible governments of the 21st century?

moo?

:)

food for thought.

l.



--
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

Tom Stellard via llvm-dev

unread,
Feb 10, 2020, 10:40:53 PM2/10/20
to David Major, llvm-dev, cfe-dev, LLDB Dev
On 01/30/2020 12:47 PM, David Major wrote:
> Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?
>

Yes, I think this makes sense, let's postpone until then.

-Tom

> >>> Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org <http://bugzilla.mozilla.org> <http://bugzilla.mozilla.org>'s fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.


> >>>
> >>> This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.
> >>>
> >>> GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
> >>>
> >>>
> >>> Proposal
> >>> ----
> >>> We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
> >>>
> >>> Some things we'd like to get in place before turning on Github's Issue tracker:
> >>> 1. Updated documentation.
> >>> 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
> >>> 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
> >>>
> >>> But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
> >>>
> >>> We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
> >>>
> >>> We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
> >>> - You can subscribe to notification emails for activity in the entire llvm-project repository.
> >>> - You can subscribe to notification emails on an individual issue.
> >>> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).

> >>> - No emails will be sent to llvm...@llvm.org <mailto:llvm...@llvm.org> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org>> for github issues.


> >>> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).
> >>>
> >>> Further steps
> >>> ----
> >>> After we migrate, there's still things we want to do:
> >>>
> >>> 1. Discuss and setup new and better procedures around bug triage and prioritization.
> >>>
> >>> What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triage, https://forge.rust-lang.org/release/triage-procedure.html#issue-triage).
> >>>
> >>> 2. Bug migration
> >>>
> >>> /After/ the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.
> >>>
> >>> Possibility 1: Migrate /all/ the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.
> >>>
> >>> Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.
> >>>
> >>> In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would /preserve/ the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> LLVM Developers mailing list

> >>> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>


> >>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> >>>
> >>
> >> _______________________________________________
> >> cfe-dev mailing list

> >> cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>


> >> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> >
>
> _______________________________________________
> LLVM Developers mailing list

> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Tom Stellard via llvm-dev

unread,
Mar 16, 2020, 10:44:57 AM3/16/20
to David Major, llvm-dev, cfe-dev, LLDB Dev
On 02/10/2020 07:40 PM, Tom Stellard wrote:
> On 01/30/2020 12:47 PM, David Major wrote:
>> Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?
>>
>
> Yes, I think this makes sense, let's postpone until then.
>

Hi,

10.0.0-rc4 was just released, and I think we are at the point in the release cycle
where it is safe to begin the migration to GitHub issues.

I would like to propose doing the migration in one week (March 23). This means
making the existing bugzilla read-only, and updating the documentation to tell users
to file issues at GitHub. We are still trying to figure out the best way to import bugs
from bugzilla into GitHub, so this step will be done at a later date.

For the initial list of tags, I propose we generate the list based on the most commonly
used categories in bugzilla. This should be enough to get us started and we can always
add more tags as we go.

I've also implemented a notification system using GitHub actions that will make
it possible to subscribe to individual issue tags, so we would enable this on Monday
as well.

What does everyone think?

Thanks,
Tom

Aaron Ballman via llvm-dev

unread,
Mar 16, 2020, 10:54:14 AM3/16/20
to tste...@redhat.com, llvm-dev, cfe-dev, LLDB Dev
On Mon, Mar 16, 2020 at 10:44 AM Tom Stellard via cfe-dev
<cfe...@lists.llvm.org> wrote:
>
> On 02/10/2020 07:40 PM, Tom Stellard wrote:
> > On 01/30/2020 12:47 PM, David Major wrote:
> >> Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?
> >>
> >
> > Yes, I think this makes sense, let's postpone until then.
> >
>
> Hi,
>
> 10.0.0-rc4 was just released, and I think we are at the point in the release cycle
> where it is safe to begin the migration to GitHub issues.
>
> I would like to propose doing the migration in one week (March 23). This means
> making the existing bugzilla read-only, and updating the documentation to tell users
> to file issues at GitHub. We are still trying to figure out the best way to import bugs
> from bugzilla into GitHub, so this step will be done at a later date.
>
> For the initial list of tags, I propose we generate the list based on the most commonly
> used categories in bugzilla. This should be enough to get us started and we can always
> add more tags as we go.
>
> I've also implemented a notification system using GitHub actions that will make
> it possible to subscribe to individual issue tags, so we would enable this on Monday
> as well.
>
> What does everyone think?

I am uncomfortable switching to GitHub issues unless the initial
result is that we have ONE set of bugs to track (I do not want to have
to search and maintain separate bug lists). Moving bugs from Bugzilla
at an unspecified future time is a deal-breaker for me, so -1.

~Aaron

> cfe-dev mailing list


> cfe...@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org

https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Hubert Tong via llvm-dev

unread,
Mar 16, 2020, 11:01:04 AM3/16/20
to Aaron Ballman, llvm-dev, LLDB Dev, cfe-dev
On Mon, Mar 16, 2020 at 10:53 AM Aaron Ballman via cfe-dev <cfe...@lists.llvm.org> wrote:
On Mon, Mar 16, 2020 at 10:44 AM Tom Stellard via cfe-dev
> Hi,
>
> 10.0.0-rc4 was just released, and I think we are at the point in the release cycle
> where it is safe to begin the migration to GitHub issues.
>
> I would like to propose doing the migration in one week (March 23).  This means
> making the existing bugzilla read-only, and updating the documentation to tell users
> to file issues at GitHub.  We are still trying to figure out the best way to import bugs
> from bugzilla into GitHub, so this step will be done at a later date.
>
> For the initial list of tags, I propose we generate the list based on the most commonly
> used categories in bugzilla.  This should be enough to get us started and we can always
> add more tags as we go.
>
> I've also implemented a notification system using GitHub actions that will make
> it possible to subscribe to individual issue tags, so we would enable this on Monday
> as well.
>
> What does everyone think?

I am uncomfortable switching to GitHub issues unless the initial
result is that we have ONE set of bugs to track (I do not want to have
to search and maintain separate bug lists). Moving bugs from Bugzilla
at an unspecified future time is a deal-breaker for me, so -1.
Further to Aaron's point, do we have a recommended conventions (e.g., llvm/llvm-project#1 or something less verbose) for referring to issues on GitHub (from code, from commit messages, from other bug reports, etc.) in a manner that is unambiguous with the convention used to refer to Bugzilla bugs? Have we documented said conventions in the appropriate places? In particular, we should discourage use of conventions where Bugzilla bugs result in links to non-corresponding GitHub issues.
 

~Aaron

James Henderson via llvm-dev

unread,
Mar 16, 2020, 11:01:41 AM3/16/20
to Tom Stellard, llvm-dev, cfe-dev, LLDB Dev
On Mon, 16 Mar 2020 at 14:44, Tom Stellard via cfe-dev <cfe...@lists.llvm.org> wrote:
On 02/10/2020 07:40 PM, Tom Stellard wrote:
> On 01/30/2020 12:47 PM, David Major wrote:
>> Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?
>>
>
> Yes, I think this makes sense, let's postpone until then.
>

Hi,

10.0.0-rc4 was just released, and I think we are at the point in the release cycle
where it is safe to begin the migration to GitHub issues.

I would like to propose doing the migration in one week (March 23).  This means
making the existing bugzilla read-only, and updating the documentation to tell users
to file issues at GitHub.

Don't forget to update the URL used in crash messages to point at the right location.
 
We are still trying to figure out the best way to import bugs
from bugzilla into GitHub, so this step will be done at a later date.

Making bugzilla read-only seems like a bad idea until all existing issues have been migrated. What if people need to update an existing bug once the migration to using Github issues has happened before importing has also happened?
 

For the initial list of tags, I propose we generate the list based on the most commonly
used categories in bugzilla.  This should be enough to get us started and we can always
add more tags as we go.

I'd like this list to be fleshed out before migration is agreed. I'm concerned different people will have wildly different ideas of what "commonly used" might mean, which could in turn have an impact on the viability of this tag list.
 

Tom Stellard via llvm-dev

unread,
Mar 16, 2020, 11:11:23 AM3/16/20
to jh737...@my.bristol.ac.uk, llvm-dev, cfe-dev, LLDB Dev
On 03/16/2020 08:00 AM, James Henderson wrote:

>
>
> On Mon, 16 Mar 2020 at 14:44, Tom Stellard via cfe-dev <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>> wrote:
>
> On 02/10/2020 07:40 PM, Tom Stellard wrote:
> > On 01/30/2020 12:47 PM, David Major wrote:
> >> Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?
> >>
> >
> > Yes, I think this makes sense, let's postpone until then.
> >
>
> Hi,
>
> 10.0.0-rc4 was just released, and I think we are at the point in the release cycle
> where it is safe to begin the migration to GitHub issues.
>
> I would like to propose doing the migration in one week (March 23). This means
> making the existing bugzilla read-only, and updating the documentation to tell users
> to file issues at GitHub.
>
>
> Don't forget to update the URL used in crash messages to point at the right location.
>
>
> We are still trying to figure out the best way to import bugs
> from bugzilla into GitHub, so this step will be done at a later date.
>
>
> Making bugzilla read-only seems like a bad idea until all existing issues have been migrated. What if people need to update an existing bug once the migration to using Github issues has happened before importing has also happened?
>

This was a mistake on my part. The plan is to disable creation of new bugs in bugzilla and not
to make it read-only. If you look at the original RFC, it says GitHub issues
would be used for new issues, and existing issues will continue to be updated in bugzilla,
and this is what I'm proposing.

>
>
> For the initial list of tags, I propose we generate the list based on the most commonly
> used categories in bugzilla. This should be enough to get us started and we can always
> add more tags as we go.
>
>
> I'd like this list to be fleshed out before migration is agreed. I'm concerned different people will have wildly different ideas of what "commonly used" might mean, which could in turn have an impact on the viability of this tag list.
>

Most commonly used here means categories with the most bugs. So, this would be
based on raw bug counts and not just someone's opinion.

-Tom

> >> >>> Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org <http://bugzilla.mozilla.org> <http://bugzilla.mozilla.org> <http://bugzilla.mozilla.org>'s fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.


> >> >>>
> >> >>> This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.
> >> >>>
> >> >>> GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
> >> >>>
> >> >>>
> >> >>> Proposal
> >> >>> ----
> >> >>> We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
> >> >>>
> >> >>> Some things we'd like to get in place before turning on Github's Issue tracker:
> >> >>> 1. Updated documentation.
> >> >>> 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
> >> >>> 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
> >> >>>
> >> >>> But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
> >> >>>
> >> >>> We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
> >> >>>
> >> >>> We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
> >> >>> - You can subscribe to notification emails for activity in the entire llvm-project repository.
> >> >>> - You can subscribe to notification emails on an individual issue.
> >> >>> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).

> >> >>> - No emails will be sent to llvm...@llvm.org <mailto:llvm...@llvm.org> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org>> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org>>> for github issues.


> >> >>> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).
> >> >>>
> >> >>> Further steps
> >> >>> ----
> >> >>> After we migrate, there's still things we want to do:
> >> >>>
> >> >>> 1. Discuss and setup new and better procedures around bug triage and prioritization.
> >> >>>
> >> >>> What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triage, https://forge.rust-lang.org/release/triage-procedure.html#issue-triage).
> >> >>>
> >> >>> 2. Bug migration
> >> >>>
> >> >>> /After/ the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.
> >> >>>
> >> >>> Possibility 1: Migrate /all/ the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.
> >> >>>
> >> >>> Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.
> >> >>>
> >> >>> In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would /preserve/ the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.
> >> >>>
> >> >>>
> >> >>>
> >> >>> _______________________________________________
> >> >>> LLVM Developers mailing list

> >> >>> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org> <mailto:llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>>


> >> >>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> >> >>>
> >> >>
> >> >> _______________________________________________
> >> >> cfe-dev mailing list

> >> >> cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org> <mailto:cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>


> >> >> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> >> >
> >>
> >> _______________________________________________
> >> LLVM Developers mailing list

> >> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org> <mailto:llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>>

_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org

https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

David Chisnall via llvm-dev

unread,
Mar 16, 2020, 11:30:42 AM3/16/20
to llvm...@lists.llvm.org
On 16/03/2020 15:08, Tom Stellard via llvm-dev wrote:
> This was a mistake on my part. The plan is to disable creation of new bugs in bugzilla and not
> to make it read-only. If you look at the original RFC, it says GitHub issues
> would be used for new issues, and existing issues will continue to be updated in bugzilla,
> and this is what I'm proposing.

Does this mean that we're giving up on aligning Bugzilla PRs with GitHub
issue numbers? This won't be possible once people have created issues /
PRs on GitHub. It looks as if we have a hundred or so PRs / issues
already, so maybe it's too late to think about this...

David

Hubert Tong via llvm-dev

unread,
Mar 16, 2020, 11:39:45 AM3/16/20
to David Chisnall, llvm-dev
On Mon, Mar 16, 2020 at 11:30 AM David Chisnall via llvm-dev <llvm...@lists.llvm.org> wrote:
On 16/03/2020 15:08, Tom Stellard via llvm-dev wrote:
> This was a mistake on my part.  The plan is to disable creation of new bugs in bugzilla and not
> to make it read-only.  If you look at the original RFC, it says GitHub issues
> would be used for new issues, and existing issues will continue to be updated in bugzilla,
> and this is what I'm proposing.

Does this mean that we're giving up on aligning Bugzilla PRs with GitHub
issue numbers?  This won't be possible once people have created issues /
PRs on GitHub.  It looks as if we have a hundred or so PRs / issues
already, so maybe it's too late to think about this...
It is possible to set up a common "repository" for issues that is not tied to the specific code repositories (llvm-project, llvm-lnt, etc.).

James Henderson via llvm-dev

unread,
Mar 16, 2020, 11:41:58 AM3/16/20
to Tom Stellard, llvm-dev, cfe-dev, LLDB Dev
That's what I thought might be the case, and where I take issue with it. I've said this on several previous occasions - I think it makes sense for tags/bugzilla components etc. to exist for each individual executable, as well as the various libraries. Let's say I'm a user of a tool like llvm-size and I find a bug. If there wasn't a tag for llvm-size, I wouldn't know where to file it (and no, I don't think a catch-all "binutils" tag is useful - not every developer will know what counts as a "binutils" tag). At the time of writing there are exactly three bugs for llvm-size. That presumably isn't going to meet any threshold imposed, so this tag wouldn't be created, and I wouldn't know where to file my bug, so I probably would either guess (and quite likely get it wrong), or not add a tag, which means that developers who are focused on developing the binutils (and would therefore have subscribed to this tag) won't see the issue. I might even not file the bug at all.

Anton Korobeynikov via llvm-dev

unread,
Mar 16, 2020, 11:43:01 AM3/16/20
to David Chisnall, llvm-dev
> Does this mean that we're giving up on aligning Bugzilla PRs with GitHub
> issue numbers? This won't be possible once people have created issues /
> PRs on GitHub. It looks as if we have a hundred or so PRs / issues
> already, so maybe it's too late to think about this...
Unfortunately, the present GH API is very limited on this. We already
submitted a feature request, but there is neither ETA nor even any
information whether GitHub is willing to implement something that
would better suit our needs in migration.

--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University

James Y Knight via llvm-dev

unread,
Mar 16, 2020, 12:25:45 PM3/16/20
to jh737...@my.bristol.ac.uk, llvm-dev, LLDB Dev, cfe-dev
I think we ought to setup some sort of organized scheme for volunteers to do triage of incoming issues, to make sure they've got enough actionable info, and direct to the correct people as needed.

(This would actually be a really nice thing to have, regardless of which bugtracking system we have.)

James Y Knight via llvm-dev

unread,
Mar 16, 2020, 12:27:45 PM3/16/20
to Hubert Tong, llvm-dev
Yes, this is one option that has been discussed previously.

We can import bugs from bugzilla into a separate (initially empty) "imported bugs" repository, and then allow people to move bugs that are still active over to the LLVM repository (or maybe setup some automation to do that automatically as needed).

Note that when you move a bug between repositories in github, it automatically sets up a redirect from the old repository/bug# to the new repository/bug#.

Florian Hahn via llvm-dev

unread,
Mar 16, 2020, 1:14:05 PM3/16/20
to tste...@redhat.com, llvm-dev, cfe-dev, LLDB Dev
Hi,


On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org> wrote:

I've also implemented a notification system using GitHub actions that will make
it possible to subscribe to individual issue tags, so we would enable this on Monday
as well.

Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.

Cheers,
Florian

Roman Lebedev via llvm-dev

unread,
Mar 16, 2020, 1:19:17 PM3/16/20
to Florian Hahn, llvm-dev, LLDB Dev, cfe-dev
+1


> Cheers,
> Florian
Roman

> _______________________________________________
> cfe-dev mailing list
> cfe...@lists.llvm.org

> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org

https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Tom Stellard via llvm-dev

unread,
Mar 16, 2020, 11:07:42 PM3/16/20
to Florian Hahn, llvm-dev, cfe-dev, LLDB Dev
On 03/16/2020 10:13 AM, Florian Hahn wrote:
> Hi,
>
>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>>
>> I've also implemented a notification system using GitHub actions that will make
>> it possible to subscribe to individual issue tags, so we would enable this on Monday
>> as well.
>
> Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
>

Sending email to llvm-bugs was not planned. Can you use GitHub notifications instead?

-Tom

> Cheers,
> Florian

Roman Lebedev via llvm-dev

unread,
Mar 17, 2020, 2:10:35 AM3/17/20
to Tom Stellard, llvm-dev, cfe-dev, LLDB Dev
On Tue, Mar 17, 2020 at 6:07 AM Tom Stellard via cfe-dev
<cfe...@lists.llvm.org> wrote:
>
> On 03/16/2020 10:13 AM, Florian Hahn wrote:
> > Hi,
> >
> >> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
> >>
> >> I've also implemented a notification system using GitHub actions that will make
> >> it possible to subscribe to individual issue tags, so we would enable this on Monday
> >> as well.
> >
> > Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
> >
>
> Sending email to llvm-bugs was not planned. Can you use GitHub notifications instead?
How do i subscribe to only get notified about new issues, but not
about every new change
in every issue unless i have explicitly subscribed to the issue?

> -Tom
Roman

> > Cheers,
> > Florian


>
> _______________________________________________
> cfe-dev mailing list
> cfe...@lists.llvm.org

> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

James Henderson via llvm-dev

unread,
Mar 17, 2020, 5:12:14 AM3/17/20
to James Y Knight, llvm-dev, LLDB Dev, cfe-dev
Quite possibly. I am one of the current self-volunteered triagers on each of the GNU-equivalent LLVM binutils, and somebody who is therefore on the CC list for several bugzilla components with small numbers. I don't have the expertise to triage 95% of issues that come in elsewhere so me being in some kind of high-level bug triager group would simply not work (I don't have the time or desire to sift through other bugs). Similarly, do we expect the people in this proposed triager group to have sufficient knowledge about all parts of LLVM to redirect things appropriately? And how would they redirect things? They could assign an llvm-readelf issue to me or one of the other active maintainers in the corresponding area, for example, but that doesn't mean I'm going to do anything about it (I'll triage incoming bugs, but not necessarily fix most of them - I get paid to work with LLVM, so if there's no business need from my company's point of view, it's unlikely I'll ever look at it beyond the initial triage). That would therefore imply we need a component for the issue to be assigned to so that interested parties can fix it, people who are trying to find out whether something is a known issue can find it, etc.

I agree that each component should have its own group of triagers so that things don't fall into an unacknowledged black hole, but I think these need to be focused components on small areas. A clear breakdown to me is a component for each "project" where I define a project to be something that appears in Visual Studio as such, which in turn translates into each library and each executable (with some obvious exceptions where the library is used by only a single executable or similar such situation).

What is wrong with component tags that aren't necessarily used all that often?

Florian Hahn via llvm-dev

unread,
Mar 17, 2020, 6:11:59 AM3/17/20
to tste...@redhat.com, llvm-dev, cfe-dev

> On Mar 17, 2020, at 03:06, Tom Stellard <tste...@redhat.com> wrote:
>
> On 03/16/2020 10:13 AM, Florian Hahn wrote:
>> Hi,
>>
>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>>>
>>> I've also implemented a notification system using GitHub actions that will make
>>> it possible to subscribe to individual issue tags, so we would enable this on Monday
>>> as well.
>>
>> Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
>>
>
> Sending email to llvm-bugs was not planned. Can you use GitHub notifications instead?


I do not have much experience with Github issues, so there might be an easy way to get notifications for new issues only I am not aware of. If that’s possible I guess that would work too. But IMO it would be great if we could keep llvm-bugs alive and working for Github issues as well, to smoothen the transition and to ensure that no issues fall through the cracks. A side benefit of having the emails is that they are easy to view offline & on mobile/search/organize.

Is there any information available for the notification system you mentioned earlier? The default GitHub notifications for llvm-project seem extremely verbose: notification in Github UI for each new issue as well as each interaction on an issue/PR/commit. Assuming 100+ interactions per day on bugzilla, I think it will be very hard to keep up with the notifications.

I think it would help with the transition if we would have a document describing how to migrate common issue interactions, like
* how to get (email) notifications for a single issue (CC on bugzilla)
* how to get (email) notifications for new issues only (current llvm-bugs)
* how to get (email) notifications for a component/label

Tom Stellard via llvm-dev

unread,
Mar 17, 2020, 9:37:08 AM3/17/20
to Roman Lebedev, llvm-dev, cfe-dev, LLDB Dev
On 03/16/2020 11:09 PM, Roman Lebedev wrote:
> On Tue, Mar 17, 2020 at 6:07 AM Tom Stellard via cfe-dev
> <cfe...@lists.llvm.org> wrote:
>>
>> On 03/16/2020 10:13 AM, Florian Hahn wrote:
>>> Hi,
>>>
>>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>>>>
>>>> I've also implemented a notification system using GitHub actions that will make
>>>> it possible to subscribe to individual issue tags, so we would enable this on Monday
>>>> as well.
>>>
>>> Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
>>>
>>
>> Sending email to llvm-bugs was not planned. Can you use GitHub notifications instead?
> How do i subscribe to only get notified about new issues, but not
> about every new change
> in every issue unless i have explicitly subscribed to the issue?

Is there a way to do this with bugzilla?

-Tom

Roman Lebedev via llvm-dev

unread,
Mar 17, 2020, 9:41:37 AM3/17/20
to Tom Stellard, llvm-dev, cfe-dev, LLDB Dev
On Tue, Mar 17, 2020 at 4:35 PM Tom Stellard <tste...@redhat.com> wrote:
>
> On 03/16/2020 11:09 PM, Roman Lebedev wrote:
> > On Tue, Mar 17, 2020 at 6:07 AM Tom Stellard via cfe-dev
> > <cfe...@lists.llvm.org> wrote:
> >>
> >> On 03/16/2020 10:13 AM, Florian Hahn wrote:
> >>> Hi,
> >>>
> >>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
> >>>>
> >>>> I've also implemented a notification system using GitHub actions that will make
> >>>> it possible to subscribe to individual issue tags, so we would enable this on Monday
> >>>> as well.
> >>>
> >>> Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
> >>>
> >>
> >> Sending email to llvm-bugs was not planned. Can you use GitHub notifications instead?
> > How do i subscribe to only get notified about new issues, but not
> > about every new change
> > in every issue unless i have explicitly subscribed to the issue?
>
> Is there a way to do this with bugzilla?
That is the current behavior of llvm-bugs@ + manually subscribing to
the bugs of interest.

> -Tom
Roman

Tom Stellard via llvm-dev

unread,
Mar 17, 2020, 9:42:16 AM3/17/20
to Florian Hahn, llvm-dev, cfe-dev
On 03/17/2020 03:11 AM, Florian Hahn wrote:
>
>
>> On Mar 17, 2020, at 03:06, Tom Stellard <tste...@redhat.com> wrote:
>>
>> On 03/16/2020 10:13 AM, Florian Hahn wrote:
>>> Hi,
>>>
>>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>>>>
>>>> I've also implemented a notification system using GitHub actions that will make
>>>> it possible to subscribe to individual issue tags, so we would enable this on Monday
>>>> as well.
>>>
>>> Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
>>>
>>
>> Sending email to llvm-bugs was not planned. Can you use GitHub notifications instead?
>
>
> I do not have much experience with Github issues, so there might be an easy way to get notifications for new issues only I am not aware of. If that’s possible I guess that would work too. But IMO it would be great if we could keep llvm-bugs alive and working for Github issues as well, to smoothen the transition and to ensure that no issues fall through the cracks. A side benefit of having the emails is that they are easy to view offline & on mobile/search/organize.
>
> Is there any information available for the notification system you mentioned earlier? The default GitHub notifications for llvm-project seem extremely verbose: notification in Github UI for each new issue as well as each interaction on an issue/PR/commit. Assuming 100+ interactions per day on bugzilla, I think it will be very hard to keep up with the notifications.
>

The notification system I implemented works using GitHub teams and issue
labels. If you want to subscribe to a tag, you join a team and then that
team will get @mentioned when that tag is added to an issue. The mention
will subscribe you to the bug and notify you of future updates.

> I think it would help with the transition if we would have a document describing how to migrate common issue interactions, like
> * how to get (email) notifications for a single issue (CC on bugzilla)

Ok, I will work on this.

> * how to get (email) notifications for new issues only (current llvm-bugs)

Does llvm-bugs really only send notifications for new issues? It doesn't
look that way from the mail archives. e.g. http://lists.llvm.org/pipermail/llvm-bugs/2020-March/082017.html

-Tom

Tom Stellard via llvm-dev

unread,
Mar 17, 2020, 9:43:31 AM3/17/20
to Roman Lebedev, llvm-dev, cfe-dev, LLDB Dev
On 03/17/2020 06:39 AM, Roman Lebedev wrote:
> On Tue, Mar 17, 2020 at 4:35 PM Tom Stellard <tste...@redhat.com> wrote:
>>
>> On 03/16/2020 11:09 PM, Roman Lebedev wrote:
>>> On Tue, Mar 17, 2020 at 6:07 AM Tom Stellard via cfe-dev
>>> <cfe...@lists.llvm.org> wrote:
>>>>
>>>> On 03/16/2020 10:13 AM, Florian Hahn wrote:
>>>>> Hi,
>>>>>
>>>>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>>>>>>
>>>>>> I've also implemented a notification system using GitHub actions that will make
>>>>>> it possible to subscribe to individual issue tags, so we would enable this on Monday
>>>>>> as well.
>>>>>
>>>>> Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
>>>>>
>>>>
>>>> Sending email to llvm-bugs was not planned. Can you use GitHub notifications instead?
>>> How do i subscribe to only get notified about new issues, but not
>>> about every new change
>>> in every issue unless i have explicitly subscribed to the issue?
>>
>> Is there a way to do this with bugzilla?
> That is the current behavior of llvm-bugs@ + manually subscribing to
> the bugs of interest.
>

As I just mentioned in the other mail, looking at the llvm-bugs archive
it looks like there are more than just new bugs e.g.
http://lists.llvm.org/pipermail/llvm-bugs/2020-March/082017.html

-Tom

Robinson, Paul via llvm-dev

unread,
Mar 17, 2020, 9:49:54 AM3/17/20
to tste...@redhat.com, Roman Lebedev, llvm-dev, cfe-dev


> -----Original Message-----
> From: lldb-dev <lldb-dev...@lists.llvm.org> On Behalf Of Tom Stellard
> via lldb-dev
> Sent: Tuesday, March 17, 2020 9:42 AM
> To: Roman Lebedev <lebed...@gmail.com>
> Cc: llvm-dev <llvm...@lists.llvm.org>; cfe-dev <cfe...@lists.llvm.org>;
> Florian Hahn <floria...@apple.com>; LLDB Dev <lldb...@lists.llvm.org>
> Subject: Re: [lldb-dev] [cfe-dev] [llvm-dev] RFC: Switching from Bugzilla
> to Github Issues
>
> On 03/17/2020 06:39 AM, Roman Lebedev wrote:
> > On Tue, Mar 17, 2020 at 4:35 PM Tom Stellard <tste...@redhat.com>
> wrote:
> >>
> >> On 03/16/2020 11:09 PM, Roman Lebedev wrote:
> >>> On Tue, Mar 17, 2020 at 6:07 AM Tom Stellard via cfe-dev
> >>> <cfe...@lists.llvm.org> wrote:
> >>>>
> >>>> On 03/16/2020 10:13 AM, Florian Hahn wrote:
> >>>>> Hi,
> >>>>>
> >>>>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm-
> d...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
> >>>>>>
> >>>>>> I've also implemented a notification system using GitHub actions
> that will make
> >>>>>> it possible to subscribe to individual issue tags, so we would
> enable this on Monday
> >>>>>> as well.
> >>>>>
> >>>>> Does this include sending emails for new bugs to llvm-bugs like
> bugzilla does? I am not sure how many people use llvm-bugs, but at least
> for me it is how I keep up with new bug reports.
> >>>>>
> >>>>
> >>>> Sending email to llvm-bugs was not planned. Can you use GitHub
> notifications instead?
> >>> How do i subscribe to only get notified about new issues, but not
> >>> about every new change
> >>> in every issue unless i have explicitly subscribed to the issue?
> >>
> >> Is there a way to do this with bugzilla?
> > That is the current behavior of llvm-bugs@ + manually subscribing to
> > the bugs of interest.
> >
>
> As I just mentioned in the other mail, looking at the llvm-bugs archive
> it looks like there are more than just new bugs e.g.
> http://lists.llvm.org/pipermail/llvm-bugs/2020-March/082017.html

llvm-bugs is set to receive notifications on a status change (new bug,
resolved, reopened, like that) but not on every comment.
--paulr

>
> -Tom
>
> >> -Tom
> > Roman
> >
> >>>> -Tom
> >>> Roman
> >>>
> >>>>> Cheers,
> >>>>> Florian
> >>>>
> >>>> _______________________________________________
> >>>> cfe-dev mailing list
> >>>> cfe...@lists.llvm.org
> >>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> >>>
> >>
> >
>
> _______________________________________________
> lldb-dev mailing list
> lldb...@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Richard Smith via llvm-dev

unread,
Mar 20, 2020, 3:32:31 PM3/20/20
to Robinson, Paul, llvm-dev, cfe-dev
Please can we shut down one of the two systems for new bugs ASAP? We've already had an instance of someone filing the same bug using both systems, with two different fixes being committed by two different people at the same time...

Tom Stellard via llvm-dev

unread,
Mar 20, 2020, 3:47:21 PM3/20/20
to ric...@metafoo.co.uk, Robinson, Paul, llvm-dev, cfe-dev
On 03/20/2020 12:31 PM, Richard Smith wrote:
> Please can we shut down one of the two systems for new bugs ASAP? We've already had an instance of someone filing the same bug using both systems, with two different fixes being committed by two different people at the same time...
>

Sure, I just went ahead and updated the repo-lockdown app to auto-close
new issues, and this should go into effect within the next day.

This has been confusing for a lot of people, so I think it's best to
keep GitHub issues disabled until we are ready to switch, which will
hopefully be soon.

-Tom

> On Tue, 17 Mar 2020 at 06:49, Robinson, Paul via cfe-dev <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>> wrote:
>
>
>
> > -----Original Message-----
> > From: lldb-dev <lldb-dev...@lists.llvm.org <mailto:lldb-dev...@lists.llvm.org>> On Behalf Of Tom Stellard
> > via lldb-dev
> > Sent: Tuesday, March 17, 2020 9:42 AM
> > To: Roman Lebedev <lebed...@gmail.com <mailto:lebed...@gmail.com>>
> > Cc: llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>>; cfe-dev <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>;
> > Florian Hahn <floria...@apple.com <mailto:floria...@apple.com>>; LLDB Dev <lldb...@lists.llvm.org <mailto:lldb...@lists.llvm.org>>
> > Subject: Re: [lldb-dev] [cfe-dev] [llvm-dev] RFC: Switching from Bugzilla
> > to Github Issues
> >
> > On 03/17/2020 06:39 AM, Roman Lebedev wrote:

> > > On Tue, Mar 17, 2020 at 4:35 PM Tom Stellard <tste...@redhat.com <mailto:tste...@redhat.com>>


> > wrote:
> > >>
> > >> On 03/16/2020 11:09 PM, Roman Lebedev wrote:
> > >>> On Tue, Mar 17, 2020 at 6:07 AM Tom Stellard via cfe-dev
> > >>> <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>> wrote:
> > >>>>
> > >>>> On 03/16/2020 10:13 AM, Florian Hahn wrote:
> > >>>>> Hi,
> > >>>>>
> > >>>>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm-

> > >>>> cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>


> > >>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> > >>>
> > >>
> > >
> >
> > _______________________________________________
> > lldb-dev mailing list

> > lldb...@lists.llvm.org <mailto:lldb...@lists.llvm.org>


> > https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
> _______________________________________________
> cfe-dev mailing list

> cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

Mehdi AMINI via llvm-dev

unread,
Mar 20, 2020, 11:23:24 PM3/20/20
to Tom Stellard, llvm-dev, cfe-dev
On Fri, Mar 20, 2020 at 12:47 PM Tom Stellard via llvm-dev <llvm...@lists.llvm.org> wrote:
On 03/20/2020 12:31 PM, Richard Smith wrote:
> Please can we shut down one of the two systems for new bugs ASAP? We've already had an instance of someone filing the same bug using both systems, with two different fixes being committed by two different people at the same time...
>

Sure, I just went ahead and updated the repo-lockdown app to auto-close
new issues, and this should go into effect within the next day.

Contrary to pull-requests, issues can be just disabled from the config. Can we do this instead?
 
Thanks,

-- 
Mehdi

Tom Stellard via llvm-dev

unread,
Mar 21, 2020, 1:33:20 AM3/21/20
to Mehdi AMINI, llvm-dev, cfe-dev
On 03/20/2020 08:22 PM, Mehdi AMINI wrote:

>
>
> On Fri, Mar 20, 2020 at 12:47 PM Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>
> On 03/20/2020 12:31 PM, Richard Smith wrote:
> > Please can we shut down one of the two systems for new bugs ASAP? We've already had an instance of someone filing the same bug using both systems, with two different fixes being committed by two different people at the same time...
> >
>
> Sure, I just went ahead and updated the repo-lockdown app to auto-close
> new issues, and this should go into effect within the next day.
>
>
> Contrary to pull-requests, issues can be just disabled from the config. Can we do this instead?
>

Yes, thanks for reminding me about that.

-Tom

> Thanks,
>
> --
> Mehdi
>
>
> This has been confusing for a lot of people, so I think it's best to
> keep GitHub issues disabled until we are ready to switch, which will
> hopefully be soon.
>
> -Tom
>

> > On Tue, 17 Mar 2020 at 06:49, Robinson, Paul via cfe-dev <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org> <mailto:cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>> wrote:
> >
> >
> >
> > > -----Original Message-----
> > > From: lldb-dev <lldb-dev...@lists.llvm.org <mailto:lldb-dev...@lists.llvm.org> <mailto:lldb-dev...@lists.llvm.org <mailto:lldb-dev...@lists.llvm.org>>> On Behalf Of Tom Stellard
> > > via lldb-dev
> > > Sent: Tuesday, March 17, 2020 9:42 AM
> > > To: Roman Lebedev <lebed...@gmail.com <mailto:lebed...@gmail.com> <mailto:lebed...@gmail.com <mailto:lebed...@gmail.com>>>
> > > Cc: llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org> <mailto:llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>>>; cfe-dev <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org> <mailto:cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>>;
> > > Florian Hahn <floria...@apple.com <mailto:floria...@apple.com> <mailto:floria...@apple.com <mailto:floria...@apple.com>>>; LLDB Dev <lldb...@lists.llvm.org <mailto:lldb...@lists.llvm.org> <mailto:lldb...@lists.llvm.org <mailto:lldb...@lists.llvm.org>>>
> > > Subject: Re: [lldb-dev] [cfe-dev] [llvm-dev] RFC: Switching from Bugzilla
> > > to Github Issues
> > >
> > > On 03/17/2020 06:39 AM, Roman Lebedev wrote:

> > > > On Tue, Mar 17, 2020 at 4:35 PM Tom Stellard <tste...@redhat.com <mailto:tste...@redhat.com> <mailto:tste...@redhat.com <mailto:tste...@redhat.com>>>


> > > wrote:
> > > >>
> > > >> On 03/16/2020 11:09 PM, Roman Lebedev wrote:
> > > >>> On Tue, Mar 17, 2020 at 6:07 AM Tom Stellard via cfe-dev
> > > >>> <cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org> <mailto:cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>> wrote:
> > > >>>>
> > > >>>> On 03/16/2020 10:13 AM, Florian Hahn wrote:
> > > >>>>> Hi,
> > > >>>>>
> > > >>>>>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm-

> > > >>>> cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org> <mailto:cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>


> > > >>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> > > >>>
> > > >>
> > > >
> > >
> > > _______________________________________________
> > > lldb-dev mailing list

> > > lldb...@lists.llvm.org <mailto:lldb...@lists.llvm.org> <mailto:lldb...@lists.llvm.org <mailto:lldb...@lists.llvm.org>>


> > > https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
> > _______________________________________________
> > cfe-dev mailing list

> > cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org> <mailto:cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>>


> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> >
>
> _______________________________________________
> LLVM Developers mailing list

> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Tom Stellard via llvm-dev

unread,
Mar 25, 2020, 7:37:26 PM3/25/20
to Roman Lebedev, Florian Hahn, llvm-dev, cfe-dev, LLDB Dev
On 03/16/2020 10:18 AM, Roman Lebedev wrote:
> On Mon, Mar 16, 2020 at 8:13 PM Florian Hahn via cfe-dev
> <cfe...@lists.llvm.org> wrote:
>>
>> Hi,
>>
>> On Mar 16, 2020, at 14:43, Tom Stellard via llvm-dev <llvm...@lists.llvm.org> wrote:
>>
>> I've also implemented a notification system using GitHub actions that will make
>> it possible to subscribe to individual issue tags, so we would enable this on Monday
>> as well.
>>
>>
>> Does this include sending emails for new bugs to llvm-bugs like bugzilla does? I am not sure how many people use llvm-bugs, but at least for me it is how I keep up with new bug reports.
> +1
>

I have been looking into this over the last week and was able to get something
working that will email llvm-bugs when an issue is opened, closed, or reopened.
Here is an example email, let me know if there is anything else I should add:

<headers>
FROM: llvml...@llvm.org
Reply-To: llvm...@lists.llvm.org
Subject: [Issue 11] Another emailer test
</headers>

<body>
https://github.com/llvm/temp-issue-tester/issues/11

Title: Another emailer test
Reporter: tstellar
State: open


Test description.
</body>

-Tom

Tom Stellard via llvm-dev

unread,
Mar 25, 2020, 7:42:21 PM3/25/20
to Aaron Ballman, llvm-dev, cfe-dev, LLDB Dev
On 03/16/2020 07:53 AM, Aaron Ballman wrote:
> On Mon, Mar 16, 2020 at 10:44 AM Tom Stellard via cfe-dev

> <cfe...@lists.llvm.org> wrote:
>>
>> On 02/10/2020 07:40 PM, Tom Stellard wrote:
>>> On 01/30/2020 12:47 PM, David Major wrote:
>>>> Would it make sense to wait until 10.0.0 is released, in order to keep all the blockers in one place?
>>>>
>>>
>>> Yes, I think this makes sense, let's postpone until then.
>>>
>>
>> Hi,
>>
>> 10.0.0-rc4 was just released, and I think we are at the point in the release cycle
>> where it is safe to begin the migration to GitHub issues.
>>
>> I would like to propose doing the migration in one week (March 23). This means
>> making the existing bugzilla read-only, and updating the documentation to tell users
>> to file issues at GitHub. We are still trying to figure out the best way to import bugs

>> from bugzilla into GitHub, so this step will be done at a later date.
>>
>> For the initial list of tags, I propose we generate the list based on the most commonly
>> used categories in bugzilla. This should be enough to get us started and we can always
>> add more tags as we go.
>>
>> I've also implemented a notification system using GitHub actions that will make
>> it possible to subscribe to individual issue tags, so we would enable this on Monday
>> as well.
>>
>> What does everyone think?
>
> I am uncomfortable switching to GitHub issues unless the initial
> result is that we have ONE set of bugs to track (I do not want to have
> to search and maintain separate bug lists). Moving bugs from Bugzilla
> at an unspecified future time is a deal-breaker for me, so -1.

Is there anything we could do to make having active issues in both
trackers easier to deal with?

-Tom

>
> ~Aaron


>
>>
>> Thanks,
>> Tom
>>
>>
>>> -Tom
>>>
>>>>
>>>>
>>>> On Thu, Jan 30, 2020 at 1:32 PM Tom Stellard via llvm-dev <llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>> wrote:
>>>>
>>>> On 01/30/2020 10:24 AM, Aaron Ballman wrote:

>>>> > On Thu, Jan 30, 2020 at 1:21 PM Tom Stellard via cfe-dev

>>>> >>> Last year, I argued against switching to github issues. I was somewhat optimistic that it was possible to improve our bugzilla in some incremental ways...but we haven't. Additionally, the upstream bugzilla project was supposed to make a new release of bugzilla ("harmony"), based on bugzilla.mozilla.org <http://bugzilla.mozilla.org> <http://bugzilla.mozilla.org>'s fork, which is much nicer. I thought we would be able to upgrade to that. But there has been no such release, and not much apparent progress towards such. I can't say with any confidence that there will ever be. I no longer believe it really makes sense to continue using bugzilla.


>>>> >>>
>>>> >>> This year, we again discussed switching. This time, nobody really spoke up in opposition. So, this time, instead of debating /whether/ we should switch, we discussed /how/ we should switch. And came up with a plan to switch quickly.
>>>> >>>
>>>> >>> GitHub issues may not be perfect, but I see other similarly-large projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it should be good for us, as well. Importantly, Github Issues is significantly less user-hostile than our bugzilla is, for new contributors and downstream developers who just want to tell us about bugs!
>>>> >>>
>>>> >>>
>>>> >>> Proposal
>>>> >>> ----
>>>> >>> We propose to enable Github issues for the llvm-project repository in approximately two weeks from now, and instruct everyone to start filing new issues there, rather than in bugzilla.
>>>> >>>
>>>> >>> Some things we'd like to get in place before turning on Github's Issue tracker:
>>>> >>> 1. Updated documentation.
>>>> >>> 2. An initial set of issue tags we'd like to use for triaging/categorizing issues.
>>>> >>> 3. Maybe setup an initial issue template. Or maybe multiple templates. Or maybe not.
>>>> >>>
>>>> >>> But more important are the things we do /not/ want to make prerequisites for turning on Github issues:
>>>> >>>
>>>> >>> We do /not/ yet plan to turn off Bugzilla, and do /not/ plan to migrate the existing issues to GitHub as a prerequisite for switching. We will thus expect that people continue using bugzilla for commenting on the existing bugs -- for the moment.
>>>> >>>
>>>> >>> We do /not/ want to build supplementary notification systems to make github issues send additional emails that it is unable to send itself. We will only support what GitHub supports. That means:
>>>> >>> - You can subscribe to notification emails for activity in the entire llvm-project repository.
>>>> >>> - You can subscribe to notification emails on an individual issue.
>>>> >>> - Someone else can CC you on an individual issue to get your attention, and you will get notifications from that (unless you opt-out).

>>>> >>> - No emails will be sent to llvm...@llvm.org <mailto:llvm...@llvm.org> <mailto:llvm...@llvm.org <mailto:llvm...@llvm.org>> for github issues.


>>>> >>> - There is no builtin way for users to subscribe to emails for bugs that have a given label (for example, all "clang" issues, or all x86 issues).
>>>> >>>
>>>> >>> Further steps
>>>> >>> ----
>>>> >>> After we migrate, there's still things we want to do:
>>>> >>>
>>>> >>> 1. Discuss and setup new and better procedures around bug triage and prioritization.
>>>> >>>
>>>> >>> What we have been doing up until now has not been great in any case. Switching bug-trackers is a great opportunity to try to do something better. E.g., like what the rust project has done (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#issue-triage, https://forge.rust-lang.org/release/triage-procedure.html#issue-triage).
>>>> >>>
>>>> >>> 2. Bug migration
>>>> >>>
>>>> >>> /After/ the initial switchover, we do want to investigate two possibilities for migrating issues and turning off the bugzilla server. I expect which one is chosen will come down mostly to feasibility of implementation.
>>>> >>>
>>>> >>> Possibility 1: Migrate /all/ the existing bugs into a secondary "llvm-bugs-archive" github repository, and then turn off bugzilla. Github offers the ability to move bugs from one repository to another, and so we can use this to move bugs that are still relevant afterwards (potentially this could be done automatically upon any activity). Then, shut down bugzilla, and leave behind only a redirect script.
>>>> >>>
>>>> >>> Possibility 2: Create the ability to import an individual bug from Bugzilla into the llvm-project repository by pressing a "migrate this bug to github" button. Then, leave bugzilla running only as a static snapshot -- as static as possible while leaving the "migrate this bug to github" button operational.
>>>> >>>
>>>> >>> In both cases, we'd want to support a redirect script to take you from the old bug ids to the migrated bug page. In both cases, we would /preserve/ the entire archive of existing bugs, but would not import the entire set into the "llvm-project" github repository.
>>>> >>>
>>>> >>>
>>>> >>>

>>>> >>> _______________________________________________
>>>> >>> LLVM Developers mailing list

>>>> >>> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>
>>>> >>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>>> >>>
>>>> >>
>>>> >> _______________________________________________
>>>> >> cfe-dev mailing list
>>>> >> cfe...@lists.llvm.org <mailto:cfe...@lists.llvm.org>


>>>> >> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>>> >
>>>>
>>>> _______________________________________________
>>>> LLVM Developers mailing list

>>>> llvm...@lists.llvm.org <mailto:llvm...@lists.llvm.org>
>>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Hubert Tong via llvm-dev

unread,
Mar 25, 2020, 10:39:14 PM3/25/20
to Tom Stellard, llvm-dev, cfe-dev, LLDB Dev
You asked for if there was "anything". I am not sure how feasible a unified full text search and view portal would be. Also, I had already suggested that there should be an agreed convention on how to refer to bugs in either. If GitHub issues are not uniquely numbered across "projects" (meaning non-monorepo projects get their own "namespace"), then that convention might be ugly.

Whisperity via llvm-dev

unread,
Mar 26, 2020, 5:28:00 AM3/26/20
to Hubert Tong, llvm-dev, LLDB Dev, cfe-dev
They're not. Each repository(!) has its own autoincrement number for issues and pull requests – together. This also means issues in forks are numbered separately. To cross-reference, we can use the "owner/repo#xx" format, which on GitHub creates a clickable link. Outside GitHub, the user-friendly option is most likely only a full URL being pasted. The former version is understood by GitHub as a reference and will create a note in the referred issue to the referring one.
Reply all
Reply to author
Forward
0 new messages