[PR #13324] [MERGED] Closes #12906: Make boto3 & dulwich libraries optional #14155

Closed
opened 2025-12-29 23:22:53 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13324
Author: @jeremystretch
Created: 7/31/2023
Status: Merged
Merged: 8/1/2023
Merged by: @jeremystretch

Base: featureHead: 12906-boto3-optional


📝 Commits (4)

📊 Changes

7 files changed (+91 additions, -49 deletions)

View changed files

📝 base_requirements.txt (+0 -8)
📝 docs/features/synchronized-data.md (+4 -0)
📝 docs/installation/3-netbox.md (+16 -0)
📝 netbox/core/data_backends.py (+39 -16)
📝 netbox/core/models/data.py (+12 -5)
📝 netbox/templates/core/datasource.html (+20 -18)
📝 requirements.txt (+0 -2)

📄 Description

Closes: #12906

  • Refactor DataBackend class to separate config initialization from fetch()
  • Move boto3 & dulwich imports into their respective backend classes
  • Optimize display of backend parameters in data source template
  • Update installation docs

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/13324 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/31/2023 **Status:** ✅ Merged **Merged:** 8/1/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `12906-boto3-optional` --- ### 📝 Commits (4) - [`cb7cf1f`](https://github.com/netbox-community/netbox/commit/cb7cf1f66af937d1f8fd22b6e7d72b0222c72261) Initial work on #12906 - [`a9450a1`](https://github.com/netbox-community/netbox/commit/a9450a1929a1f9a640b540db7db5ab03af051da8) Catch import errors during backend init - [`b4739cc`](https://github.com/netbox-community/netbox/commit/b4739cc7e7d6b3484862be6ddabe86ac97cf7e72) Tweak error message - [`6ae50b5`](https://github.com/netbox-community/netbox/commit/6ae50b58b71ebfd2ad7f20c6e5368bb28ffbf84a) Update requirements & add note to docs ### 📊 Changes **7 files changed** (+91 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `base_requirements.txt` (+0 -8) 📝 `docs/features/synchronized-data.md` (+4 -0) 📝 `docs/installation/3-netbox.md` (+16 -0) 📝 `netbox/core/data_backends.py` (+39 -16) 📝 `netbox/core/models/data.py` (+12 -5) 📝 `netbox/templates/core/datasource.html` (+20 -18) 📝 `requirements.txt` (+0 -2) </details> ### 📄 Description ### Closes: #12906 - Refactor `DataBackend` class to separate config initialization from `fetch()` - Move boto3 & dulwich imports into their respective backend classes - Optimize display of backend parameters in data source template - Update installation docs --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:22:53 +01:00
adam closed this issue 2025-12-29 23:22:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14155