1 |
On 3/11/2022 20:54, Sam James wrote: |
2 |
> |
3 |
> |
4 |
>> On 11 Mar 2022, at 19:39, Joshua Kinard <kumba@g.o> wrote: |
5 |
>> |
6 |
>> On 3/11/2022 03:54, Mart Raudsepp wrote:> Ühel kenal päeval, N, 10.03.2022 |
7 |
>> kell 18:18, kirjutas Joshua Kinard: |
8 |
>>>> I stick to the officially-published method of checking and committing |
9 |
>>>> changes: |
10 |
>>>> https://devmanual.gentoo.org/ebuild-maintenance/git/index.html |
11 |
>>>> |
12 |
>>>> The two tools highlighted there for the bulk of the work is repoman |
13 |
>>>> and pkgdev. repoman is cited twelve times, pkgdev is cited six times. |
14 |
>>>> pkgcheck is mentioned once. pkgcommit has no mentions. |
15 |
>>>> |
16 |
>>>> From that, one should not be faulted for assuming that repoman is the |
17 |
>>>> more important tool, if not preferred tool, with pkgdev coming in |
18 |
>>>> second place. pkgcheck comes across as entirely optional and even |
19 |
>>>> seems equivalent to 'repoman full', and how would one know that |
20 |
>>>> pkgcommit even exists? |
21 |
>>> |
22 |
>>> I believe the very purpose of this thread is to have a consensus/pre- |
23 |
>>> announcement before actually editing the official documentation as part |
24 |
>>> of the process of deprecating repoman. |
25 |
>> |
26 |
>> I feel that the documentation should have had more mentions of these newer |
27 |
>> tools as their adoption by other developers accelerated. Documentation |
28 |
>> doesn't have to have a fixed point in time when it fully changes over. It |
29 |
>> can change organically, like almost everything else in the project. |
30 |
> |
31 |
> Well, I've done that. I've been adding pkgcheck and pkgdev to the devmanual |
32 |
> over time, and to the wiki. |
33 |
|
34 |
Yes, I'd seen that, though at least in the ebuild maintenance section on |
35 |
git, pkgdev's mentions were added in such a way that it was implied to be |
36 |
comparable to repoman. Not better than repoman, as many people here are |
37 |
stating. |
38 |
|
39 |
People like me, when we see that, are going to conduct an internal risk |
40 |
assessment. Use what I know works and get results I know I will get, or use |
41 |
a completely new tool that I know nothing about, and maybe get the same |
42 |
result with no perceived benefit or gain. |
43 |
|
44 |
|
45 |
>> [snip] |
46 |
> |
47 |
>>> Also the benefit of using pkgcheck is to actually be able to make the |
48 |
>>> same checks that CI would do before you push, so you can amend your |
49 |
>>> commits to fix issues before they hit the server and CI and break the |
50 |
>>> tree. pkgcheck is so fast that it can do full tree checks in a |
51 |
>>> reasonable time (repoman would take days on a radiator mips when you go |
52 |
>>> outside single package), and I believe has features to have it check all |
53 |
>>> your commits that haven't been pushed yet at once, checking only what it |
54 |
>>> can to not be too slow to not use (so you don't need to run the check |
55 |
>>> with each commit but for all of them once you commit - and if issues, |
56 |
>>> again, git interactive rebase). |
57 |
>> |
58 |
>> Speed is really not a big issue for me. I run repoman from my amd64 dev |
59 |
>> box, and it's like, maybe 10-13 seconds at most during 'repoman full'? And |
60 |
>> my MIPS systems, while not the slowest of slow of that arch, they do teach |
61 |
>> you patience over the years. |
62 |
>> |
63 |
>> The other bits you mention about pkgcheck do sound useful, though. But I am |
64 |
>> a stickler for official documentation, because my risk aversion level when |
65 |
>> committing to a public repo that can affect hundreds of thousands of users |
66 |
>> is *extremely* high. When I first signed up as a dev and we had the |
67 |
> |
68 |
> It is already mentioned in the devmanual, but we can add it in more places |
69 |
> if you specify which. |
70 |
|
71 |
Matt's posted a pull request in GH that looks to eliminate all remaining |
72 |
references of repoman and replace them with pkgdev. So I think we're done |
73 |
with this point now once that request is merged in. |
74 |
|
75 |
-- |
76 |
Joshua Kinard |
77 |
Gentoo/MIPS |
78 |
kumba@g.o |
79 |
rsa6144/5C63F4E3F5C6C943 2015-04-27 |
80 |
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 |
81 |
|
82 |
"The past tempts us, the present confuses us, the future frightens us. And |
83 |
our lives slip away, moment by moment, lost in that vast, terrible in-between." |
84 |
|
85 |
--Emperor Turhan, Centauri Republic |