public inbox for gentoo-dev-announce@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev-announce] repo-mirror-ci now provides exported function info, and cache for pull requests
@ 2015-11-25 14:40 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2015-11-25 14:40 UTC (permalink / raw
  To: gentoo-dev-announce; +Cc: gentoo-dev

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

Hello, everyone.

I'm pleased to announce that the services run by repo-mirror-ci project
had received a little update yesterday. I've added three new features:

1. EAPI=6 awareness. All our services are running pkgcore, and sadly
pkgcore does not support EAPI=6 yet. While I can't currently afford to
implement all features of EAPI=6 at the moment, I have enabled
the minimal support needed to get cache updates and pkgcheck working.

2. Metadata cache for pull requests. Now all pull requests are mirrored
in [1] along with the master branch of Gentoo repository. The pull-NNN
branches contain the pull request state with metadata cache merged on
top of it. Furthermore, cache update is done and committed twice --
before and after the pull request commits. As a result, you can easily
compare changes to cache the pull request does, e.g. [2].

3. Exported function information. Have you even wondered which of
the inherited eclasses sets a particular phase function? You have to
guess no more, my little hack to pkgcore [3] figures that out for you.
The results are put in metadata cache [4] since they're quite expensive
to obtain, and since we update metadata cache for pull requests, you can
now easily see if a pull request changes inherited phase functions!

As a matter of formality, I have to add that the last feature is quite
fresh and the result format may change when it gets polished and added
to more package managers. Currently the entry lists all redefined phase
functions in form of <phase>:<eclass> for phase functions defined by
eclasses, or <phase>:- for phase functions defined in ebuild. Phases
not listed have no explicit overrides, so are defined by EAPI or not
defined at all.

Enjoy! If you'd like to help, please consider providing patches for
EAPI=6 in pkgcore ;-).

[1]:https://github.com/gentoo-mirror/gentoo
[2]:https://github.com/gentoo-mirror/gentoo/commit/fe9a11b10e09
[3]:https://github.com/pkgcore/pkgcore/pull/157
[4]:https://github.com/gentoo-mirror/gentoo/blob/master/metadata/md5-cache/sci-electronics/pulseview-9999#L11

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-25 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25 14:40 [gentoo-dev-announce] repo-mirror-ci now provides exported function info, and cache for pull requests Michał Górny

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