Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | .gitlab-ci.yml: Only build non-kbas builds in the master branchjjardon/bo_kbas_build_only_master | Javier Jardón | 2017-05-26 | 1 | -0/+8 |
| | | | | This will hopefully unblock the Merge Process a little | ||||
* | Merge branch 'benbrown/note-fixes' into 'master' | Ben Brown | 2017-05-23 | 3 | -23/+29 |
|\ | | | | | | | | | Miscellaneous/release note fixes See merge request !359 | ||||
| * | Don't catch KeyboardInterruptbenbrown/note-fixes | Ben Brown | 2017-05-22 | 1 | -1/+1 |
| | | |||||
| * | Use empty dict instead of try/except on None | Ben Brown | 2017-05-22 | 1 | -5/+2 |
| | | |||||
| * | Only check `git log` if refs are different | Ben Brown | 2017-05-22 | 1 | -8/+9 |
| | | |||||
| * | Only strip when path begins with './' | Ben Brown | 2017-05-22 | 1 | -1/+4 |
| | | |||||
| * | Sanitise int and unicode fields | Ben Brown | 2017-05-22 | 1 | -2/+2 |
| | | |||||
| * | Ignore 'repourl' | Ben Brown | 2017-05-22 | 1 | -1/+1 |
| | | |||||
| * | Pass directory parameter to Morphs() | Ben Brown | 2017-05-22 | 1 | -1/+1 |
| | | |||||
| * | Fix refs used for release command | Ben Brown | 2017-05-22 | 1 | -4/+5 |
| | | |||||
| * | Fix release-command typo | Ben Brown | 2017-05-22 | 1 | -1/+1 |
| | | |||||
| * | Don't check git history with nothing to compare against | Ben Brown | 2017-05-22 | 1 | -1/+2 |
| | | | | | | | | | | | | Skip when: * Chunk lacks a 'repo' field. * Chunk did not previously exist (old_def is not set). | ||||
| * | Add missing update_mirror import | Ben Brown | 2017-05-22 | 1 | -1/+3 |
| | | |||||
| * | Don't set _trees if file is empty | Ben Brown | 2017-05-22 | 1 | -1/+2 |
|/ | |||||
* | Merge branch 'staging/jonathan/rpm-existing-dirs-workaround' into 'master' | Javier Jardón | 2017-05-19 | 1 | -2/+12 |
|\ | | | | | | | | | rpm: Work around os.path.exists not catching dirs that exist See merge request !357 | ||||
| * | rpm: Work around os.path.exists not catching dirs that existstaging/jonathan/rpm-existing-dirs-workaround | Jonathan Maw | 2017-05-19 | 1 | -2/+12 |
|/ | | | | | The true cause couldn't be found (error was intermittent), but this should work around it, and if it re-emerges, we will know something new. | ||||
* | Merge branch 'benbrown/missing-import' into 'master' | Javier Jardón | 2017-05-19 | 1 | -0/+1 |
|\ | | | | | | | | | Add missing tempfile import to rpm.py See merge request !356 | ||||
| * | Add missing tempfile import to rpm.pybenbrown/missing-import | Ben Brown | 2017-05-19 | 1 | -0/+1 |
|/ | |||||
* | Merge branch 'staging/jonathan/rpm-caching' into 'master' | devcurmudgeon | 2017-05-17 | 5 | -36/+220 |
|\ | | | | | | | | | Cache RPMs locally and remotely when assembling RPMs See merge request !355 | ||||
| * | Make rpms use a local and remote artifact cachestaging/jonathan/rpm-caching | Jonathan Maw | 2017-05-17 | 1 | -25/+197 |
| | | | | | | | | | | This will upload RPMs to kbas if they're built, unless kbas-upload is manually set to something that doesn't include "rpm" | ||||
| * | sandbox: Make it possible to hide the logging of which command was run | Jonathan Maw | 2017-05-17 | 2 | -4/+4 |
| | | | | | | | | | | | | We use invocations of 'rpm' to get information from rpms. This makes rpm generation barely-readable unless we make the logs hide this. | ||||
| * | Allow rpm uploads without having to tar | Ben Brown | 2017-05-17 | 1 | -2/+8 |
| | | |||||
| * | Bump artifact version for rpm-metadata | Ben Brown | 2017-05-17 | 1 | -1/+2 |
| | | |||||
| * | Add 'rpm-metadata' in cache-key | Ben Brown | 2017-05-17 | 1 | -0/+4 |
| | | |||||
| * | Save 'artifact-version' for reuse | Ben Brown | 2017-05-17 | 1 | -4/+5 |
|/ | |||||
* | Merge branch 'staging/jonathan/rpm-export-parallel' into 'master' | devcurmudgeon | 2017-05-12 | 1 | -1/+2 |
|\ | | | | | | | | | Do not parallelize rpm assembly See merge request !354 | ||||
| * | Do not parallelize rpm assemblystaging/jonathan/rpm-export-parallel | Jonathan Maw | 2017-05-12 | 1 | -1/+2 |
|/ | |||||
* | Merge branch 'tristan/rpm-export-rebase' into 'master' | devcurmudgeon | 2017-05-12 | 5 | -20/+452 |
|\ | | | | | | | | | Add RPM generation functionality See merge request !353 | ||||
| * | Class failure to generate a spec as failure if rpm-metadata is definedtristan/rpm-export-rebase | Ben Brown | 2017-05-11 | 1 | -2/+4 |
| | | |||||
| * | Use spec's release field, plus sha when generating rpms | Jonathan Maw | 2017-05-11 | 1 | -1/+6 |
| | | | | | | | | i.e. the release field is now <release>git<sha> | ||||
| * | rpm: use 'version' metadata field instead of time | Jonathan Maw | 2017-05-11 | 2 | -15/+10 |
| | | |||||
| * | rpm: Fix undefined 'result' when generating rpms with a whitelist | Jonathan Maw | 2017-05-11 | 1 | -0/+1 |
| | | |||||
| * | Do not return failure if we don't package non-chunks | Ben Brown | 2017-05-11 | 1 | -1/+1 |
| | | |||||
| * | rpm: Add Requires metadata | Jonathan Maw | 2017-05-11 | 1 | -0/+6 |
| | | |||||
| * | rpm: Make macro expansion skip shelling out if no % | Jonathan Maw | 2017-05-11 | 1 | -0/+3 |
| | | | | | | | | i.e. the string does not contain any statements to expand macros. | ||||
| * | rpm: Fix provides not being set for main package sometimes | Jonathan Maw | 2017-05-11 | 1 | -3/+4 |
| | | | | | | | | Specifically, when package names are identified by way of macros. | ||||
| * | Re-raise SystemExit from sandbox | Ben Brown | 2017-05-11 | 1 | -2/+2 |
| | | |||||
| * | Exit with an error if we failed to generate all rpms | Ben Brown | 2017-05-11 | 1 | -2/+8 |
| | | |||||
| * | Yield a tuple containing the callback result from foreach_def() | Ben Brown | 2017-05-11 | 1 | -5/+12 |
| | | | | | | | | | | The first item in the tuple being whether the definitions/chunk was successfully processed. | ||||
| * | Return result from package_one_rpm | Ben Brown | 2017-05-11 | 1 | -0/+3 |
| | | |||||
| * | Return same tuple on failure in run_sandboxed | Ben Brown | 2017-05-11 | 1 | -1/+1 |
| | | |||||
| * | Ensure success variable is set to exit result | Ben Brown | 2017-05-11 | 1 | -2/+2 |
| | | |||||
| * | Fix expand_macro so it returns correct output | Ben Brown | 2017-05-11 | 1 | -1/+5 |
| | | | | | | | | Log output after the call, we require output to not be None. | ||||
| * | Fix run_sandbox call so stdout and stderr are returned | Ben Brown | 2017-05-11 | 1 | -12/+14 |
| | | | | | | | | | | | | Add 'run_logged' optional parameter to force run_sandbox to return output rather than write directly to the build log. Subprocess will return None for stdout when set to redirect to a file. | ||||
| * | Strip whitespace from `rpm --eval` process output | Ben Brown | 2017-05-11 | 1 | -1/+1 |
| | | |||||
| * | Add missing whitespace in expand_macro command | Ben Brown | 2017-05-11 | 1 | -1/+2 |
| | | |||||
| * | Fix check for writing %package headings | Ben Brown | 2017-05-11 | 1 | -1/+1 |
| | | |||||
| * | rpm: Handle packages without a "files" section | Jonathan Maw | 2017-05-11 | 1 | -2/+2 |
| | | |||||
| * | Revert "If definition contains sha:, it always overrides ref:" | Ben Brown | 2017-05-11 | 2 | -6/+0 |
| | | | | | | | | | | | | | | This is a duplicate commit that has emerged from a faulty rebase. We don't want to be force pushing to this branch any more. This reverts commit 9c9305806087bc70c01396cbbb365bf175b89a98. | ||||
| * | rpm: Check package name against expanded names | Jonathan Maw | 2017-05-11 | 1 | -3/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | During rpm spec generation, we check whether a given package is the main package, to identify whether fields are added under a %package heading or not. It is valid rpm spec syntax to define the package name in terms of macros, so this commit adds checking against the expanded name. Rather than hand-writing substitutions to expand the macros, this commit uses rpm's "--eval" argument to check the value in a sandbox. |