1 |
On 18/05/16 01:14, Kent Fredric wrote: |
2 |
> On 18 May 2016 at 04:05, Sébastien Fabbro <bicatali@g.o> wrote: |
3 |
>> Basically CI for ebuilds: it could be implemented as a script living |
4 |
>> in the package directory, something like a .travis.yml in the GitHub |
5 |
>> repositories or may be an EAPI change. Debian has a similar project |
6 |
>> [1]. Upstream could provide CI tests and sometimes they do, but we |
7 |
>> want to make sure the package integrates well in an installed Gentoo |
8 |
>> distribution. |
9 |
> |
10 |
> Something like $CAT/$PN/maintainers/tests/<*> |
11 |
> |
12 |
> or something like that I could live with, the idea being to keep as |
13 |
> much of this content *out* of the main ebuild flow as possible. |
14 |
> |
15 |
> I'd much rather however not to require files in $CAT/$PN to be |
16 |
> changed, but to have a schema for code that can be run conditionally |
17 |
> on any suitable package via matching ( CAT, PN, inherit, project=, |
18 |
> maintainer= ) properties. |
19 |
> |
20 |
> Mostly, because there are a lot of places where you'd never want to |
21 |
> implement the logic for a single package, you'd want to employ it for |
22 |
> a whole bunch. |
23 |
> |
24 |
> Unfortunately, at present, the *sorts* of logic I personally see |
25 |
> myself implementing would require additional dependencies to perform. |
26 |
> |
27 |
> This is why we're not already doing it in src_test(), because it would |
28 |
> expand the dependency graph for end users without benefit, ( and in |
29 |
> the way I'm thinking, results in risking a circular dependency, as |
30 |
> some of the tests I'm wanting to do would require Perl modules |
31 |
> installed, but these tests are to check things about Perl modules, |
32 |
> which risks requiring itself to validate itself ...., and exposing |
33 |
> users to that is inexcusable ) |
34 |
> |
35 |
Yes, whilst that's a special case, it would be desirable to collaborate |
36 |
with another maintainer/team/project to devise a test schedule that was |
37 |
independent from the target language, if possible. But there will always |
38 |
be exceptions and issues and such with these things .. :/ |