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

fixes out of scope logs, fix git repo provides #288

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jeffkala
Copy link
Contributor

Fixes #277
Fixes #287

Using a __contains method that I still need to test using mysql. Its working for psql as expected.

@jeffkala
Copy link
Contributor Author

Valdiated its working in mysql as well

In [1]: GitRepository.objects.filter(
   ...:             provided_contents__contains="nautobot_device_onboarding.onboarding_command_mappers"
   ...:         )
Out[1]: <RestrictedQuerySet [<GitRepository: command mapper overloads>]>

In [2]: 

In [2]: GitRepository.objects.first().provided_contents
Out[2]: ['extras.job', 'nautobot_device_onboarding.onboarding_command_mappers']

@jeffkala jeffkala marked this pull request as ready for review December 17, 2024 20:27
Copy link
Contributor

@scetron scetron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leo added a PR covering the git repo issues and added a bit more around it. Please have a look and see if those changes make more sense to include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants