Correct the documentation of a Project's current revision

Open Beginner friendly
#233 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
documentation

Research direction

Read the uploading guide and the docstrings in ScriptProject.current_revision and ScriptProjectStatePanel; then find the related comment in the migration view. Update the wording to explain that the panel prefers the accepted source revision and falls back to the newest stored revision when no accepted source is available. Done when all three descriptions match that behavior and the migration view’s behavior is unchanged.

Written by the indexing model from the issue text.

Description

app: scripts status: backlog type: documentation
Change Type

Correction

Proposed Changes

The uploading guide currently states that the Current revision panel shows the newest stored revision when a Project has no active revision.

However, the panel prefers the accepted source revision and only falls back to the newest stored revision if no accepted stored source is available. Repeating an upload or Script File selection can make an older revision the accepted source again.

Update the uploading guide and the corresponding docstrings in ScriptProject.current_revision and ScriptProjectStatePanel to reflect this behavior. Also correct the related comment in the migration view without changing its behavior.

Dominant language
Python
Stars
8
Forks
0
Avg merge
12h 46m
Merged PRs (30d)
83

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netbox-community/netbox-scripts

All issues in netbox-community/netbox-scripts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.