[PR #16329] [CLOSED] 16218 copy script on data-source sync #14834

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16329
Author: @arthanson
Created: 5/29/2024
Status: Closed

Base: developHead: 16218-script


📝 Commits (1)

  • ed890de 16218 copy script on data-source sync

📊 Changes

2 files changed (+10 additions, -2 deletions)

View changed files

📝 netbox/core/models/data.py (+1 -1)
📝 netbox/extras/models/scripts.py (+9 -1)

📄 Description

Fixes: #16218

Script module needs sync_data called when data source is synced to make sure any updated file is copied over. Also was an error in data.py where the underscore was used later so it was counted as a local variable which was causing RQ to crash.


🔄 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/16329 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 5/29/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `16218-script` --- ### 📝 Commits (1) - [`ed890de`](https://github.com/netbox-community/netbox/commit/ed890deda7a46ac4359ff3e761de24ac4ce42af6) 16218 copy script on data-source sync ### 📊 Changes **2 files changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/models/data.py` (+1 -1) 📝 `netbox/extras/models/scripts.py` (+9 -1) </details> ### 📄 Description ### Fixes: #16218 Script module needs sync_data called when data source is synced to make sure any updated file is copied over. Also was an error in data.py where the underscore was used later so it was counted as a local variable which was causing RQ to crash. --- <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:27:00 +01:00
adam closed this issue 2025-12-29 23:27:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14834