Migration activation Job log ends some outcomes with two periods
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by locating the Activate Projects script and the code that formats each activation outcome in the Job log. Check how the outcome text is punctuated, then run the relevant activation tests or reproduce the missing stored revision case described in the issue. Done means each logged outcome ends with one period, while activation results and recorded migration outcomes remain unchanged.
Written by the indexing model from the issue text.
Description
Plugin Version
v0.0.1
NetBox Version
v4.7.5
Python Version
3.12
Steps to Reproduce
- Under Scripts > Migration, stage and validate the built-in Custom Scripts, then complete Enter Cutover.
- In a test environment, make a staged Project's stored revision unavailable after validation, for example by removing its stored files from the configured storage backend.
- Run Activate Projects and inspect the Job log.
Expected Behavior
Each Project's activation outcome ends with a single period, including when the error message already has one.
For example:
Project deploy could not be activated: The stored revision a1b2c3d4e5f6 is missing.
Observed Behavior
The Job log adds another period to activation errors that already end with one:
Project deploy could not be activated: The stored revision a1b2c3d4e5f6 is missing..
The issue comes from the Job-log message appending a period to the recorded outcome without checking its existing punctuation.
This affects only the Job-log formatting, not the activation result or the recorded migration outcome.
The example uses the revised storage error wording from #150. The same issue exists with the current wording on main.
- Dominant language
- Python
- Stars
- 8
- Forks
- 0
- Avg merge
- 12h 34m
- Merged PRs (30d)
- 57
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from netbox-community/netbox-scripts
-
app: scripts severity: low status: backlog type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
netbox-community/netbox-scripts#153 ·
Maintainers usually reply within 1 day
-
Committed `runcustomscript` runs do not deliver Event Rule actionsPossibly taken @pheus claimed this 1 day ago. Openapp: scripts Bucket: KTLO severity: medium status: accepted type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
netbox-community/netbox-scripts#152 · 1 assignee ·
Maintainers usually reply within 1 day
-
app: scripts severity: low status: backlog type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
netbox-community/netbox-scripts#146 ·
Maintainers usually reply within 1 day
-
app: scripts status: backlog type: documentation
Difficulty 1/5 Under an hour Newbie friendliness 91/100
netbox-community/netbox-scripts#137 ·
Maintainers usually reply within 1 day
-
app: scripts severity: low status: backlog type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
netbox-community/netbox-scripts#134 ·
Maintainers usually reply within 1 day
All issues in netbox-community/netbox-scripts
Similar issues
-
namespace
Difficulty 1/5 Under an hour Newbie friendliness 68/100
EclipseFdn/open-vsx.org#15604 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 5 days
-
Public function to read participants.tsvPossibly taken @bruAristimunha claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
huggingface/tau#799 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
allenai/open-instruct#2245 ·
Maintainers usually reply within 1 day