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

ux improvements #37

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

ux improvements #37

wants to merge 1 commit into from

Conversation

TheTripleV
Copy link
Member

  • 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.

@@ -0,0 +1,4 @@
# file generated by setuptools_scm
Copy link
Member

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(
Copy link
Member

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
Copy link
Member

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?

Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants