-
Notifications
You must be signed in to change notification settings - Fork 110
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
Update the tutorials. #195
Conversation
- Follow-up to google#190: Set an explicit stack resolver, now that proto-lens and friends are back in nightly. - Fix some broken cross-links. - Now that google#171 is fixed, merge the `person` tutorial into a single package (a library with `Proto.*` modules and an executable that uses them) and make the instructions in the README match the code.
@@ -10,8 +10,8 @@ | |||
6. [Repeated](#repeated) | |||
7. [Map](#map) | |||
8. [Lens Laws](#lens-laws) | |||
9. [Example: Person](./person/README.md) | |||
10. [Example: Coffee Order](./coffee-order/README.md) | |||
9. [Example: Person](https://github.com/google/proto-lens/tree/master/proto-lens-tutorial/person) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://google.github.io isn't working for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it out; it doesn't work because the file isn't under the "docs" folder.
Also, I feel it's helpful to link to the concrete code example (especially now that they're the same).
It's not actually needed for Cabal-2.0 (lts-10 or later). But we still have CI for older versions, and it's worth confirming that the example still works on older versions.
Turns out the Travis script wasn't robust enough and #195 let through some warnings. I fixed the script and confirmed it now catches such issues. Also bumped the tutorial and bootstrap scripts to the same LTS as the main build.
Also update `stack.yaml` to `lts-12.6` rather than a nightly. The proto-lens-protoc-0.3.1.1 release had an upper bound on `temporary` that was too restrictive. Increase it, and bump the version to `0.3.1.2`. Also fix warnings and improve CI. Turns out the Travis script wasn't robust enough and #195 let through some warnings. I fixed the script and confirmed it now catches such issues. Also bumped the tutorial and bootstrap scripts to the same LTS as the main build.
* Update changelogs for next 0.3.* release. For: - proto-lens-protoc-0.3.1.1 - proto-lens-protobuf-types-0.3.0.2 * Fix build of proto-lens-0.3.* on lts-12. (#211) Also update `stack.yaml` to `lts-12.6` rather than a nightly. The proto-lens-protoc-0.3.1.1 release had an upper bound on `temporary` that was too restrictive. Increase it, and bump the version to `0.3.1.2`. Also fix warnings and improve CI. Turns out the Travis script wasn't robust enough and #195 let through some warnings. I fixed the script and confirmed it now catches such issues. Also bumped the tutorial and bootstrap scripts to the same LTS as the main build.
* Update changelogs for next 0.3.* release. For: - proto-lens-protoc-0.3.1.1 - proto-lens-protobuf-types-0.3.0.2 * Fix build of proto-lens-0.3.* on lts-12. (google#211) Also update `stack.yaml` to `lts-12.6` rather than a nightly. The proto-lens-protoc-0.3.1.1 release had an upper bound on `temporary` that was too restrictive. Increase it, and bump the version to `0.3.1.2`. Also fix warnings and improve CI. Turns out the Travis script wasn't robust enough and google#195 let through some warnings. I fixed the script and confirmed it now catches such issues. Also bumped the tutorial and bootstrap scripts to the same LTS as the main build.
are back in nightly.
autogenPackageModulesDir
#171 is fixed, merge theperson
tutorial into a single package(a library with
Proto.*
modules and an executable that uses them)and make the instructions in the README match the code.
This change is