Page MenuHomeElementl

Adds new-repo template files as package_data.

Authored by bob on Feb 17 2021, 4:23 PM.



When running dagster new-repo, Jinja2 does not load any template files because the template files' directory was not included as package_data in dagster/ Because of this, running dagster new-repo simply generates an empty folder.

This change adds the template files' directory dagster/generate/new_repo/ to package_data. Tests are also added to ensure that additional subfolders are generated.

Test Plan


Diff Detail

R1 dagster
Lint Not Applicable
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 17 2021, 4:39 PM
Harbormaster failed remote builds in B25976: Diff 31707!
This revision is now accepted and ready to land.Feb 19 2021, 9:30 PM

Adds new_repo template files to

Rebase on master to fix black error