1 |
On Sun, 2020-01-19 at 19:34 +0000, Robin H. Johnson wrote: |
2 |
> On Sun, Jan 19, 2020 at 12:31:52PM +0100, Michał Górny wrote: |
3 |
> > Hello, |
4 |
> > |
5 |
> > In the light of the recent misunderstandings, I have started working |
6 |
> > on an official Policy Guide [1]. The Guide is meant to provide |
7 |
> > a focused list of officially approved QA policies, along with their |
8 |
> > rationale and any other useful information. |
9 |
> > |
10 |
> > This should supplement devmanual [2] with clear information on what is |
11 |
> > enforceable policy, and what is merely a suggestion (or possibly |
12 |
> > outdated information, which is a common problem for devmanual). |
13 |
> Thank you for this this! |
14 |
> |
15 |
> I have some requests for improvement & content. |
16 |
> |
17 |
> 1. Stable identifiers for policy: |
18 |
> Assign ID numbers or stable identifying slugs to each policy and use |
19 |
> them for referencing from all tooling in future. Also makes searching |
20 |
> MUCH easier. |
21 |
> |
22 |
> The ID variant might be 'GPNNNNN' (string prefix, followed by numeric |
23 |
> value) |
24 |
> |
25 |
> The slug variant (modelled after Rubocop) might be |
26 |
> "Ebuild:CodingStyle" |
27 |
> |
28 |
> My personal preference would be the ID variant, after seeing Rubocop |
29 |
> have to rename identifying slugs slowly & painfully over many years; |
30 |
> however the slug variant is MUCH better for usability |
31 |
|
32 |
I was wondering about this. However, wouldn't permalinks be good |
33 |
enough? Each section has its own anchor, and it makes them immediately |
34 |
useful for seeing the policy in question without having to resort to |
35 |
searching. |
36 |
|
37 |
> 2. Usability/viewing: |
38 |
> 2.1. DT-squashed: |
39 |
> Please fix the CSS rendering of the <dt>. My chrome window is 1198 x |
40 |
> 1870 (screen is portrait version 1920x1200). |
41 |
> Screenshot: |
42 |
> https://dev.gentoo.org/~robbat2/.private/20200119-policy-guide-render-window.png |
43 |
> |
44 |
> 2.2. Whitespace: |
45 |
> The left column has a LOT of wasted whitespace. |
46 |
> |
47 |
> 2.3 Navigation: |
48 |
> Please add next/previous links on the top AND bottom of each page. |
49 |
|
50 |
Please file theme-related bugs at: |
51 |
https://github.com/mmagorsc/tyrian_sphinx_theme |
52 |
|
53 |
> |
54 |
> 2.4. Search results: |
55 |
> Many two-letter search terms return nothing, "QA", "QT" |
56 |
|
57 |
I suspect this is Sphinx's limitation and I'm not qualified to deal with |
58 |
it. I'd suggest using index + in-page search. That said, I'm open to |
59 |
pull requests / patches to improve index. |
60 |
|
61 |
> 3. Content requests: |
62 |
> 3.1. |
63 |
> Cover policy around ELF binary dependency verification (this related to |
64 |
> the ebuild maintainer quiz question "How can you verify an ebuild has |
65 |
> correct run time dependencies (RDEPEND) for all installed binaries?" |
66 |
> |
67 |
> 3.2. |
68 |
> Cover policy around making sure that ALL licenses around installed |
69 |
> data being listed in the LICENSE variable, which is becoming |
70 |
> increasingly important for Rust & Go where the output binaries are |
71 |
> usually static, and many licenses might be included via dependencies |
72 |
> on the codebase. |
73 |
|
74 |
Could you file bugs for that (on Bugzilla)? |
75 |
|
76 |
-- |
77 |
Best regards, |
78 |
Michał Górny |