15
0
forked from pool/python-ara
Commit Graph

18 Commits

Author SHA256 Message Date
3552060d78 Accepting request 1226211 from home:glaubitz:branches:devel:languages:python
- Update to 1.7.2
  * When recording diffs, properly format and display the "prepared" key
    for the modules that use it (apt, git, cli_config and others)
  * Sorting task results by duration when browsing playbook results works once again
  * Updated bootstrap css from 5.3.0 to 5.3.3
  * Catch SIGINT and SIGTERM signals resulting in the interruption of playbooks to
    set the status of the playbook to "expired" instead of keeping it running forever
    unless expired with `ara playbook expire` from the CLI.
  * Add support for UTF-8 encoded usernames and passwords
  * Add .readthedocs.yaml to fix broken documentation builds
  * Formally include ara as a dependency in order to include --help commands in the docs
  * Added an introduction page
  * Made dependency on ruamel.yaml explicit rather than implicit
  * Update usage of logging.warn to logging.warning for
    python 3.13
  * Updated versions of Ansible tested in CI to Ansible 10 and ansible-core 2.17

OBS-URL: https://build.opensuse.org/request/show/1226211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=34
2024-11-28 17:33:51 +00:00
833f24d21f Accepting request 1164376 from home:mcalabkova:branches:devel:languages:python
- Update to 1.7.1
  * Address deprecation of yaml.dump in ruamel.yaml when generating
    the default server settings.yaml file (#524)
  * Don't use setuptools/pkg_resources to retrieve the version of ara
    since it is not always installed by default.

OBS-URL: https://build.opensuse.org/request/show/1164376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=32
2024-04-04 11:47:27 +00:00
cd657be34e - update to 1.7.0:
* Update bootstrap CSS from 4.6.0 to 5.3.0 and fix broken layout
    and components as a result of the update
  * Removed separate light/dark themes via bootstrap-darkly and
    bootstrap-flatly: bootstrap 5.3 features a new built-in dark
    theme
  * Re-worked the dark/light theme selection to match the new
    bootstrap built-in dark theme including pygments highlighting
    for pretty-printed output
  * Removed jquery, it is no longer required with bootstrap
  * Re-worked implementation of file line highlighting since it
    relied on jquery
  * Fixed tooltip implementation (i.e, for task tags) since the
    implementation in bootstrap had changed
  * Large chunks of templating were moved out to partials/tables and
    partials/search in order to improve readability.
  * Round of template cleanups and fixes as reported by djlint
  * Will continue to be a work in progress to simplify and standardize
    templates.
  * Raised the requirement on django from >=3.2,<3.3 to >=3.2,<4.3 to
    allow installation with the latest LTS release of django.
   * Raised the requirement on python from >=3.6 to >=3.8 to accomodate
    django 4.2.
  * Ignored Django warning about the lack of a STATIC_ROOT directory.
    ara uses whitenoise for serving static files which makes the warning
    superfluous. (#492)
  --
  --
  ---
  ---

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=30
2023-11-25 14:08:12 +00:00
4d61a51811 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=28
2023-07-18 15:54:03 +00:00
c4a90a587b - Clean up the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=26
2023-07-12 16:43:17 +00:00
4096b20e5e Accepting request 992738 from home:ohollmann:branches:devel:languages:python
- Update to 1.5.8:
  Callback plugin
  ---------------
  - Improved debug logging to include some hooks that were missing (#374)
  - Added a localhost_to_hostname toggle in the callback (#336)
    This adds two configuration parameters to the callback:
    - ARA_LOCALHOST_AS_HOSTNAME
    - ARA_LOCALHOST_AS_HOSTNAME_FORMAT
    These are useful in use cases where playbooks are run against localhost,
    whether directly (with ansible-playbook) or indirectly (via
    ansible-pull).
    When enabled, ara will save results under the hostname (or fqdn) of
    'localhost' instead of associating every result to localhost.
    This is meant to make it easier to distinguish results between different
    hosts even though the playbooks may have all run against 'localhost'.
  Server
  ------
  - Added a setting for CSRF_TRUSTED_ORIGINS (#345)
  - Fixed logging configuration to avoid conflicting with ansible (#367)
    See upgrade notes for changes to the server's settings.yaml.
  UI
  --
  - API browser: disable forms to improve performance (#323)
  - Include the version of ara when generating static reports (#318)
  - Add a column in task results for displaying the task's tags (#281,#375)
  CLI
  ---
  - Added "--latest" to "ara host list" to show only the latest playbook (#327)
  Docs
  ----

OBS-URL: https://build.opensuse.org/request/show/992738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=24
2022-08-04 12:30:22 +00:00
061a01c97b Accepting request 913964 from home:glaubitz:branches:devel:languages:python
- Update to 1.5.7:
  UI
  --    
  - Added a new "hosts" page to browse and search reports by host name
  - Improved page HTML titles to be dynamic based on the context
  - Added a note highlighting if a task has been delegated to another host
    (https://github.com/ansible-community/ara/issues/282)
  - Improved how long file paths or playbook names are truncated and displayed
  API
  ---
  - Added a new read-only API endpoint: /api/v1/latesthosts
    It provides the latest playbook result for each host name.
    Under the hood, it implements the machinery for updating the latest host
    every time a host is created or deleted and includes a SQL migration to
    initially populate a new database table with the latest hosts.
  - Added a `delegated_to` field to results in order to record a host id to which
    a task has been delegated.
  - Added support for finding results delegated to a specific host:
    /api/v1/results?delegated_to=<host_id>
  Callback plugin
  ---------------
  - Fixed tasks and results being recorded out of order when using "strategy: free"
    (https://github.com/ansible-community/ara/issues/260)
  - Added support for recording 'delegate_to' on tasks
  Documentation
  -------------
  - Removed an unused sphinx lexer to allow recent versions of sphinx>=4
  - Created a new troubleshooting guide with common issues:
    https://ara.readthedocs.io/en/latest/troubleshooting.html
  - Added a database relationship graph to the endpoint documentation:

OBS-URL: https://build.opensuse.org/request/show/913964
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=23
2021-08-28 17:13:16 +00:00
9ad947c0ee - update to 1.5.4:
- ara playbook metrics: provides stats aggregated by name, path, ansible version or controller
  - ara host metrics: provides task result stats for hosts across playbooks
  - ara task metrics: provides duration stats aggregated by task name, action/module or path
  - Threading is now disabled by default to avoid running into sqlite locking contention
    For details, see: https://github.com/ansible-community/ara/issues/195
  - The callback didn't provide a timezone for timestamps which could result in a wrong
    interpretation by the API server. Timestamps are now provided as UTC.
  - The hostname of the controller that ran the playbook is now recorded by ara
  - ARA API server container images are now published to quay.io/recordsansible/ara-api
    in addition to hub.docker.com/r/recordsansible/ara-api.
  - The 'which' package is now installed as a dependency
  - Removed a temporary workaround for dynaconf switching from PyYAML to ruamel.yaml
  - Added missing information about the play when browsing details for a task result
- switch to single build, this is a ansible plugin and cli tool

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=21
2021-03-15 08:29:05 +00:00
9106fe20ed - Update to 1.5.3:
* Significant performance improvement by running non-blocking API calls in threads
  * Handler tasks are now also recorded in addition to regular tasks
  * API
    + Add support for searching handler tasks (ex: /api/v1/tasks?handler=true)
  * UI
    + Hosts in the playbook report are now sorted alphabetically by hostname
    + Added a column to display the number of tasks in the playbook summary

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=19
2020-11-12 03:50:08 +00:00
b679b56cf9 - Update to 1.5.1:
* A new 'ara' CLI API client is now available.
  * New settings have been added:
    + ARA_EXTERNAL_AUTH for enabling Django's external authentication.
    + ARA_DATABASE_OPTIONS for passing options to the Django database
      backend such as SSL.
  * Nested children resources are no longer returned, improving performance
    considerably for larger playbooks.
  * A new status was added for playbooks, plays and tasks: "expired".
  * URLs have been pluralized to match the endpoints provided by the API.
  * The introduction of the new CLI adds a requirement on the cliff python
    library.
  * ara 1.5.0 introduces significant API changes, some of which aren't
    backwards compatible such as no longer returning nested resources.
  * Two small SQL migrations have been added to remove result statuses and
    add the expired status for playbooks, plays and tasks. Run them with
    "ara-manage migrate".

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=17
2020-09-30 04:19:13 +00:00
d5275e84dd - Update to 1.4.3:
* Improvements to the interface scaling and rendering for mobile devices
  * The playbook index has been refactored from a list of cards to a table view
  * and searching/filtering controls are no longer hidden in a submenu
  * Sorting by playbook date and duration is now built into the table headers
  * The Ansible CLI arguments are now available from the playbook index
  * The host stats summary now displays colors and icons for the different
    statuses
  * Task result columns were re-ordered and statuses now have colors and icons
  * Long task results or host facts should no longer render off-screen
  * Added search for ignore_errors in results
  * Added search for task by action
  * Adjusted search for file paths to be partial
  * Added search for task by path

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=15
2020-09-15 06:03:42 +00:00
Tomáš Chvátal
552a8429ce Accepting request 809554 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809554
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=13
2020-05-28 07:33:58 +00:00
9ed0a539ce - Update to 1.4.0:
* Added support for searching plays, tasks and hosts by name
  * Added support for searching playbooks by label
  * Fixed label representation to be consistent through different calls
  * Reversed the default sort order for playbooks, plays, tasks and results
  * Validate that settings.yaml (or ARA_SETTINGS) exists before launching (thank you @zswanson!)
  * Template the default settings file without objects generated by python-box
  * Added a default robots.txt to prevent crawling
  * Added support for searching by label
  * Improved the display of labels in the playbook list
  * Added pagination support when browsing the playbook report list
  * Use relative links for pagination (thank you @flowerysong !)
  * Bumped included patternfly CSS from 2.21.5 to 2.56.3
  * Provide sensible PATH defaults when virtualenvs are not used
  * Added support for installing from Fedora packages
  * Only run SQL migrations once when necessary
  * Allow retries when attempting to run SQL migrations
  * Ensure settings.yaml permissions are 0640
  * Added "ara_api_secure_logging" variable to control behavior of sensitive tasks with no_log
  * Properly default to IPv6 when no IPv4 is available
  * Default gunicorn worker count based on number of available CPU cores
  * Added support for deploying on EL8
  * New Ansible plugins: ara_playbook and ara_api
  * Improved consistency of stored task results (thank you @flowerysong!)
  * Fix bad logic when determining if labels should be updated
  * Added support for not saving files based on patterns (thank you @LaurentDumont!)
  * Added support for specifying default playbook labels
  * 1.4 introduces a new SQL migration to ensure labels are unique. If upgrading
    from a previous version, you will need to run SQL migrations with ``ara-manage migrate``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=11
2020-05-07 06:32:12 +00:00
Tomáš Chvátal
437af92209 Accepting request 765332 from home:mcalabkova:branches:devel:languages:python
- update to 1.3.2
  * ara_api role: add support for installing from fedora packages
  * ara_api role: provide sensible PATH defaults without venv
  * api: Use basename instead of base_name in URL mapping
  * Bump Ansible versions in CI tests
  * callback: recover host facts for setup *and* gather_facts
  * cli: Add ara-manage prune to delete old playbooks
  * Remove f-strings to remove requirement on py36
  * api: Add support for ordering objects by fields
  * API client: Add support for disabling SSL verification
  * add django-healthcheck and /healthcheck/ endpoint
  * Ensure endpoint doesn't contain trailing slash
  * API: Use local timezone by default instead of UTC
  * UI: Autoescape untrusted content
  * Add a simple built-in web interface

OBS-URL: https://build.opensuse.org/request/show/765332
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=9
2020-01-17 18:09:15 +00:00
Tomáš Chvátal
1027a8f59a Accepting request 732867 from home:pgajdos
- version update to 1.1.0
  * Added support for dynamically serving multiple sqlite databases
    dynamically from a single API server instance [1]
  * ara_record no longer instanciates it's own API client and will
    instead retrieve the client instance used by the callback.
  * Django's CONN_MAX_AGE database setting for configuring the
    duration of a database connection is now exposed [2]
  * The ARA API client timeout as configured by Ansible through the
    callback plugin is now always an integer.
  * The offline API client now has an argument to prevent SQL
    migrations from running automatically [3]
- test package (multibuild)

OBS-URL: https://build.opensuse.org/request/show/732867
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=7
2019-09-24 08:45:20 +00:00
Tomáš Chvátal
b2d73a439f Accepting request 713331 from home:itxaka:branches:openSUSE:Factory
- Move some requirements into recommends.
  Ara has changed and its no longer bundling the server with the
  main package, so most of the requirements related to the
  django server can be moved into recommends. Ara will raise a
  message if a user tries to execute the server part but the
  requirements are missing.

OBS-URL: https://build.opensuse.org/request/show/713331
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=5
2019-07-08 08:45:32 +00:00
Tomáš Chvátal
3ab5dd8e5c Accepting request 712638 from home:jengelh:branches:devel:languages:python
- Update descriptions.

OBS-URL: https://build.opensuse.org/request/show/712638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=3
2019-07-01 06:20:54 +00:00
fe49f3998a - Initial packaging (version 1.0.1)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=1
2019-06-19 11:49:48 +00:00