-
Notifications
You must be signed in to change notification settings - Fork 22
Allow passing URLs and archive paths to --workspace and deprcecate --… #34
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
Allow passing URLs and archive paths to --workspace and deprcecate --… #34
Conversation
…workspaceUrl and --workspaceArchive
Codecov Report
@@ Coverage Diff @@
## master #34 +/- ##
====================================
Coverage 80% 80%
====================================
Files 1 1
Lines 10 10
====================================
Hits 8 8
Misses 2 2Continue to review full report at Codecov.
|
| or (workspace_archive and workspace_url) \ | ||
| or (workspace_path and workspace_url): | ||
| raise click.UsageError("Use either:\n\t--workspace https://path.to/git/repository.git - to point repository URL" | ||
| "\n\t--workspace /path/to/local/directory - to point on project directory" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more naturally this would be something like to point to a project directory or to use a local directory as your workspace :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @BartoszCki!
| or (workspace_path and workspace_url): | ||
| raise click.UsageError("Use either:\n\t--workspace https://path.to/git/repository.git - to point repository URL" | ||
| "\n\t--workspace /path/to/local/directory - to point on project directory" | ||
| "\n\t--workspace /path/to/local/archive.zip - to point on project .zip archive" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more naturally this would be something like to point to a .zip archive or to use a local archive as your workspace :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed in PS-10553
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @BartoszCki!
…workspaceUrl and --workspaceArchive