<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Since Bugzilla numbers are all under 50,000 (at least for now:), can't we simply bump the GitHub issue/pull request numbers to 50,000, and start from there?<div class=""><br class=""></div><div class="">Then it would be easy to identify: < 50000 means Bugzilla, >= 50000 means GitHub.</div><div class=""><br class=""></div><div class="">Now somebody's only gotta find a way to file 50000-200 bogus GitHub tickets. :) (Or ask GitHub support to bump the number synthetically.)</div><div class=""><br class=""></div><div class="">-Dimitry<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 22 Apr 2020, at 09:10, James Henderson via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Similar to other people's experiences, I've worked on a common code base that supported three different platforms, and each platform used a different bugzilla with it's own numbering scheme. I regularly came across references to "BZ123456" with no indication as to which of the three systems that referred to. This would often mean having to go to each in turn and seeing if the corresponding bug looked like it had anything to do with the related topic. Fortunately, given that there were many other things using the same bugzilla instances, this was usually pretty clear, but not always. Typos in bug numbers sometimes made things even harder, since you had to spend three times as long trying to guess.</div><div class=""><br class=""></div><div class="">In other words +1 to using unique numbers, however we do it.<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 22 Apr 2020 at 03:44, Johannes Doerfert via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br class="">
On 4/21/20 7:00 PM, Tom Stellard via llvm-dev wrote:<br class="">
> On 04/21/2020 03:36 PM, Richard Smith via llvm-dev wrote:<br class="">
>> On Tue, 21 Apr 2020 at 11:04, Philip Reames via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a> <mailto:<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a>>> wrote:<br class="">
>><br class="">
>> +1 to James's take<br class="">
>><br class="">
>> I'd prefer simplicity of implementation over perfection here.<br class="">
>><br class="">
>> If we end up with two different bug numbering systems, that's a problem that we will be paying for for many years. It's worth some investment now to avoid that problem. And it doesn't seem like it really requires much investment.<br class="">
>><br class="">
>> Here's another path we could take:<br class="">
>><br class="">
>> 1) Fork the llvm repository to a private "bugs" repository. Mirror the bugzilla issues there. Iterate until we're happy, as per James's proposal.<br class="">
>> 2) Sync the forked repository to the llvm repository, delete the llvm repository, rename "bugs" to "llvm", and make it public.<br class="">
>><br class="">
>> Then we'll have the first N bugs in llvm-project/llvm being *exactly* the bugzilla bugs, and we'll have excised the existing github issues that we want to pretend never existed anyway.<br class="">
>><br class="">
>><br class="">
>> I think we've missed an important step in the planning here: we've not agreed on a set of goals for the transition. Here are mine:<br class="">
>><br class="">
>> * We end up with one single issue tracking system containing all issues, both old and new, both open and closed.<br class="">
>> * All links and references to existing bugs still work.<br class="">
>> * We have a single bug numbering system covering all bugs, and old bugs retain their numbers.<br class="">
> Why are the bug numbers important? Could you help give some example use cases that require having<br class="">
> a non-intersecting set of bug numbers for bugzilla bugs and github issues?<br class="">
<br class="">
<br class="">
While I have no experience in bugzilla or github tooling, the two step <br class="">
process described by Richard doesn't seem to be very complicated.<br class="">
<br class="">
<br class="">
As mentioned by others, we have commits and tests (and sometimes source <br class="">
files) that explicitly mention bug numbers. I do regularly look up bugs <br class="">
from a decade ago to determine if a test or some code still has <br class="">
relevance or not. If PR3214 can be one of two bugs, it does not only <br class="">
increase lookup time but also add confusion to everyone involved.<br class="">
<br class="">
<br class="">
Cheers,<br class="">
<br class="">
Johannes<br class="">
<br class="">
<br class="">
<br class="">
> -Tom<br class="">
><br class="">
><br class="">
>> It sounds like we don't all agree that the last point is important, but if we can achieve it without any significant additional cost, why not do so?<br class="">
>><br class="">
>> Philip<br class="">
>><br class="">
>> On 4/20/20 4:08 PM, James Y Knight via llvm-dev wrote:<br class="">
>>> In a previous discussion, one other suggestion had been to migrate all the bugzilla bugs to a separate initially-private "bug archive" repository in github. This has a few benefits:<br class="">
>>> 1. If the migration is messed up, the repo can be deleted, and the process run again, until we get a result we like.<br class="">
>>> 2. The numbering can be fully-controlled.<br class="">
>>> Once the bugs are migrated to /some/ github repository, individual issues can then be "moved" between repositories, and github will redirect from the movefrom-repository's bug to the target repository's bug.<br class="">
>>><br class="">
>>> We could also just have <a href="http://llvm.org/PR#%23%23" rel="noreferrer" target="_blank" class="">llvm.org/PR###</a> <<a href="http://llvm.org/PR#%23%23" rel="noreferrer" target="_blank" class="">http://llvm.org/PR#%23%23</a>> be the url only for legacy bugzilla issue numbers -- and have it use a file listing the mappings of bugzilla id -> github id to generate the redirects. (GCC just did this recently for svn revision number redirections, <a href="https://gcc.gnu.org/pipermail/gcc/2020-April/232030.html" rel="noreferrer" target="_blank" class="">https://gcc.gnu.org/pipermail/gcc/2020-April/232030.html</a>).<br class="">
>>><br class="">
>>> Then we could introduce a new naming scheme for github issue shortlinks.<br class="">
>>><br class="">
>>> On Mon, Apr 20, 2020 at 3:50 PM Richard Smith via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a> <mailto:<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>>> wrote:<br class="">
>>><br class="">
>>> On Mon, 20 Apr 2020 at 12:31, Tom Stellard via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a> <mailto:<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>>> wrote:<br class="">
>>><br class="">
>>> Hi,<br class="">
>>><br class="">
>>> I wanted to continue discussing the plan to migrate from Bugzilla to Github.<br class="">
>>> It was suggested that I start a new thread and give a summary of the proposal<br class="">
>>> and what has changed since it was originally proposed in October.<br class="">
>>><br class="">
>>> == Here is the original proposal:<br class="">
>>><br class="">
>>> <a href="http://lists.llvm.org/pipermail/llvm-dev/2019-October/136162.html" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/pipermail/llvm-dev/2019-October/136162.html</a><br class="">
>>><br class="">
>>> == What has changed:<br class="">
>>><br class="">
>>> * You will be able to subscribe to notifications for a specific issue<br class="">
>>> labels. We have a proof of concept notification system using github actions<br class="">
>>> that will be used for this.<br class="">
>>><br class="">
>>> * Emails will be sent to llvm-bugs when issues are opened or closed.<br class="">
>>><br class="">
>>> * We have the initial list of labels: <a href="https://github.com/llvm/llvm-project/labels" rel="noreferrer" target="_blank" class="">https://github.com/llvm/llvm-project/labels</a><br class="">
>>><br class="">
>>> == Remaining issue:<br class="">
>>><br class="">
>>> * There is one remaining issue that I don't feel we have consensus on,<br class="">
>>> and that is what to do with bugs in the existing bugzilla. Here are some options<br class="">
>>> that we have discussed:<br class="">
>>><br class="">
>>> 1. Switch to GitHub issues for new bugs only. Bugs filed in bugzilla that are<br class="">
>>> still active will be updated there until they are closed. This means that over<br class="">
>>> time the number of active bugs in bugzilla will slowly decrease as bugs are closed<br class="">
>>> out. Then at some point in the future, all of the bugs from bugzilla will be archived<br class="">
>>> into their own GitHub repository that is separate from the llvm-project repo.<br class="">
>>><br class="">
>>> 2. Same as 1, but also create a migration script that would allow anyone to<br class="">
>>> manually migrate an active bug from bugzilla to a GitHub issue in the llvm-project<br class="">
>>> repo. The intention with this script is that it would be used to migrate high-traffic<br class="">
>>> or important bugs from bugzilla to GitHub to help increase the visibility of the bug.<br class="">
>>> This would not be used for mass migration of all the bugs.<br class="">
>>><br class="">
>>> 3. Do a mass bug migration from bugzilla to GitHub and enable GitHub issues at the same time.<br class="">
>>> Closed or inactive bugs would be archived into their own GitHub repository, and active bugs<br class="">
>>> would be migrated to the llvm-project repo.<br class="">
>>><br class="">
>>><br class="">
>>> Can we preserve the existing bug numbers if we migrate this way? There are lots of references to "PRxxxxx" in checked in LLVM artifacts and elsewhere in the world, as well as links to <a href="http://llvm.org/PRxxxxx" rel="noreferrer" target="_blank" class="">llvm.org/PRxxxxx</a> <<a href="http://llvm.org/PRxxxxx" rel="noreferrer" target="_blank" class="">http://llvm.org/PRxxxxx</a>>, and if we can preserve all the issue numbers this would ease the transition pain substantially.<br class="">
>>> <br class="">
>>><br class="">
>>> The key difference between proposal 1,2 and 3, is when bugs will be archived from bugzilla<br class="">
>>> to GitHub. Delaying the archiving of bugs (proposals 1 and 2) means that we can migrate<br class="">
>>> to GitHub issues sooner (within 1-2 weeks), whereas trying to archive bugs during the<br class="">
>>> transition (proposal 3) will delay the transition for a while (likely several months)<br class="">
>>> while we evaluate the various solutions for moving bugs from bugzilla to GitHub.<br class="">
>>><br class="">
>>><br class="">
>>> The original proposal was to do 1 or 2, however there were some concerns raised on the list<br class="">
>>> that having 2 different places to search for bugs for some period of time would<br class="">
>>> be very inconvenient. So, I would like to restart this discussion and hopefully we can<br class="">
>>> come to some kind of conclusion about the best way forward.<br class="">
>>><br class="">
>>> Thanks,<br class="">
>>> Tom<br class="">
>>><br class="">
>>> _______________________________________________<br class="">
>>> LLVM Developers mailing list<br class="">
>>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a> <mailto:<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>><br class="">
>>> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
>>><br class="">
>>> _______________________________________________<br class="">
>>> LLVM Developers mailing list<br class="">
>>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a> <mailto:<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>><br class="">
>>> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
>>><br class="">
>>><br class="">
>>> _______________________________________________<br class="">
>>> LLVM Developers mailing list<br class="">
>>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a> <mailto:<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>><br class="">
>>> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
>> _______________________________________________<br class="">
>> cfe-dev mailing list<br class="">
>> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a> <mailto:<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a>><br class="">
>> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class="">
>><br class="">
>><br class="">
>><br class="">
>> _______________________________________________<br class="">
>> LLVM Developers mailing list<br class="">
>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class="">
>> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
>><br class="">
> _______________________________________________<br class="">
> LLVM Developers mailing list<br class="">
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class="">
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
_______________________________________________<br class="">
cfe-dev mailing list<br class="">
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a><br class="">
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class="">
</blockquote></div>
_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></div></body></html>