1 |
On Fri, 2019-12-06 at 03:23 -0500, Tim Harder wrote: |
2 |
> On 2019-12-05 Thu 17:00, Alexis Ballier wrote: |
3 |
> > > > pkgcheck is mostly used by your CI checks for |
4 |
> > > > producing huge reports, which is nice but addresses a different |
5 |
> > > > problem |
6 |
> > > There is nothing stopping you from running pkgcheck locally. In |
7 |
> > > fact, |
8 |
> > > it should work out of the box these days. If you have any |
9 |
> > > problems, |
10 |
> > > please report them and I'm sure they will be addressed promptly. |
11 |
> > Sure I did that to get reports like what CI does for me now but |
12 |
> > that's |
13 |
> > always been a different usecase; I wasn't aware pkgcheck had the |
14 |
> > equivalent of repoman commit |
15 |
> |
16 |
> While I dislike contributing more to this off-topic tangent, since |
17 |
> I've |
18 |
> fielded this question/request in IRC a few times in the past I figure |
19 |
> I |
20 |
> might as well address it again here for the IRC-averse. |
21 |
> |
22 |
> Personally I use pkgcheck as a QA tool and *git* (or another vcs |
23 |
> tool) |
24 |
> as a commit tool, just like how I used to use repoman and cvs a long |
25 |
> time ago. I generally dislike when cli tools amalgamate disparate |
26 |
> features that they weren't designed for so no one has been able to |
27 |
> convince me why a tool designed to verify ebuilds and their related |
28 |
> repos should support commit capabilities internally. |
29 |
|
30 |
it's not just like repoman and cvs since repoman commit did push ;) |
31 |
it will never be perfect but i really like repoman commit to refuse to |
32 |
even commit if there's something obviously wrong |
33 |
|
34 |
as you write below, it's just a matter of checking exit status and |
35 |
using git, which can be done by scripting, but the script is standard |
36 |
(*) and mandated to be part of the workflow |
37 |
|
38 |
it also allows to check or templatize commit messages to follow policy |
39 |
|
40 |
(*) and force the use of some handy git options like only commit paths |
41 |
starting from cwd even if other files had been git added, which i never |
42 |
remember what is the git cli option for this |
43 |
|
44 |
Alexis. |