From a653f71638f04f0fbb02e9f441045a286667fcf7 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 27 Aug 2018 15:38:09 -0700 Subject: [PATCH] - Fix composer-cli blueprints changes to get correct total (bcl@redhat.com) - Fix blueprints/list and blueprints/changes to return the correct total (bcl@redhat.com) - Add tests for limit=0 routes (bcl@redhat.com) - Add a function to get_url_json_unlimited to retrieve the total (bcl@redhat.com) - Fix tests related to blueprint name changes (bcl@redhat.com) - Add 'example' to the example blueprint names (bcl@redhat.com) - Use urllib.parse instead of urlparse (bcl@redhat.com) - In composer-cli, request all results (dshea@redhat.com) - Add tests for /compose/status filter arguments (dshea@redhat.com) - Allow '*' as a uuid in /compose/status/ (dshea@redhat.com) - Add filter arguments to /compose/status (dshea@redhat.com) - composer-cli should not log to a file by default (bcl@redhat.com) - Add documentation for using a DVD as the package source (bcl@redhat.com) - Set TCP listen backlog for API socket to SOMAXCONN (lars@karlitski.net) - Update Arm architectures for the latest requirements (pbrobinson@gmail.com) - New lorax documentation - 29.11 (bcl@redhat.com) - Add a note about using lorax-composer.service (bcl@redhat.com) - Ignore dnf.logging when building docs (bcl@redhat.com) - Bring back import-state.service (#1615332) (rvykydal@redhat.com) - Fix a little bug in running "modules list". (clumens@redhat.com) - Fix bash_completion.d typo (bcl@redhat.com) - Move disklabel and UEFI support to compose.py (bcl@redhat.com) - Fix more tests. (clumens@redhat.com) - Change INVALID_NAME to INVALID_CHARS. (clumens@redhat.com) - Update composer-cli for the new error return types. (clumens@redhat.com) - Add default error IDs everywhere else. (clumens@redhat.com) - Add error IDs to things that can go wrong when running a compose. (clumens@redhat.com) - Add error IDs for common source-related errors. (clumens@redhat.com) - Add error IDs for unknown modules and unknown projects. (clumens@redhat.com) - Add error IDs for when an unknown commit is requested. (clumens@redhat.com) - Add error IDs for when an unknown blueprint is requested. (clumens@redhat.com) - Add error IDs for when an unknown build UUID is requested. (clumens@redhat.com) - Add error IDs for bad state conditions. (clumens@redhat.com) - Change the error return type for bad limit= and offset=. (clumens@redhat.com) - Don't sort error messages. (clumens@redhat.com) - Fix bash completion of compose info (bcl@redhat.com) - Add + to the allowed API string character set (bcl@redhat.com) - Add job_* timestamp support to compose status (bcl@redhat.com) - Drop .decode from UTF8_TEST_STRING (bcl@redhat.com) - Add input string checks to the branch and format arguments (bcl@redhat.com) - Add a test for invalid characters in the API route (bcl@redhat.com) - Add etc/bash_completion.d/composer-cli (wwoods@redhat.com) - composer-cli: clean up "list" commands (wwoods@redhat.com) - Fix logging argument (bcl@redhat.com) - Update get_system_repo for dnf (bcl@redhat.com) - Update ConfigParser usage for Py3 (bcl@redhat.com) - Update StringIO use for Py3 (bcl@redhat.com) - Add a test for the pylorax.api.timestamp functions (bcl@redhat.com) - Fix write_timestamp for py3 (bcl@redhat.com) - Return a JSON error instead of a 404 on certain malformed URLs. (clumens@redhat.com) - Return an error if /modules/info doesn't return anything. (clumens@redhat.com) - Update documentation (#409). (clumens@redhat.com) - Use constants instead of strings (#409). (clumens@redhat.com) - Write timestamps when important events happen during the compose (#409). (clumens@redhat.com) - Return multiple timestamps in API results (#409). (clumens@redhat.com) - Add a new timestamp.py file to the API directory (#409). (clumens@redhat.com) - Use the first enabled system repo for the test (bcl@redhat.com) - Show more details when the system repo delete test fails (bcl@redhat.com) - Add composer-cli function tests (bcl@redhat.com) - Add a test library (bcl@redhat.com) - composer-cli: Add support for Group to blueprints diff (bcl@redhat.com) - Update status.py to use new handle_api_result (bcl@redhat.com) - Update sources.py to use new handle_api_result (bcl@redhat.com) - Update projects.py to use new handle_api_result (bcl@redhat.com) - Update modules.py to use new handle_api_result (bcl@redhat.com) - Update compose.py to use new handle_api_result (bcl@redhat.com) - Update blueprints.py to use new handle_api_result (bcl@redhat.com) - Modify handle_api_result so it can be used in more places (bcl@redhat.com) - Fix help output on the compose subcommand. (clumens@redhat.com) - Add timestamps to "compose-cli compose status" output. (clumens@redhat.com) - And then add real output to the status command. (clumens@redhat.com) - Add the beginnings of a new status subcommand. (clumens@redhat.com) - Document that you shouldn't run lorax-composer twice. (clumens@redhat.com) - Add PIDFile to the .service file. (clumens@redhat.com) - composer-cli: Fix non-zero epoch in projets info (bcl@redhat.com) --- .gitignore | 1 + lorax.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 84 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cb0b31b..0e704f3 100644 --- a/.gitignore +++ b/.gitignore @@ -135,3 +135,4 @@ /lorax-29.8.tar.gz /lorax-29.9.tar.gz /lorax-29.10.tar.gz +/lorax-29.11.tar.gz diff --git a/lorax.spec b/lorax.spec index 906a49e..8dd9542 100644 --- a/lorax.spec +++ b/lorax.spec @@ -3,7 +3,7 @@ %define debug_package %{nil} Name: lorax -Version: 29.10 +Version: 29.11 Release: 1%{?dist} Summary: Tool for creating the anaconda install images @@ -166,7 +166,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install # Install example blueprints from the test suite. # This path MUST match the lorax-composer.service blueprint path. mkdir -p $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/ -cp ./tests/pylorax/blueprints/*toml $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/ +for bp in example-http-server.toml example-development.toml example-atlas.toml; do + cp ./tests/pylorax/blueprints/$bp $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/ +done %pre composer getent group weldr >/dev/null 2>&1 || groupadd -r weldr >/dev/null 2>&1 || : @@ -225,8 +227,86 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %files -n composer-cli %{_bindir}/composer-cli %{python3_sitelib}/composer/* +%{_sysconfdir}/bash_completion.d/composer-cli %changelog +* Mon Aug 27 2018 Brian C. Lane 29.11-1 +- Fix composer-cli blueprints changes to get correct total (bcl@redhat.com) +- Fix blueprints/list and blueprints/changes to return the correct total (bcl@redhat.com) +- Add tests for limit=0 routes (bcl@redhat.com) +- Add a function to get_url_json_unlimited to retrieve the total (bcl@redhat.com) +- Fix tests related to blueprint name changes (bcl@redhat.com) +- Add 'example' to the example blueprint names (bcl@redhat.com) +- Use urllib.parse instead of urlparse (bcl@redhat.com) +- In composer-cli, request all results (dshea@redhat.com) +- Add tests for /compose/status filter arguments (dshea@redhat.com) +- Allow '*' as a uuid in /compose/status/ (dshea@redhat.com) +- Add filter arguments to /compose/status (dshea@redhat.com) +- composer-cli should not log to a file by default (bcl@redhat.com) +- Add documentation for using a DVD as the package source (bcl@redhat.com) +- Set TCP listen backlog for API socket to SOMAXCONN (lars@karlitski.net) +- Update Arm architectures for the latest requirements (pbrobinson@gmail.com) +- New lorax documentation - 29.11 (bcl@redhat.com) +- Add a note about using lorax-composer.service (bcl@redhat.com) +- Ignore dnf.logging when building docs (bcl@redhat.com) +- Bring back import-state.service (#1615332) (rvykydal@redhat.com) +- Fix a little bug in running "modules list". (clumens@redhat.com) +- Fix bash_completion.d typo (bcl@redhat.com) +- Move disklabel and UEFI support to compose.py (bcl@redhat.com) +- Fix more tests. (clumens@redhat.com) +- Change INVALID_NAME to INVALID_CHARS. (clumens@redhat.com) +- Update composer-cli for the new error return types. (clumens@redhat.com) +- Add default error IDs everywhere else. (clumens@redhat.com) +- Add error IDs to things that can go wrong when running a compose. (clumens@redhat.com) +- Add error IDs for common source-related errors. (clumens@redhat.com) +- Add error IDs for unknown modules and unknown projects. (clumens@redhat.com) +- Add error IDs for when an unknown commit is requested. (clumens@redhat.com) +- Add error IDs for when an unknown blueprint is requested. (clumens@redhat.com) +- Add error IDs for when an unknown build UUID is requested. (clumens@redhat.com) +- Add error IDs for bad state conditions. (clumens@redhat.com) +- Change the error return type for bad limit= and offset=. (clumens@redhat.com) +- Don't sort error messages. (clumens@redhat.com) +- Fix bash completion of compose info (bcl@redhat.com) +- Add + to the allowed API string character set (bcl@redhat.com) +- Add job_* timestamp support to compose status (bcl@redhat.com) +- Drop .decode from UTF8_TEST_STRING (bcl@redhat.com) +- Add input string checks to the branch and format arguments (bcl@redhat.com) +- Add a test for invalid characters in the API route (bcl@redhat.com) +- Add etc/bash_completion.d/composer-cli (wwoods@redhat.com) +- composer-cli: clean up "list" commands (wwoods@redhat.com) +- Fix logging argument (bcl@redhat.com) +- Update get_system_repo for dnf (bcl@redhat.com) +- Update ConfigParser usage for Py3 (bcl@redhat.com) +- Update StringIO use for Py3 (bcl@redhat.com) +- Add a test for the pylorax.api.timestamp functions (bcl@redhat.com) +- Fix write_timestamp for py3 (bcl@redhat.com) +- Return a JSON error instead of a 404 on certain malformed URLs. (clumens@redhat.com) +- Return an error if /modules/info doesn't return anything. (clumens@redhat.com) +- Update documentation (#409). (clumens@redhat.com) +- Use constants instead of strings (#409). (clumens@redhat.com) +- Write timestamps when important events happen during the compose (#409). (clumens@redhat.com) +- Return multiple timestamps in API results (#409). (clumens@redhat.com) +- Add a new timestamp.py file to the API directory (#409). (clumens@redhat.com) +- Use the first enabled system repo for the test (bcl@redhat.com) +- Show more details when the system repo delete test fails (bcl@redhat.com) +- Add composer-cli function tests (bcl@redhat.com) +- Add a test library (bcl@redhat.com) +- composer-cli: Add support for Group to blueprints diff (bcl@redhat.com) +- Update status.py to use new handle_api_result (bcl@redhat.com) +- Update sources.py to use new handle_api_result (bcl@redhat.com) +- Update projects.py to use new handle_api_result (bcl@redhat.com) +- Update modules.py to use new handle_api_result (bcl@redhat.com) +- Update compose.py to use new handle_api_result (bcl@redhat.com) +- Update blueprints.py to use new handle_api_result (bcl@redhat.com) +- Modify handle_api_result so it can be used in more places (bcl@redhat.com) +- Fix help output on the compose subcommand. (clumens@redhat.com) +- Add timestamps to "compose-cli compose status" output. (clumens@redhat.com) +- And then add real output to the status command. (clumens@redhat.com) +- Add the beginnings of a new status subcommand. (clumens@redhat.com) +- Document that you shouldn't run lorax-composer twice. (clumens@redhat.com) +- Add PIDFile to the .service file. (clumens@redhat.com) +- composer-cli: Fix non-zero epoch in projets info (bcl@redhat.com) + * Fri Jul 20 2018 Brian C. Lane 29.10-1 - New lorax documentation - 29.10 (bcl@redhat.com) - Add dnf.transaction to list of modules for sphinx to ignore (bcl@redhat.com) diff --git a/sources b/sources index fde17cc..0d86063 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lorax-29.10.tar.gz) = cc312b13fd1197a0cfd65b1df55ab83bfd50fcb0965468c382538fdaea78300820cf887073566f65ca3b17b78b83e2a446966821f3fd6b83ca2598851f2dd3c3 +SHA512 (lorax-29.11.tar.gz) = 056a0955a79bb105db7bbdd334575a54da35cc6cbcb99d42ac2d63231c12429d1a5d03a1c0c740973df09cdafdf6f2845b9815018b99486cfdff526b56524021