Gentoo Archives: gentoo-java

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: gentoo-java@l.g.o
Subject: [gentoo-java] modular QA checks for repoman
Date: Sun, 23 Jul 2006 12:49:50
Message-Id: 44C3702C.8050106@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi everyone,
5
6 The Java team is trying to migrate all the Java ebuilds to the Generation 2 [1] system for building Java packages. They would like to have support included in repoman in order to help enforce the migration. Please see the attached patch that has been provided by nelchael. I'd like to help the Java team by including this functionality but I'd rather not mix the Java checks in with all the other generic ebuild checks. The only similar (special purpose) check that's currently included in repoman is the modular X deprecation check.
7
8 My plan is to create a framework for modular repoman checks, so that thinks like the Java and modular X checks can be cleanly separated. I haven't put much thought into it yet. I imagine that these modules will have the ability to operate on the ebuild metadata as well as the raw lines of ebuild text. They'll have to return the QA data somehow, perhaps by returning stats and fails dictionaries similar to those already used by repoman. Does anyone have ideas to share about the design of the framework? Since there aren't very many of these special purpose checks, should we just include them directly in repoman for now (vs. load them from external sources)?
9
10 Zac
11
12 [1] http://www.gentoo.org/proj/en/java/java-upgrade.xml
13 -----BEGIN PGP SIGNATURE-----
14 Version: GnuPG v1.4.4 (GNU/Linux)
15
16 iD8DBQFEw3Al/ejvha5XGaMRAmFDAJoCPx+3ZNrlEWYa+rek2x0mZ5bvcQCdFEtP
17 nrB7b/5CDMW/isZGD82thEQ=
18 =9exX
19 -----END PGP SIGNATURE-----

Attachments

File name MIME type
repoman-java-checks.diff text/plain