-
Notifications
You must be signed in to change notification settings - Fork 15
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
ux improvements #37
base: main
Are you sure you want to change the base?
ux improvements #37
Conversation
@@ -0,0 +1,4 @@ | |||
# file generated by setuptools_scm |
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.
Probably should add this to .gitignore
from .progress import progress | ||
except (ImportError, ModuleNotFoundError): | ||
print("Installing robotpy dev requirements...") | ||
subprocess.check_call( |
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.
Definitely do not install the requirements automatically. Just detect the first import error and output the appropriate command for the user to copy/paste, but do not execute it.
@@ -4,6 +4,12 @@ | |||
|
|||
[params] | |||
|
|||
parallel = true |
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.
I'm concerned about these interacting poorly with CI. Maybe have a user-specific file that is added to .gitignore instead?
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.
The default should be parallel.
Also, if ci sets an environment variable, this won't override it.
Cache should also be on by default imo. But I do need to check if ccache is available and not use it if it doesn't exist.
Add --only flag - work with a single project, ignore dependencies
Add --till flag - work with a project and its dependencies
Make rdev install its dependencies instead of erroring out
Make rdev install robotpy build instead of erroring out
Add progress bar
This is buggy for some reason. It worked on allrobotpy. But here, the progress bar keeps getting reprinted and doesn't just show up once at the bottom of the screen.