Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

It is far too hard to update the bootcamp codelab #13

Open
aiuto opened this issue Aug 13, 2019 · 3 comments
Open

It is far too hard to update the bootcamp codelab #13

aiuto opened this issue Aug 13, 2019 · 3 comments

Comments

@aiuto
Copy link
Contributor

aiuto commented Aug 13, 2019

The codelab contains BUILD and WORKSPACE files that have hints rather than real rules.
As part of the lab, the user uncomments some parts and fills in others.

There is a tool which creates the fully formed BUILD files, but we need the other direction, so you can instantiate the BUILD, test everything, then revert to the hints for committing.

@jin
Copy link
Member

jin commented Aug 13, 2019

The original idea that @dkelmer and I discussed when forming this codelab was to have the repo be empty by default for teaching purposes. I believe there are also codelab materials that assumes this, so those will need to be updated as well.

@dkelmer
Copy link
Contributor

dkelmer commented Aug 13, 2019

I think @aiuto is saying that the "initial" state of the codelab from the user perspective (i.e. mostly empty with hints) should be maintained. And I think that this bug is about having a way to alleviate the repository maintainer's burden of updating the repository by adding an additional script that undoes what the generation script generates so that it can be submitted with just the mostly empty BUILD files with the hints.

I imagine that the hints won't change too often. So this should be as simple has having an additional script checked in that reverts what generate_build_files.sh does

@dkelmer
Copy link
Contributor

dkelmer commented Aug 13, 2019

I'll mail a PR in a minute

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

No branches or pull requests

3 participants