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

Meta file to watch for scenario changes #1262

Closed
Gamenot opened this issue Jan 28, 2022 · 1 comment
Closed

Meta file to watch for scenario changes #1262

Gamenot opened this issue Jan 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Gamenot
Copy link
Collaborator

Gamenot commented Jan 28, 2022

Is your feature request related to a problem? Please describe.
The base issue here is that we currently require scl scenario --clean in most cases to rebuild scenarios. This could be greatly sped up by skipping cases where things do not need to be rebuilt.

Describe the solution you'd like
I suggest a meta file that would maintain a hash of base scenario resource files:

  • Map (e.g. map.xml)
  • Scenario (e.g. scenario.py)
  • requirements (e.g. requirements.txt)

When such files are noted to have changed it would trigger a rebuild of dependent scenario resources. This would be useful especially for very large maps and complex scenarios that take a long time to build.

@Gamenot Gamenot added the enhancement New feature or request label Jan 28, 2022
@Adaickalavan
Copy link
Member

Closed by #1764

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

No branches or pull requests

2 participants