[PR #10715] [MERGED] 7961 CSV bulk update #13679

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10715
Author: @arthanson
Created: 10/20/2022
Status: Merged
Merged: 10/27/2022
Merged by: @jeremystretch

Base: featureHead: 7961-csv-bulk-update


📝 Commits (10+)

  • b97e3c9 7961 add csv bulk update
  • 0876c74 temp checkin - blocked
  • 3d66012 Merge branch 'feature' into 7961-csv-bulk-update
  • 1ecf51e 7961 bugfix and cleanup
  • 9e9b6c7 7961 change to id, add docs
  • 8783512 7961 add tests cases
  • 5ed5895 7961 fix does not exist validation error
  • 3c32968 7961 fix does not exist validation error
  • a9ce585 7961 update tests
  • 5fbcdc7 7961 update tests

📊 Changes

13 files changed (+715 additions, -117 deletions)

View changed files

📝 docs/getting-started/populating-data.md (+3 -1)
📝 netbox/circuits/tests/test_views.py (+40 -6)
📝 netbox/dcim/forms/bulk_import.py (+3 -3)
📝 netbox/dcim/tests/test_views.py (+252 -42)
📝 netbox/extras/tests/test_views.py (+38 -2)
📝 netbox/ipam/forms/bulk_import.py (+2 -2)
📝 netbox/ipam/tests/test_views.py (+155 -32)
📝 netbox/netbox/views/generic/bulk_views.py (+48 -5)
📝 netbox/tenancy/tests/test_views.py (+44 -6)
📝 netbox/utilities/forms/utils.py (+9 -4)
📝 netbox/utilities/testing/views.py (+43 -0)
📝 netbox/virtualization/tests/test_views.py (+47 -8)
📝 netbox/wireless/tests/test_views.py (+31 -6)

📄 Description

Fixes: #7961

Adds bulk update to CSV import if "id" is included in the CSV data.


🔄 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/10715 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 10/20/2022 **Status:** ✅ Merged **Merged:** 10/27/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `7961-csv-bulk-update` --- ### 📝 Commits (10+) - [`b97e3c9`](https://github.com/netbox-community/netbox/commit/b97e3c9f6aa6fc999b20d1c6736563d30a19f59b) 7961 add csv bulk update - [`0876c74`](https://github.com/netbox-community/netbox/commit/0876c748cf731c6f60784e0317cbaf58cf4e468b) temp checkin - blocked - [`3d66012`](https://github.com/netbox-community/netbox/commit/3d660123298813d41b6feb6b6ed3bad72bc6316d) Merge branch 'feature' into 7961-csv-bulk-update - [`1ecf51e`](https://github.com/netbox-community/netbox/commit/1ecf51e492d8c1e2d69790b22b242d7a69b8a4ff) 7961 bugfix and cleanup - [`9e9b6c7`](https://github.com/netbox-community/netbox/commit/9e9b6c7da3cbfd72ba04a0708caf887424b45722) 7961 change to id, add docs - [`8783512`](https://github.com/netbox-community/netbox/commit/878351285baae56ecd3ca7b0088c7967ee8e9c49) 7961 add tests cases - [`5ed5895`](https://github.com/netbox-community/netbox/commit/5ed58959e9a279b90d93e95785cf3bf6fac7dce1) 7961 fix does not exist validation error - [`3c32968`](https://github.com/netbox-community/netbox/commit/3c32968b5f33fb14c8e511e5de31bb0adf6334b7) 7961 fix does not exist validation error - [`a9ce585`](https://github.com/netbox-community/netbox/commit/a9ce58538daba6f29eba9eec4eaf7e56f24edf44) 7961 update tests - [`5fbcdc7`](https://github.com/netbox-community/netbox/commit/5fbcdc721c1bdd5afac3d2626aa7e403783719a8) 7961 update tests ### 📊 Changes **13 files changed** (+715 additions, -117 deletions) <details> <summary>View changed files</summary> 📝 `docs/getting-started/populating-data.md` (+3 -1) 📝 `netbox/circuits/tests/test_views.py` (+40 -6) 📝 `netbox/dcim/forms/bulk_import.py` (+3 -3) 📝 `netbox/dcim/tests/test_views.py` (+252 -42) 📝 `netbox/extras/tests/test_views.py` (+38 -2) 📝 `netbox/ipam/forms/bulk_import.py` (+2 -2) 📝 `netbox/ipam/tests/test_views.py` (+155 -32) 📝 `netbox/netbox/views/generic/bulk_views.py` (+48 -5) 📝 `netbox/tenancy/tests/test_views.py` (+44 -6) 📝 `netbox/utilities/forms/utils.py` (+9 -4) 📝 `netbox/utilities/testing/views.py` (+43 -0) 📝 `netbox/virtualization/tests/test_views.py` (+47 -8) 📝 `netbox/wireless/tests/test_views.py` (+31 -6) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WE BE CLOSED AUTOMATICALLY. Specify your assigned issue number on the line below. --> ### Fixes: #7961 <!-- Please include a summary of the proposed changes below. --> Adds bulk update to CSV import if "id" is included in the CSV data. --- <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:20:13 +01:00
adam closed this issue 2025-12-29 23:20:13 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13679