Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Closed Enhancement MAR-130 Reduce Python virtual environment checks to once per day
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Enhancement
  • Category
    Not determined
  • Targetted for
    3.0.0
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    2 hours
  • Time spent
    2 hours
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

The common role provides mechanism for performing Python virtual environment checks via the pip-tools suite of utilities. The current implementation suffers from a couple of drawbacks:

  • The check is performed on hourly basis, resulting in a lot of mails being sent out to the administrator, since the administrator will most likely not apply update immediately (since those very often need to be verified for breakage etc).
  • The script that performs the check requires that all of the .in files have a corresponding .txt file, and produces warnings otherwise. This becomes annoying when the -r inclusion options are used within input files, since it will often result in multiple files getting checked (while we only want to do so for a single file that is actually used by an application).

The following should be done:

  • Update the common role to run the Python virtual environment package update checks only once per day.
  • Update the common role script that performs Python virtual environment package update checks to ignore .in requirements files without corresponding .txt file. Lower the message to info instead of warning.
  • Update role reference documentation to reference the new frequency.
  • Update release notes.
Todos (0 / 0)
There are no comments