Skip to content

FIX #277#503

Open
pato23arg wants to merge 7 commits intodevelopfrom
u/pvillar-277
Open

FIX #277#503
pato23arg wants to merge 7 commits intodevelopfrom
u/pvillar-277

Conversation

@pato23arg
Copy link
Copy Markdown
Contributor

@pato23arg pato23arg commented Jan 29, 2026

Closes: #277

What's Changed

To Do

  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)
  • Attached Screenshots, Payload Example
  • Unit, Integration Tests
  • Documentation Updates (when adding/changing features)
  • Outline Remaining Work, Constraints from Design

@jeffkala
Copy link
Copy Markdown
Contributor

I'm not sure this is actually the right fix... Most other datasources support multiple repos providing the same thing. Need to get clear understanding and make sure its following the proper POLA.

@pato23arg
Copy link
Copy Markdown
Contributor Author

I'm not sure this is actually the right fix... Most other datasources support multiple repos providing the same thing. Need to get clear understanding and make sure its following the proper POLA.

have multiple repos been actively requested as a feature? what user story would it address?

@jeffkala
Copy link
Copy Markdown
Contributor

I'm not sure this is actually the right fix... Most other datasources support multiple repos providing the same thing. Need to get clear understanding and make sure its following the proper POLA.

have multiple repos been actively requested as a feature? what user story would it address?

Not that I'm aware of, just saying we support it nearly everywhere else.

  • can have multiple repos doing config context
  • can have multiple repos doing GC backups
  • etc.

I think for the current issue I'm good with your fix, just saying we should at least put multiple repo support in an feature request to track if people want it.

@jeffkala
Copy link
Copy Markdown
Contributor

any unittest we can add to test this?

@pato23arg
Copy link
Copy Markdown
Contributor Author

I'm not sure this is actually the right fix... Most other datasources support multiple repos providing the same thing. Need to get clear understanding and make sure its following the proper POLA.

have multiple repos been actively requested as a feature? what user story would it address?

Not that I'm aware of, just saying we support it nearly everywhere else.

* can have multiple repos doing config context

* can have multiple repos doing GC backups

* etc.

I think for the current issue I'm good with your fix, just saying we should at least put multiple repo support in an feature request to track if people want it.

makes sense, would it make sense to wait for FR or put one out there to see if it gains traction?

@pato23arg
Copy link
Copy Markdown
Contributor Author

any unittest we can add to test this?

absolutely, I can do that.

@jeffkala
Copy link
Copy Markdown
Contributor

I'm not sure this is actually the right fix... Most other datasources support multiple repos providing the same thing. Need to get clear understanding and make sure its following the proper POLA.

have multiple repos been actively requested as a feature? what user story would it address?

Not that I'm aware of, just saying we support it nearly everywhere else.

* can have multiple repos doing config context

* can have multiple repos doing GC backups

* etc.

I think for the current issue I'm good with your fix, just saying we should at least put multiple repo support in an feature request to track if people want it.

makes sense, would it make sense to wait for FR or put one out there to see if it gains traction?

Please put in an FR in the repo and we will use that to track

@pato23arg
Copy link
Copy Markdown
Contributor Author

any unittest we can add to test this?

absolutely, I can do that.

tests IN.

@mzbroch mzbroch self-requested a review March 3, 2026 08:48
@pato23arg pato23arg requested a review from cdtomkins as a code owner March 25, 2026 15:54
@cdtomkins
Copy link
Copy Markdown
Contributor

Also please fix To Do, improve description and fix up the checks that are failing. The code improvement itself looks good, thanks!

pato23arg and others added 7 commits March 26, 2026 12:26
Refactor get_git_repo to use .get() for better error handling.
	modified:   nautobot_device_onboarding/nornir_plays/transform.py
	modified:   nautobot_device_onboarding/tests/test_transform.py
	modified:   nautobot_device_onboarding/tests/test_transform.py
	modified:   nautobot_device_onboarding/tests/test_transform.py
@pato23arg
Copy link
Copy Markdown
Contributor Author

Also please fix To Do, improve description and fix up the checks that are failing. The code improvement itself looks good, thanks!

I think formatter tests are broken for nautobot3.0. You prob don't see that in develop as I see these tests are skipped.

@cdtomkins
Copy link
Copy Markdown
Contributor

Could you please import the latest tests from develop into your branch to match the skipped tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git Overrides don't work with multiple provides in the same datasource

4 participants