Open mkoeppe opened 2 years ago
Description changed:
---
+++
@@ -8,3 +8,4 @@
Also a command `sage --cookiecutter` could be added.
+Alternative to cookiecutter: https://marketplace.visualstudio.com/items?itemName=cantonios.project-templates
Description changed:
---
+++
@@ -6,6 +6,6 @@
Prospective sage users on Windows can use the devcontainer config to automate the Sage install in WSL. VS Code walks you through this.
-Also a command `sage --cookiecutter` could be added.
+Also a command `sage --cookiecutter` or `sage --new-project` could be added.
Alternative to cookiecutter: https://marketplace.visualstudio.com/items?itemName=cantonios.project-templates
Description changed:
---
+++
@@ -8,4 +8,8 @@
Also a command `sage --cookiecutter` or `sage --new-project` could be added.
-Alternative to cookiecutter: https://marketplace.visualstudio.com/items?itemName=cantonios.project-templates
+Alternative to cookiecutter:
+- https://marketplace.visualstudio.com/items?itemName=cantonios.project-templates
+
+- Getting a devcontainer template for Sage into https://github.com/microsoft/vscode-dev-containers/tree/main/containers
+
Since the template consists mostly in static files, it should be enough to use github's template repo https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository
That's a great idea, I forgot about those!
A cross of
The devcontainer config would be one of those added in #33671 (sagemath-sage or downstream-...).
Prospective sage users on Windows can use the devcontainer config to automate the Sage install in WSL. VS Code walks you through this.
Also a command
sage --cookiecutter
orsage --new-project
could be added.Cookiecutter details:
Cookiecutter template inspiration:
Alternative to cookiecutter:
https://cruft.github.io/cruft/ (compatible with cookiecutter, has update mechanism)
https://marketplace.visualstudio.com/items?itemName=cantonios.project-templates
Getting a devcontainer template for Sage into https://github.com/microsoft/vscode-dev-containers/tree/main/containers ..... this has been replaced by https://github.com/devcontainers/templates
github's template repo https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository; perhaps combined with https://github.com/marketplace/actions/actions-template-sync
Component: scripts
Issue created by migration from https://trac.sagemath.org/ticket/34286