Closed hectorsector closed 4 years ago
Because this step is in a pull request, we rely on the files in the template repository (here's the Learning Lab docs on template repos, if it's helpful). It's hard to populate the template repo with data specific to the user at the moment, so that's why we don't populate it automatically. In the response itself, we can easily use variables like the learner's username, so it's included there.
The only alternative I see is using a pull request that has less content pre-populated, and asking the learner to add the rest. Specifically, we could populate only these highlighted lines and ask the learner to populate the rest by copying-and-pasting. This does mean that they're doing two things, renaming + adding content (like they did in step one). What do you think @mjcastner?
One thing I forgot to mention is that although we cannot programmatically include the proper value of AZURE_WEBAPP_NAME
in the template repo, we do validate whether the line has been properly changed:
I think this is taken care of, we do programmatically fill it in for the learner and allow them to copy-paste.
Reported by @mjcastner: