Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37037767
en ru br
ALT Linux repos
S:1-alt2

Group :: Development/Other
RPM: apt-BuildPreReq-xxtra-heavy-load-checkinstall

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 1-alt2
Build date: 31 january 2022, 12:11 ( 112.4 weeks ago )
Size: 7729 b

Home page:   http://git.altlinux.org/people/imz/packages/Bui…

License: CC0
Summary: Empty package only useful during its build: it installs (and checks) another pkg
Description:

Empty package only useful during its build: it installs (and checks) another pkg:
apt-xxtra-heavy-load-checkinstall

This package is only of interest for maintainers of the other package
(being tested).

So, whenever this package is rebuilt, the other package is installed
and its %pre/%post scripts are run, whereby the tests (if any) from
those scripts are executed. And this effect can be used to test
the other package:

* in a task in Girar by adding this package to the task (instead of
relying on the automatic install checks of Girar, in case the Girar
instance has the install checks turned off); the results can be seen
in srpm.log then;
* regularly in beehive (which rebuilds packages, but does no
install checks).


This package also makes its best to guess whether the environment
where it is built looks like a Girar instance with install checks
turned off and, if so, simulates obligatory install checks by adding a
strict dependency on the release of the other package at the time of
build. (So that when a new build of the other package is done in a task
for this repository, there is an unmet dependency and the maintainer
is forced to add a rebuild of this package to the task.)

(Simulating an install check by means of a strict dep in a Girar
instance with install checks turned on would be redundant and cause an
unneeded excessive run of the tests in a single task and
an extra burden for the maintainer.)

Remark. The main idea of this package (to run tests during build)
won't normally work (in the usual instances of Girar or
beehive). The obstacle is that the other package whose scripts run
tests is usually a *-checkinstall package; but normally the
"checkinstall" component is not available for installation of the
build dependencies. However, by lucky coincidence, the Girar
instance that is of particular instance for us (i.e., the one that
has install checks turned off, namely, e2k) also doesn't currently
separate *-checkinstall packages into a repository component.

(There is another case where this deficiency is even for the better:
if one of the transitively required *-checkinstall packages
already runs the tests during its build, then running them once
again would be a redundant, excessive run of the tests, at least,
in beehive. Example: rpminstall-checkinstall req'd by rpm-checkinstall.
This isn't so much a concern in a Girar task, because
rpminstall-checkinstall isn't usually built in the same task as rpm.)

Current maintainer: Ivan Zakharyaschev

List of contributors

List of rpms provided by this srpm:

  • apt-BuildPreReq-xxtra-heavy-load-checkinstall
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin