Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates: Break out build/test summaries #320

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on May 25, 2023

  1. templates: Store emojis in dictionaries

    Store waived/status emojis in dictionaries, keyed by the corresponding
    values, to make it possible to enumerate them.
    
    Might be a good idea to expose the similar mappings from the OO module
    to templates instead, later.
    spbnick authored and mrbazzan committed May 25, 2023
    Configuration menu
    Copy the full SHA
    e681f0f View commit details
    Browse the repository at this point in the history
  2. templates: Add macro to get all build emoji

    This commit adds a macro that populates a dictionary
    with the total count of each emoji in WAIVED_STATUS_EMOJIS
    for a container's build objects.
    mrbazzan committed May 25, 2023
    Configuration menu
    Copy the full SHA
    2df37da View commit details
    Browse the repository at this point in the history
  3. templates: Add macro to get all test emoji

    This commit adds a macro that populates a dictionary
    with the total count of each emoji in WAIVED_STATUS_EMOJIS
    for a container's test_roots objects.
    mrbazzan committed May 25, 2023
    Configuration menu
    Copy the full SHA
    626f801 View commit details
    Browse the repository at this point in the history
  4. templates: Add emoji_counts macro

    This commit adds a public macro called :emoji_counts:
    which is used to generate overview string for BUILDS or TESTS.
    
    This macro simply accepts a variable number of arguments (see
    https://jinja.palletsprojects.com/en/3.0.x/templates/#macros),
    each being an emoji count dictionary, and output the
    overview string for the first one.
    mrbazzan committed May 25, 2023
    Configuration menu
    Copy the full SHA
    945b6b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a3dee0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b3c37e7 View commit details
    Browse the repository at this point in the history