| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Also, some bug fixes.
Also, when handling a BaseException, log the exception (with traceback)
that we're handling, in case there is an error while handling it, because
the second error will otherwise mask the first one.
|
|
|
|
|
| |
They fail on squeeze and should be tested either at system assembly
or in a unit test.
|
|
|
|
|
| |
This adds the ability to do this to the script, and fixes use of
the script to add the new parameter.
|
|
|
|
|
| |
These tests were failing because the stratum metadata was added to
the cache.
|
|
|
|
|
|
|
| |
This required functionality to create a tarball from a json file.
This should probably be rewritten as a morph plugin and refactor it
to consolidate the creation logic, so e.g. the stratum metadata is
kept.
|
|
|
|
|
|
|
| |
This adds a new script called list-overlaps, which when given a json
dump of the overlap can be used to query what is overlapping
The tests use this script to check that the overlaps are detected
|
|
|
|
|
| |
the exact format of the logging may change, so just check that the
artifact, the chunks and the files are mentioned
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Rather than parse the output of tar -tvf, extract the tarballs and
test the files.
This should hopefully be more stable than the output of tar
|
| |
| |
| |
| |
| |
| | |
output is properly sorted, and redundant data is removed
also the stratum in stratum-overlap-*.setup are unpacked in a different
order, so there is a symlink to stomp first
|
| | |
|
| |
| |
| |
| |
| | |
The test is purely that the warnings are logged, whether it handles
overlapping correctly is another issue
|
| |
| |
| |
| |
| | |
It may be better to print it to the console, but that requires
getting self.msg set
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Make sure that this directory is actually created before trying
to save artifacts to it. Also adjust all tests to use this new
directory for looking up artifacts.
|
| |
|
|
|
|
|
|
|
|
| |
At the moment this is done by creating a reverse topological sorting
starting with the artifacts that depend on nothing else. Artifacts
are then added to build groups as late as possible.
Fix show-dependencies test output for the new build order generation.
|
|
|
|
|
|
| |
It is possible that a bunch of stuff will be put in the tarball.
What matters is if the binary is in the tarball, so only print
that line of output
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We should be failing the test, since the code is broken.
The expected output should not include the error; when
the error goes away the test will pass.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The test creates a repository with an empty commit to be a submodule,
alters the chunk to have this repository as a submodule, then after
building checks whether each of the repositories have been cached.
This is tested by testing if the repositories are in there rather than
listing all the repositories because the normalisation fails when the
URIs have been mangled
|
|/ |
|
|
|
|
|
|
|
| |
The normalisation code is no longer needed because it is configured
to always generate the right path now.
This also needs the output to be corrected
|
| |
|
|
|
|
|
|
|
| |
Debian systems install python packages into dist-packages, default
python behaviour is to install into site-packages.
To reconcile this difference, treat any foo-packages component
as just being packages.
|
| |
|
|
|
|
|
| |
archname may be in the version information twice if perl's
configure script was passed -Darchname, so exclude that result
|
| |
|
| |
|
|
|
|
|
|
| |
This does some horrible output mangling because where you install
perl modules depends on how your perl was compiled and its version.
This will still probably fail on some machines
|
|
|
|
|
| |
The output otherwise differs between various Linux distros, with
differnet distutils settings and Python versions.
|
| |
|
| |
|
|
|
|
|
| |
The test needs to check whether the chunk has the expected contents.
It used to mistakenly check if there were any chunks in the git cache.
|
| |
|
|
|
|
| |
The code has changed the error message.
|
|
|
|
|
|
| |
The Morph#_create_source_pool method takes a repo cache and a repo, ref,
filename triplet and resolves all the sources involved in a potential
build of this triplet.
|
| |
|
|
|
|
|
|
| |
The old form is more verbose, fully qualifying the repository
and branch names. This is unnecessary as they should never be
ambigous and the new form is much nicer to read.
|
| |
|