Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate --bbs-shared-home and --archive-path #1211

Open
3 tasks
ArinGhazarian opened this issue Jan 23, 2024 · 0 comments
Open
3 tasks

Validate --bbs-shared-home and --archive-path #1211

ArinGhazarian opened this issue Jan 23, 2024 · 0 comments
Labels

Comments

@ArinGhazarian
Copy link
Collaborator

ArinGhazarian commented Jan 23, 2024

When running bbs2gh on the Bitbucket instance we need to make sure that if the --bbs-shared-home is provided it points to an existing directory. Additionally if the --archive-path is provided (regardless of where the CLI is running) we need to make sure it points to an existing file.

Currently we don't check those paths and if they are wrong the upload phase errors out but the error message is not user friendly (take this support ticket for example) and can cause some confusion. With this change we can clearly say what is wrong and fail fast.

Todo

  • Validate --bbs-shared-home if it's provided and the CLI is running on Bitbucket instance
  • Validate --bbs-shared-home if it's provided regardless of where the CLI is running
  • Log the full archive path before trying to upload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant