Truncate Serials Over 50 characters in inventory.py #291

Open
NessieCanCode wants to merge 9 commits from NessieCanCode/master into main
NessieCanCode commented 2024-03-20 20:53:07 +01:00 (Migrated from github.com)

Ensured serial numbers don't exceed 50 characters.

Preventing this error: The request failed with code 400 Bad Request: {'serial': ['Ensure this field has no more than 50 characters.']

Ensured serial numbers don't exceed 50 characters. Preventing this error: The request failed with code 400 Bad Request: {'serial': ['Ensure this field has no more than 50 characters.']
This pull request has changes conflicting with the target branch.
  • netbox_agent/inventory.py
  • netbox_agent/network.py
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin NessieCanCode/master:NessieCanCode/master
git checkout NessieCanCode/master

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff NessieCanCode/master
git checkout NessieCanCode/master
git rebase main
git checkout main
git merge --ff-only NessieCanCode/master
git checkout NessieCanCode/master
git rebase main
git checkout main
git merge --no-ff NessieCanCode/master
git checkout main
git merge --squash NessieCanCode/master
git checkout main
git merge --ff-only NessieCanCode/master
git checkout main
git merge NessieCanCode/master
git push origin main
Sign in to join this conversation.
No description provided.