public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-project] New gen-b0rk repository specifically for Q/A tools testing
@ 2016-05-01 23:53 Brian Dolbec
  2016-05-02  1:43 ` Brian Dolbec
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Dolbec @ 2016-05-01 23:53 UTC (permalink / raw
  To: gentoo-project; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 3378 bytes --]


In order to further improve the chances of Q/A tools catching
errors.  I have created a new repo (overlay) which will contain minimal
test case ebuilds.  The idea is to have test case ebuilds to run
repoman code against.  The outcome of these runs should be comparable
to pre-recorded output.  In that way as more code changes are applied
as part of the stage3 re-write as well as new test cases and checks to
be added to it's capabilities.  It should minimize the bugs introduced
in releases.

Repoman does have some unit tests, but it is far from 100% coverage.
Also with the major structural changes that the code has been
undergoing, it is not always possible for the unit tests to be
compatible with the new code.

This new repository is open to all Gentoo developers to contribute to.
All we ask is that you follow some simple common sense rules for adding
additional test ebuilds.

The repo is located at:

https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/

Here is the README included in the base directory.

This repository is for the primary purpose of testing Q/A tools like repoman.

The ebuilds it contains are for testing specific areas of tests that are
performed as part of the normal operation of that Q/A tool.

This repository is open to all Gentoo developers under the following rules:

1) The master branch is to remain the stable Q/A testing branch.

2) All ebuilds are to be minimal test cases.

3) All ebuilds in it are to have no more than 3 or 4 flaws to detect.
   This makes it easier to spot errors during code development.  Simply running
   repoman in a category should be enough to test everything the module tests.
   This excludes some commit only checks which can be run in a local only branch.

4) All category names are to represent the Q/A category being tested.
      ie:
          ebuild-test - tests various aspects of the ebuild repoman module
          eclass-test - various eclass module tests
          ...

5) like the category naming, the package naming will follow the test
   being performed.
       ie:
           eclass-test/live-keywords - test the eclass module LiveEclassChecks
                                       keywords check
           ebuild-test/invalid - test for invalid package name detection

6) Profiles ... Not sure about this one, but probaly will have masters=gentoo
   That should ensure it maintains co-ordination with the main gentoo repo.
   All new or modified eclasses that affect pkg metadata should be validated in
   a branch.

7) New module development and test ebuilds will be done in a branch or personal
   repo and submitted to the gentoo-portage-dev email list for review and
   approval to merge into master.
   NOTE: This rule is lifted for the initial creation and population of
         test ebuilds to use to test out the repoman code.  An anouncemnt to
         the gentoo-project email list will be made when this initial population
         period is being ended.

8) Signed commits only, also signed-pushes are mandatory

9) The metadata category will get files of validated output that can be used
   to verify code changes in the various categories and repo wide runs.
   Diffing the output, should help to verify code changes did not break anything.

10) See rules 1-9 :-)

-- 
Brian Dolbec <dolsen>


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 951 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-project] New gen-b0rk repository specifically for Q/A tools testing
  2016-05-01 23:53 [gentoo-project] New gen-b0rk repository specifically for Q/A tools testing Brian Dolbec
@ 2016-05-02  1:43 ` Brian Dolbec
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2016-05-02  1:43 UTC (permalink / raw
  To: gentoo-project

[-- Attachment #1: Type: text/plain, Size: 2412 bytes --]

On Sun, 1 May 2016 16:53:16 -0700
Brian Dolbec <dolsen@gentoo.org> wrote:

> In order to further improve the chances of Q/A tools catching
> errors.  I have created a new repo (overlay) which will contain
> minimal test case ebuilds.  The idea is to have test case ebuilds to
> run repoman code against.  The outcome of these runs should be
> comparable to pre-recorded output.  In that way as more code changes
> are applied as part of the stage3 re-write as well as new test cases
> and checks to be added to it's capabilities.  It should minimize the
> bugs introduced in releases.
> 
> Repoman does have some unit tests, but it is far from 100% coverage.
> Also with the major structural changes that the code has been
> undergoing, it is not always possible for the unit tests to be
> compatible with the new code.
> 
> This new repository is open to all Gentoo developers to contribute to.
> All we ask is that you follow some simple common sense rules for
> adding additional test ebuilds.
> 
> The repo is located at:
> 
> https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/
> 
> Here is the README included in the base directory.
> 
> This repository is for the primary purpose of testing Q/A tools like
> repoman.
> 
> The ebuilds it contains are for testing specific areas of tests that
> are performed as part of the normal operation of that Q/A tool.
> 
> This repository is open to all Gentoo developers under the following
> rules:
> 

<snip>...

> 7) New module development and test ebuilds will be done in a branch
> or personal repo and submitted to the gentoo-portage-dev email list
> for review and approval to merge into master.
>    NOTE: This rule is lifted for the initial creation and population
> of test ebuilds to use to test out the repoman code.  An anouncemnt to
>          the gentoo-project email list will be made when this initial
> population period is being ended.
> 
> 8) Signed commits only, also signed-pushes are mandatory
> 

Please note we are not restricting push access to the master branch yet,
we need a decent db of test ebuilds before we will lock it down more to
maintain some Q/A consistency.

So, push your test ebuilds you create without worry.

If you are unsure about some specifics and want it reviewed, then sure,
submit them for review and fine tuning.

Thank you

-- 
Brian Dolbec <dolsen>


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 951 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-02  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-01 23:53 [gentoo-project] New gen-b0rk repository specifically for Q/A tools testing Brian Dolbec
2016-05-02  1:43 ` Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox