[PR #19960] [MERGED] Closes #18399: Refactor logic for marking data source syncing as queued #15772

Closed
opened 2025-12-30 00:23:58 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19960
Author: @jeremystretch
Created: 7/28/2025
Status: Merged
Merged: 7/28/2025
Merged by: @arthanson

Base: mainHead: 18399-datasource-job-enqueue


📝 Commits (1)

  • 6bf2c95 Closes #18399: Refactor logic for marking data source syncing as queued

📊 Changes

3 files changed (+20 additions, -17 deletions)

View changed files

📝 netbox/core/api/views.py (+8 -11)
📝 netbox/core/jobs.py (+11 -0)
📝 netbox/core/views.py (+1 -6)

📄 Description

Closes: #18399

  • Consolidate logic for updating DataSource status under the enqueue() method of SyncDataSourceJob
  • Clean up imports within core/api/views.py

🔄 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/19960 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 7/28/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `18399-datasource-job-enqueue` --- ### 📝 Commits (1) - [`6bf2c95`](https://github.com/netbox-community/netbox/commit/6bf2c95d9fc71b5f66468a6eba24de731bcdaea5) Closes #18399: Refactor logic for marking data source syncing as queued ### 📊 Changes **3 files changed** (+20 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/api/views.py` (+8 -11) 📝 `netbox/core/jobs.py` (+11 -0) 📝 `netbox/core/views.py` (+1 -6) </details> ### 📄 Description ### Closes: #18399 - Consolidate logic for updating DataSource status under the `enqueue()` method of SyncDataSourceJob - Clean up imports within `core/api/views.py` --- <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-30 00:23:58 +01:00
adam closed this issue 2025-12-30 00:23:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15772