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

chore(examples): updated contributing & docs with SAM #876

Merged
merged 14 commits into from
May 25, 2022

Conversation

dreamorosi
Copy link
Contributor

@dreamorosi dreamorosi commented May 13, 2022

Description of your changes

Now that the project offers SAM-based examples, there are some changes needed to the documentation, contributing guidelines, and readme files needed to reflect this change. This PR introduces these changes and it should be the last one related to SAM.

List of changes:

Readme files

This includes:

  • Project's README.md
  • packages/tracer/README.md
  • packages/metrics/README.md
  • packages/logger/README.md

image
The "Examples" link above used to bring you to the examples/cdk folder, it now brings you to examples so you can choose your favourite flavour to use.
image
Added the link to the SAM samples under the "Examples" section.

Documentation

image

In the main page (docs/index.md) there is a list of items under the "Examples" section, I have added an item for SAM

Contributing

image

I have added AWS SAM CLI as requirement for the project, as it's now needed in order to build the SAM sample as part of the pre-push hook. (This is similar to CDK, but since SAM CLI is not vended via NPM we must install it manually).

image

Finally I also added the Open in GitPod button that will automatically create the setup to start contributing in a few seconds.

Gitpod / Codespaces

With the latest changes I have made changes also to the configurations needed to use GitHub Codespaces & Gitpod. These include the addition of SAM CLI, as well as the initialisation of both example folders. This last step is needed to successfully execute the pre-push hooks.

How to verify this change

Check content of the CONTRIBUTING readme (link to rendered version in this PR), and optionally check README files + docs links to examples.

If you want to try the Gitpod setup click here (it will open a new Gitpod workspace in your account using this branch).

Related issues, RFCs

#849
#674

PR status

Is this ready for review?: YES
Is it a breaking change?: NO

Checklist

  • My changes meet the tenets criteria
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have made corresponding changes to the examples
  • My changes generate no new warnings
  • The code coverage hasn't decreased
  • New and existing unit tests pass locally and in Github Actions
  • The PR title follows the conventional commit semantics

Breaking change checklist

N/A


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@dreamorosi dreamorosi self-assigned this May 13, 2022
@dreamorosi dreamorosi added documentation Improvements or additions to documentation internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.) labels May 13, 2022
@dreamorosi dreamorosi added this to the production-ready-release milestone May 13, 2022
@dreamorosi dreamorosi marked this pull request as ready for review May 13, 2022 16:45
flochaz
flochaz previously approved these changes May 16, 2022
Copy link
Contributor

@flochaz flochaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great !!!

ijemmy
ijemmy previously approved these changes May 23, 2022
.gitpod.yml Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@ijemmy
Copy link
Contributor

ijemmy commented May 23, 2022

Wondering if we might want to wait until #877 is merged (Node16) and just do this in one go?

@dreamorosi
Copy link
Contributor Author

Wondering if we might want to wait until #877 is merged (Node16) and just do this in one go?

Thought about that, but at the same time I wanted to follow the CONTRIBUTING guidelines and keep the PR focused & w/ small diff (both are already quite big).

@dreamorosi dreamorosi dismissed stale reviews from ijemmy and flochaz via 37c659e May 24, 2022 14:05
ijemmy
ijemmy previously approved these changes May 24, 2022
@dreamorosi dreamorosi requested review from ijemmy and flochaz May 25, 2022 07:52
@dreamorosi dreamorosi merged commit b7eaeac into main May 25, 2022
@dreamorosi dreamorosi deleted the chore/aamorosi/sam_docs branch May 25, 2022 10:14
flochaz added a commit that referenced this pull request Jun 3, 2022
* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: add sam to gitpod

* chore: updated gitpod.yml

* chore: updated gitpod.yml

* chore: updated gitpod.yml

* Update CONTRIBUTING.md

Co-authored-by: ijemmy <[email protected]>

* Update .devcontainer/devcontainer.json

Co-authored-by: Florian Chazal <[email protected]>

Co-authored-by: ijemmy <[email protected]>
Co-authored-by: Florian Chazal <[email protected]>
dreamorosi added a commit that referenced this pull request Aug 2, 2022
* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: updated contributing & docs with SAM

* chore: add sam to gitpod

* chore: updated gitpod.yml

* chore: updated gitpod.yml

* chore: updated gitpod.yml

* Update CONTRIBUTING.md

Co-authored-by: ijemmy <[email protected]>

* Update .devcontainer/devcontainer.json

Co-authored-by: Florian Chazal <[email protected]>

Co-authored-by: ijemmy <[email protected]>
Co-authored-by: Florian Chazal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants