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: Add Design process description & basic style guide #1229

Merged
merged 3 commits into from
Dec 5, 2018

Conversation

RomainMuller
Copy link
Contributor

@RomainMuller RomainMuller commented Nov 21, 2018

Fixes awslabs/cdk-ops#177


Pull Request Checklist

Please check all boxes (including N/A items)

Testing

  • Unit test and/or integration test added
  • Toolkit change?: integration
    tests

    manually executed (paste output to the PR description)
  • Init template change?: coordinated update of integration tests
    (currently maintained in a private repo).

Documentation

  • README: README and/or documentation topic updated
  • jsdocs: All public APIs documented

Title and description

  • Change type: Title is prefixed with change type:
  • fix(module): <title> bug fix (patch)
  • feat(module): <title> feature/capability (minor)
  • chore(module): <title> won't appear in changelog
  • build(module): <title> won't appear in changelog
  • Title format: Title uses lower case and doesn't end with a period
  • Breaking change?: Last paragraph of description is: BREAKING CHANGE: <describe exactly what changed and how to achieve similar behavior + link to documentation/gist/issue if more details are required>
  • References: Indicate issues fixed via: Fixes #xxx or Closes #xxx

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.


* Adhere to the [GitHub Flavored Markdown](https://github.github.com/gfm/) syntax
* `120` character lines
* ATX style headings (e.g: `## H2 heading`)
Copy link
Contributor

Choose a reason for hiding this comment

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

What does ATX refer to here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The GitHub Flavored Markdown specification expressly mentions support for two types of headings:

  1. ATX headings
  2. Setext headings

Apparently, ATX & Setext are tools that offer similar features to Markdown and existed previously, that some people are familiar with. I really just re-used the spec's language here.

CONTRIBUTING.md Outdated

1. Open an issue describing the requirements and constraints the design must satisfy
+ Provide a clear list of use-cases that the design intends to address
2. Open a pull request with a Markdown document describing the proposed design
Copy link
Contributor

Choose a reason for hiding this comment

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

Where does the file live?

Does it get deleted after the discussion or committed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nah I guess the point of the PR is to keep the traces checked in. As to where the file lives, I can attempt to specify this if that's useful... It felt maybe a little overreaching (especially s we don't have a place juts yet, in fact).

Copy link
Contributor

Choose a reason for hiding this comment

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

No, but you know what? I think I'd like for the file to be committed along with the change.

Why not be the first project where we actually keep a set of design documents in our repo, as use to future historians (and team members)?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would create a directory /design and recommend that people put the files there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rix0rrr I VERY definitely meant for the documents to live with the project, I just meant we don't have the folder yet... But yeah I can recommend a file name and path.

CONTRIBUTING.md Outdated
@@ -41,6 +41,28 @@ and let us know if it's not up-to-date (even better, submit a PR with your corr
7. Once approved and tested, a maintainer will squash-merge to master and will use your PR title/description as the
commit message.

## Design Process

In order to enable efficient collaboration over design documents, the following process must be followed:
Copy link
Contributor

Choose a reason for hiding this comment

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

"must" is too strong a word. I would say "recommended"

CONTRIBUTING.md Outdated

1. Open an issue describing the requirements and constraints the design must satisfy
+ Provide a clear list of use-cases that the design intends to address
2. Open a pull request with a Markdown document describing the proposed design
Copy link
Contributor

Choose a reason for hiding this comment

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

I would create a directory /design and recommend that people put the files there.

@eladb eladb merged commit 5ffa7e2 into master Dec 5, 2018
@eladb eladb deleted the rmuller/contributing-md branch December 5, 2018 12:30
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants