Skip to content
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

Merged
merged 4 commits into from
May 29, 2018
Merged

Update the tutorials. #195

merged 4 commits into from
May 29, 2018

Conversation

judah
Copy link
Collaborator

@judah judah commented May 10, 2018

  • Follow-up to Fix README in Person Example #190: Fix the stack resolver, now that proto-lens and friends
    are back in nightly.
  • Fix some broken cross-links.
  • Now that Use autogenPackageModulesDir #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.

This change is Reviewable

- 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)
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.
@judah judah merged commit 1371517 into google:master May 29, 2018
@judah judah deleted the update-readme branch May 29, 2018 04:52
judah added a commit that referenced this pull request Aug 25, 2018
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.
judah added a commit that referenced this pull request Aug 25, 2018
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.
@judah judah mentioned this pull request Aug 26, 2018
judah added a commit that referenced this pull request Aug 28, 2018
* 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.
avdv pushed a commit to avdv/proto-lens that referenced this pull request Aug 9, 2023
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants