<div dir="auto">Hi Ben, <div dir="auto"><br></div><div dir="auto">That's awesome! I'm glad to have something to refer to as on Trac I was sometimes hesitant as to where something fell. </div><div dir="auto"><br></div><div dir="auto">Two questions, well three.</div><div dir="auto"><br></div><div dir="auto">1. Curious, is there no Linux label? Similarly no x86 and x64_86 labels? <br>2. The ARM one is that Arm (e.g. pre AArch32) or just all Arm architectures? (I see no AArch64) either. Is this because we didn't have a label for them in trac?</div><div dir="auto"><br></div><div dir="auto">3. Slightly unrelated, on Phabricator I used to have a customized side bar with helpful links such as this one. Can I do the same on GitLab? </div><div dir="auto"><br></div><div dir="auto">Thanks, </div><div dir="auto">Tamar </div><div dir="auto"><br></div><div dir="auto"><br><div data-smartmail="gmail_signature" dir="auto">Sent from my Mobile</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 1, 2019, 21:35 Ben Gamari <<a href="mailto:ben@well-typed.com" target="_blank" rel="noreferrer">ben@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Simon Peyton Jones via ghc-devs <<a href="mailto:ghc-devs@haskell.org" rel="noreferrer noreferrer" target="_blank">ghc-devs@haskell.org</a>> writes:<br>
<br>
> Are you sure you got all the labels. Eg I don't see "type error messages<br>
> <a href="https://gitlab.haskell.org/ghc/ghc/issues?label_name%5B%5D=type+error+messages" rel="noreferrer noreferrer noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/issues?label_name%5B%5D=type+error+messages</a><br>
><br>
> Maybe that's because there is only one such ticket, #16439.<br>
><br>
> Can we have a list of all such orphaned labels, so we can get rid of them?  Eg by relabelling<br>
><br>
The set of orphan keywords is attached (orphan-keywords.json).<br>
<br>
For reference, the orphan set was computed from the set of all keywords<br>
(all-keywords.csv, from Trac report #25) and the keyword mapping used by<br>
the import script (keyword-label-mapping.json, mapping Trac keywords to<br>
a set of GitLab labels) as follows in Python:<br>
<br>
    import csv<br>
    import json<br>
<br>
    all_keywords = set(e[0].lower() for e in csv.reader(open('all-keywords.csv')))<br>
    mapping = json.load(open('./keyword-label-mappping.json'))<br>
    mapped_keywords = set(map(str.lower, mapping.keys()))<br>
    orphans = set(all_keywords).difference(mapped_keywords)<br>
    json.dump(list(orphans), open('orphan-keywords.json','w'))<br>
<br>
Cheers,<br>
<br>
- Ben<br>
<br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" rel="noreferrer noreferrer" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>