| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
stderr isn't used for anything, yet.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
i.e. the chunk has a field named "prefix"
This exposes this value to the spec when generating rpms by inserting it
into the spec file as a "Prefix:" header.
Following discussion that concluded that since we always default prefix
to /usr, we should maintain this when generating rpms.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
17-03-02 00:00:17 [0/137/540] [system-x86_32] ERROR: surprise exception in sandbox
Traceback (most recent call last):
File "/ybd/ybd/sandbox.py", line 60, in setup
yield
File "/ybd/ybd/rpm.py", line 279, in package_rpms
whitelist=whitelist)
File "/ybd/ybd/rpm.py", line 72, in foreach_def
foreach_def(item, callback, user_data, traversed, whitelist)
File "/ybd/ybd/rpm.py", line 72, in foreach_def
foreach_def(item, callback, user_data, traversed, whitelist)
File "/ybd/ybd/rpm.py", line 75, in foreach_def
callback(dn, user_data)
File "/ybd/ybd/rpm.py", line 211, in package_one_rpm
defines = extract_defines(dn)
File "/ybd/ybd/rpm.py", line 163, in extract_defines
defines = meta.get('defines')
AttributeError: 'list' object has no attribute 'get'
|
| |
| |
| |
| |
| |
| |
| |
| | |
If specified, these are added to the defines list for package
generation of the given chunk.
This should be used when spec files make local macro definitions
which might be used in rpm scriptlets or %files manifests.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The generate-rpms can still be set to True which means to generate
every rpm possible.
Now generate-rpms can also be set to a list of chunk names to
generate rpms for.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The new rpm-metadata format allows us to encode more things
into the per chunk metadata (specifically, we need to be able
to manually specify which spec file to parse in the odd cases
of repositories contiaining many spec files).
|
| | |
|
| |
| |
| |
| |
| | |
We would rather have a full build log of everything that failed
so we can fix it, than to fix/build one at a time.
|
| |
| |
| |
| |
| | |
Dont sys.exit() for this if not asked for, just return False if there
was a failure
|
| |
| |
| |
| |
| | |
The specific use case here was that splitting rules created
files containing binaries' debugging information.
|
| | |
|
| |
| |
| |
| |
| | |
Uses built-in python commands instead of shelling out to create dirs.
Also checks whether they exist first.
|
| |
| |
| |
| |
| |
| | |
i.e. it reads a chunk's rpm-metadata field (if it doesn't exist,
it doesn't assemble an rpm for that chunk) for package names,
files, and %{pre,post}{,un} sections.
|
| |
| |
| |
| |
| | |
RPM generation can only happen if the system includes the tools
to generate RPMs.
|
| |
| |
| |
| |
| | |
This also included a little bit of code tidying in the generate_spec
function.
|
| |
| |
| |
| |
| |
| |
| |
| | |
These fields will store rpm-specific information about post-install and
post-uninstall commands.
system-integration commands are not sufficient, as they are intended to
be run once when the system is assembled.
|
| |
| |
| |
| |
| |
| |
| |
| | |
"version" is the number of seconds since the epoch.
"release" is the sha1 used to build.
Actual version information isn't guaranteed to be in the definition
format, so it's better to use something consistent.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
It should only generate RPMs if 'generate-rpms' is true.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Technically, against an older specification of pep8. It contradicts
the current rule on line breaks before/after binary operators.
|
|/ |
|
|\
| |
| |
| |
| | |
Test building baserock definitions in modern distros
See merge request !345
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Fix parallel builds failing because of a missing lockfile
Closes #212
See merge request !351
|
|/ |
|
|\
| |
| |
| |
| | |
Resolve 'sha' if it exists over 'ref' in get_tree()
See merge request !348
|
| | |
|
|/
|
|
|
| |
The 'sha' field should override 'ref' when generating cache-keys as it
does when checking out for building.
|
|\
| |
| |
| |
| | |
Tristan/clean output
See merge request !325
|
| |
| |
| |
| |
| | |
This ensures consistent ordering of output, dictated by defaults.conf,
and also ensures clean output without escaping strings.
|
|/
|
|
|
|
| |
This code is originally from morph, and added to this is
the clause ensuring that no aliases are ever emitted in
the output, i.e.: http://stackoverflow.com/questions/21016220
|
|\
| |
| |
| |
| | |
Fix concourse instructions
See merge request !321
|
|/ |
|
|\
| |
| |
| |
| | |
Add '+' to the list of accepted characters in kbas artifacts
See merge request !320
|
|/
|
|
|
|
|
|
| |
Fixes:
[libdbus-c++] Starting upload
[libdbus-c++] Artifact server problem: 400
[libdbus-c++] Failed to upload libdbus-c++.joidja8
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Remove non supported distros
See merge request !316
|