-
Notifications
You must be signed in to change notification settings - Fork 356
Closed
Labels
type: bugSomething isn't working as expectedSomething isn't working as expected
Milestone
Description
Environment
- Python version: 3.7
- Nautobot version: 1.0.0
Steps to Reproduce
- Create a new Git repository
- Add a token containing a special character like
/ - Try to sync the repository
Expected Behavior
Either it shouldn't be possible to create a repository with an invalid token or the sync should work as expected
Observed Behavior
The synchronization fail with an exit code of 128 and the following messages
- name :
Test Wrong token - username:
test - token
qwertytrew/qewrtsdfgtrew - repo :
https://github.com/networktocode-llc/nautobot-datasource
2021-05-01T20:25:14.013404 | Failure | | Cmd('git') failed due to: exit code(128) cmdline: git clone -v --progress https://test:qwertytrew/[email protected]/networktocode-llc/nautobot-datasource /opt/nautobot/git/test-wrong-token
2021-05-01T20:25:14.045399 | Failure | | Error while refreshing Test Wrong token: Cmd('git') failed due to: exit code(128) cmdline: git clone -v --progress https://test:qwertytrew/[email protected]/networktocode-llc/nautobot-datasource /opt/nautobot/git/test-wrong-token
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't working as expectedSomething isn't working as expected