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

Job Log Model #1030

Merged
merged 30 commits into from Dec 13, 2021
Merged

Job Log Model #1030

merged 30 commits into from Dec 13, 2021

Commits on Oct 25, 2021

  1. Create JobLogEntry and migrations.

    This adds the JobLogEntry and migrations to convert existing
    logs from JobResult to the new Model.
    smk4664 committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    2d752eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3aa0b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99676bd View commit details
    Browse the repository at this point in the history
  4. Convert views to use generic.objectview and django-tables2.

    This also removed duplicate views. Ensured that existing
    functionality was kept between the views.
    smk4664 committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    0deff07 View commit details
    Browse the repository at this point in the history
  5. Correct git repository deletion bug.

    Since the deletion of git repositories happens outside of
    the worker, the job_logs db was not able to find the job_resutl.
    Since this does not run in transaction.atomic, we don't need the
    job_logs db.
    smk4664 committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    45dbaf4 View commit details
    Browse the repository at this point in the history
  6. Update nautobot/docs/additional-features/jobs.md

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    31a72b4 View commit details
    Browse the repository at this point in the history
  7. Update nautobot/docs/models/extras/jobresult.md

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    121a62f View commit details
    Browse the repository at this point in the history
  8. Update nautobot/docs/additional-features/jobs.md

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    31b9f94 View commit details
    Browse the repository at this point in the history
  9. Update nautobot/extras/datasources/git.py

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    0bc4bbb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7f7720e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d48404a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7928e4a View commit details
    Browse the repository at this point in the history
  13. Remove unused imports.

    smk4664 committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    7c72484 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2021

  1. Merge branch 'next' of github.com:nautobot/nautobot into JobResults

    # Conflicts:
    #	nautobot/extras/tables.py
    #	nautobot/extras/tests/test_models.py
    smk4664 committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    6fec78c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad5788c View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Address feedback from PR.

    smk4664 committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    8e09e96 View commit details
    Browse the repository at this point in the history
  2. Black recent changes.

    smk4664 committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    ed9e2aa View commit details
    Browse the repository at this point in the history
  3. Update nautobot/docs/models/extras/jobresult.md

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    a4d9615 View commit details
    Browse the repository at this point in the history
  4. Update nautobot/extras/models/models.py

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    ed47263 View commit details
    Browse the repository at this point in the history
  5. Update nautobot/extras/models/models.py

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    d7fc021 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e5083e View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Display error message if the job log table is not available.

    This will only happen when including the extras/inc/jobresult.html
    from within a plugin and not providing the table. This will help
    plugins such as the Nautobot SSOT with the transition.
    smk4664 committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    332ba95 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Update nautobot/extras/templates/extras/jobresult.html

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    d0f0585 View commit details
    Browse the repository at this point in the history
  2. Update nautobot/extras/tests/test_models.py

    Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
    smk4664 and glennmatthews committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    9ed41ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0c0e032 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Update nautobot/docs/models/extras/joblogentry.md

    Co-authored-by: Jathan McCollum <jathan@gmail.com>
    smk4664 and jathanism committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    eef30c0 View commit details
    Browse the repository at this point in the history
  2. Update nautobot/docs/models/extras/jobresult.md

    Co-authored-by: Jathan McCollum <jathan@gmail.com>
    smk4664 and jathanism committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    721953e View commit details
    Browse the repository at this point in the history
  3. Update nautobot/docs/models/extras/joblogentry.md

    Co-authored-by: Jathan McCollum <jathan@gmail.com>
    smk4664 and jathanism committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    4563c4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4819cfe View commit details
    Browse the repository at this point in the history
  5. Black

    smk4664 committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    6561bbb View commit details
    Browse the repository at this point in the history