15
0
forked from pool/python-ara

Accepting request 1099400 from devel:languages:python

- Update to 1.6.1 (2022-12-12):
  - callback: Changed how ANSIBLE_TMP is found to work around a
    behavior change in ansible-core 2.14 that ended up creating a
    directory named {{ ANSIBLE_HOME ~ "
  - Added a mysql extra to the python packaging for installing
    the mysqlclient library. This is in addition to the existing
    server and postgresql extra. They are used like this: pip
    install ara[server,mysql,postgresql]
- Update 1.6.0 (2022-12-01):
  It features a new "tasks" page to browse and search for
  tasks across playbook runs as well as many updates, fixes and
  improvements.
  - UI
    - Added a new "Tasks" page similar to the existing pages
      for Playbooks and Hosts. It provides a browseable and
      searchable overview of tasks across playbook runs.
    - Refreshed the host index page:
      - Added a column as well as search arguments for playbook
        name (or path)
      - Replaced the playbook status by a concise summary of task
        status for the host
    - Updated the playbook summary card to include the playbook
      id, the version of ara as well as the version of python.
    - Re-ordered and resized columns in tables to optimize width
      and improve consistency
    - Resized and aligned fields in search forms to use the full
      width available
    - Improved how task tags are displayed
    - Updated HTML page titles to be consistent across pages
    - Replaced fields for searching by task ID and host ID by
      task name and host name
    - Truncate name fields to prevent exceedinly large names to
      distort entire tables
    - Corrected card header font sizes in the host report page
  - callback plugin
    - Added support for recording the user who ran the playbook
    - Added support for recording the version of ara as well as
      the version of python used when running the playbook
    - Added options ARA_RECORD_USER and ARA_RECORD_CONTROLLER
      that can be set to false to avoid recording the user and
      controller hostname
    - Added support for specifying a SSL key, certificate and
      certificate authority for authenticating with a remote ara
      API server using ARA_API_KEY, ARA_API_CERT and ARA_API_CA
      respectively.
    - Fixed host fact recording to ensure it works when using
      FQCN-style tasks (ex: setup & ansible.builtin.setup)
    - Increased reliability and accuracy when recording results
      that can arrive out of order when using multi-threading
      or the free strategy by using the task uuid provided by
      Ansible
    - Truncate playbook, play, host and label names in
      circumstances where their length exceeds 255 characters
    - Ignore and don't record files in ~/.ansible/tmp by default
  - API Server
    - Bumped django requirement from 2.2 LTS to 3.2 LTS and
      removed the pin on the version of psycopg2 accordingly
    - Added a new configuration option, ARA_BASE_PATH, to let
      the server listen on an alternate path. It will continue
      to default to "/" but it could, for example, be set to
      "/ara/".
    - Lifted requirement on tzlocal, improve timezone detection
      and mitigate when the timezone can't be found by defaulting
      to UTC
  - Several new database model and API fields:
    - Added client_version and server_version fields to
      playbooks, meant to represent the version of the ara
      callback and server used in recording the playbook
    - Added python_version field to playbooks to save the version
      of python used by Ansible and the callback plugin when
      recording a playbook
    - Added a new "failed" status for tasks that is used by the
      callback plugin when there is at least one failed result
      for a given task
    - Added a new "uuid" field for tasks which is the uuid
      provided by Ansible for a task. It is used by the callback
      plugin to increase the reliability and accuracy when
      recording results even if they arrive out of order.
  - Several fixes and improvements for the distributed sqlite
    database backend:
    - Added a new index page for listing and linking to available
      databases. This is a work in progress that is intended to
      be improved in the future.
    - Return a HTTP 405 error when trying to write to read-only
      endpoints
    - Fixed the /healthcheck/ endpoint to make sure it is routed
      properly
    - Improved database engine settings and WSGI application
      configuration The WSGI application should now always
      be "ara.server.wsgi" instead of needing to specify
      "ara.server.wsgi.distributed_sqlite"
  - API client
    - Added support for specifying a SSL key, certificate and
      certificate authority for authenticating with a remote ara
      API server
    - Remove InsecureRequestWarning for insecure requests when
      SSL verification is not enabled.
  - CLI
    - Fixed wrong parsing of durations longer than 24 hours
    - Added support for searching playbooks by user
    - Added support for specifying a SSL key, certificate and
      certificate authority for authenticating with a remote ara
      API server using ARA_API_KEY, ARA_API_CERT and ARA_API_CA
      respectively.
  - Docs
    - Refreshed and improved the README, reformatted it from rst
      to markdown
    - Added a CONTRIBUTING.md file and refreshed contribution
      documentation
    - Explicitly call out and recommend setting up authentication
      for production use in order to prevent leaking sensitive
      information
    - Improved troubleshooting documentation and tips to improve
      playbook recording performance

OBS-URL: https://build.opensuse.org/request/show/1099400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ara?expand=0&rev=15
This commit is contained in:
2023-07-19 17:10:59 +00:00
committed by Git OBS Bridge
4 changed files with 124 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e0c04ff25f1aebcae2d4277b3a4e10afee0ad60822cdffeab38969505c69d48
size 8665422

3
ara-1.6.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90812ee38308b87db357d34f9fd9dd422c87edb3cdc0248a83f65b1bf0691b6d
size 16578141

View File

@@ -1,3 +1,121 @@
-------------------------------------------------------------------
Tue Jul 18 15:42:54 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Update to 1.6.1 (2022-12-12):
- callback: Changed how ANSIBLE_TMP is found to work around a
behavior change in ansible-core 2.14 that ended up creating a
directory named {{ ANSIBLE_HOME ~ "
- Added a mysql extra to the python packaging for installing
the mysqlclient library. This is in addition to the existing
server and postgresql extra. They are used like this: pip
install ara[server,mysql,postgresql]
- Update 1.6.0 (2022-12-01):
It features a new "tasks" page to browse and search for
tasks across playbook runs as well as many updates, fixes and
improvements.
- UI
- Added a new "Tasks" page similar to the existing pages
for Playbooks and Hosts. It provides a browseable and
searchable overview of tasks across playbook runs.
- Refreshed the host index page:
- Added a column as well as search arguments for playbook
name (or path)
- Replaced the playbook status by a concise summary of task
status for the host
- Updated the playbook summary card to include the playbook
id, the version of ara as well as the version of python.
- Re-ordered and resized columns in tables to optimize width
and improve consistency
- Resized and aligned fields in search forms to use the full
width available
- Improved how task tags are displayed
- Updated HTML page titles to be consistent across pages
- Replaced fields for searching by task ID and host ID by
task name and host name
- Truncate name fields to prevent exceedinly large names to
distort entire tables
- Corrected card header font sizes in the host report page
- callback plugin
- Added support for recording the user who ran the playbook
- Added support for recording the version of ara as well as
the version of python used when running the playbook
- Added options ARA_RECORD_USER and ARA_RECORD_CONTROLLER
that can be set to false to avoid recording the user and
controller hostname
- Added support for specifying a SSL key, certificate and
certificate authority for authenticating with a remote ara
API server using ARA_API_KEY, ARA_API_CERT and ARA_API_CA
respectively.
- Fixed host fact recording to ensure it works when using
FQCN-style tasks (ex: setup & ansible.builtin.setup)
- Increased reliability and accuracy when recording results
that can arrive out of order when using multi-threading
or the free strategy by using the task uuid provided by
Ansible
- Truncate playbook, play, host and label names in
circumstances where their length exceeds 255 characters
- Ignore and don't record files in ~/.ansible/tmp by default
- API Server
- Bumped django requirement from 2.2 LTS to 3.2 LTS and
removed the pin on the version of psycopg2 accordingly
- Added a new configuration option, ARA_BASE_PATH, to let
the server listen on an alternate path. It will continue
to default to "/" but it could, for example, be set to
"/ara/".
- Lifted requirement on tzlocal, improve timezone detection
and mitigate when the timezone can't be found by defaulting
to UTC
- Several new database model and API fields:
- Added client_version and server_version fields to
playbooks, meant to represent the version of the ara
callback and server used in recording the playbook
- Added python_version field to playbooks to save the version
of python used by Ansible and the callback plugin when
recording a playbook
- Added a new "failed" status for tasks that is used by the
callback plugin when there is at least one failed result
for a given task
- Added a new "uuid" field for tasks which is the uuid
provided by Ansible for a task. It is used by the callback
plugin to increase the reliability and accuracy when
recording results even if they arrive out of order.
- Several fixes and improvements for the distributed sqlite
database backend:
- Added a new index page for listing and linking to available
databases. This is a work in progress that is intended to
be improved in the future.
- Return a HTTP 405 error when trying to write to read-only
endpoints
- Fixed the /healthcheck/ endpoint to make sure it is routed
properly
- Improved database engine settings and WSGI application
configuration The WSGI application should now always
be "ara.server.wsgi" instead of needing to specify
"ara.server.wsgi.distributed_sqlite"
- API client
- Added support for specifying a SSL key, certificate and
certificate authority for authenticating with a remote ara
API server
- Remove InsecureRequestWarning for insecure requests when
SSL verification is not enabled.
- CLI
- Fixed wrong parsing of durations longer than 24 hours
- Added support for searching playbooks by user
- Added support for specifying a SSL key, certificate and
certificate authority for authenticating with a remote ara
API server using ARA_API_KEY, ARA_API_CERT and ARA_API_CA
respectively.
- Docs
- Refreshed and improved the README, reformatted it from rst
to markdown
- Added a CONTRIBUTING.md file and refreshed contribution
documentation
- Explicitly call out and recommend setting up authentication
for production use in order to prevent leaking sensitive
information
- Improved troubleshooting documentation and tips to improve
playbook recording performance
-------------------------------------------------------------------
Wed Jul 12 16:43:03 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@@ -28,7 +28,7 @@
# plugin for Ansible package
%define pythons python3
Name: python-ara
Version: 1.5.8
Version: 1.6.1
Release: 0
Summary: ARA Records Ansible
License: GPL-3.0-or-later
@@ -44,7 +44,7 @@ Requires: python-pbr >= 2.0.0
Requires: python-requests >= 2.14.2
Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-Django >= 2.1.5
Recommends: python-Django >= 3.2
Recommends: python-django-cors-headers
Recommends: python-django-filter
Recommends: python-djangorestframework >= 3.9.1
@@ -101,7 +101,7 @@ ara-manage test ara
%python_uninstall_alternative ara-manage
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/ara
%python_alternative %{_bindir}/ara-manage