Commit Graph
496 Commits
Author SHA1 Message Date
josh11b 07e814ae5f Tell codespell to ignore: copyable,circularly (#99) 2020-06-26 16:16:04 -07:00
Jon Meow 551de7db93 Use https://github.com/pre-commit/action (#85)
This will run checks and fail if there's a problem. It'll show on PRs alongside the CLA check.
2020-06-25 08:42:55 -07:00
Jon Meow 55c8d898e1 Enable pagination in octokit calls. (#91)
Especially relevant now that we're over 30 people.

The console logs are just helpful flags for possible bugs.
2020-06-25 08:38:43 -07:00
Jon Meow 65cfd73b78 Enable codespell pre-commit (#90)
This catches some common spelling errors, but is *not* an exhaustive spell-checker. The only false positive is "rouge" in Gemfile.lock, which is why I'm excluding that file.

True positives are in the change, and it does catch the "langauge" typo I keep making, which zygoloid fixed for me in a few spots. False negatives are:

- virmc
- Announcemented
- propsal

For comparison:

- cspell (https://www.npmjs.com/package/cspell) is too aggressive and has a small dictionary
  - Caught the false negatives, but many false positives, including 'LLVM', 'roadmap', 'Carruth'
- https://github.com/lorenzwalthert/precommit has a spellcheck, but config looks ruby-specific
2020-06-25 08:37:03 -07:00
Jon Meow c0b63c5361 Help with proper toc labeling (#86)
Particularly to fix casing if somebody does "Table of Contents"
2020-06-22 11:36:16 -07:00
Jon Meow 444e041317 Small doc improvement about pre-commit use (#88) 2020-06-19 15:24:47 -07:00
Chandler Carruth a08a9afbf0 Make the TOC pre-commit script more flexible in finding node. (#82) 2020-06-17 20:22:46 -07:00
Jon Meow 574da45a6b Remove sharing message, it's not particular to proposals
This sentence feels like a hold-over from the Google Doc, which still feels useful in that context. Especially because it's so easy to copy/share Docs outside the shared drive. However, for things going to GitHub, it seems like we should either have it everywhere or nowhere, and it doesn't feel helpful enough to have in every file.

My feeling would be different about a notice on the website -- that could be done centrally for all pages, and may be more useful. However, I haven't bothered there because we restrict access to docs, and I think the login flow should make it clearer that a lack of re-sharing is the intent.
2020-06-17 09:20:22 -07:00
Jon Meow 3a80cf363e Minor formatting fixes (#78) 2020-06-17 09:18:17 -07:00
Jon Meow 1a784b4b84 Minor formatting fix for list (#79) 2020-06-17 09:18:05 -07:00
Richard Smith 7e81d1c213 Fix typo 'langauge'. 2020-06-16 17:58:17 -07:00
Jon Meow 06e560e502 Review manager doc (#75)
Mostly to have templates in a central place.
2020-06-16 14:49:57 -07:00
Jon Meow 4a07b436d9 Decision for proposal timelines. (#43)
Decision for https://github.com/carbon-language/carbon-lang/pull/74:
"Proposal to change comment/decision timelines"
2020-06-16 11:12:21 -07:00
sidney13andJon Meow 61e57af028 Proposal to change comment/decision timelines (#74)
* Proposal timeline proposal

As this proposal was started and approved before the PR-based process was in place, this PR will be used to put the old proposal Doc that was approved into Markdown.

* Update p00xx.md

* Rename the proposal file to match the PR

Also update the reference inside the file.

* Update proposals/p0074.md

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>

* Update proposals/p0074.md

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
2020-06-16 10:21:16 -07:00
sidney13andJon Meow 293b428eb0 Create p0044-decision.md (#47)
* Create p0044-decision.md

Document the approval and rationale for the "Carbon: Proposal Tracking" proposal.

* Fix typo

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>

* Format using Prettier

* Punctuation/typo fixes

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
2020-06-16 10:19:15 -07:00
Jon MeowandChandler Carruth f1e4323fda Set up pre-commit (#73)
Added here:

- .pre-commit-config.yaml
- docs/project/contribution_tools.md
- src/scripts/pre-commit-toc.js
- CONTRIBUTING.md
- proposals/* (just to switch TOC formats)

The rest consists of auto-generated fixes.

The switch from doctoc to markdown-toc is because doctoc wants to put a TOC in every file, whereas markdown-toc only does it if you have an insertion point.

Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
2020-06-16 09:09:10 -07:00
Jon Meow a3e8a5e389 More "or four working days" style (#72) 2020-06-15 11:50:59 -07:00
Jon MeowandChandler Carruth 809f074c55 Minor doc style cleanups (#70)
Co-authored-by: Chandler Carruth <chandlerc@gmail.com>

Trying to bring docs closer to the developer documentation style guide.
2020-06-12 07:58:12 -07:00
Jon Meow 503cad3c38 Adjust style of evolution doc (#67)
- Sentence case headers: https://developers.google.com/style/headings
- Remove parentheticals where possible: https://developers.google.com/style/parentheses
- Avoid latin abbreviations: https://developers.google.com/style/abbreviations#dont-use

Also some evolution-specific changes:

- Remove obsolete PDF references
- "decision is to accept the proposal" instead of "decision is to approve the change"
- Adjust review manager actions for accepted/declined/deferred decisions.
- Rephrase arbiter decisions, particularly to avoid 1-0 being considered a "majority".
  - I think this was always intended, and does not reflect a substantive change.
2020-06-11 21:21:01 -07:00
Jon Meow 411c171b95 Add a script for updating the triage group (#64)
We're using labels for proposals... https://github.com/carbon-language/carbon-lang/settings/access allows granting triage access for specific teams. https://github.com/organizations/carbon-language/settings/member_privileges doesn't appear to allow doing the same at the org-level. So I've decided to create a team that mirrors the org, and grants triage access. `¯\_(ツ)_/¯`

I don't know that this is the right solution long-term, but for now I think it's right.

Manually updating this group is slow and error-prone, so the script automates it.
2020-06-11 21:19:59 -07:00
sidney13 268b56cf20 Extend final comment period to 7 days (#60)
* Extend final comment period to 7 days

This is the implementation of proposal 0004, "Carbon: Change comment/decision timelines in proposal process"
2020-06-09 17:18:12 -07:00
josh11bandJon Meow e8cb551d2b First draft of a README for the principles/ directory. (#56)
* First draft of a README for the principles/ directory.

* More closely mirror the relevant section from the goals doc.

* Reword bit about excluding using chandlerc@'s suggested text.

* Link to goals doc.

* Update docs/project/principles/README.md

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
2020-06-04 16:22:19 -07:00
Jon Meow 0641a7f30b Fix the renamed build action (#55) 2020-06-04 15:39:59 -07:00
Jon Meow b7e80bf233 Remove prefix 'Carbon:' from page titles. (#54)
* Also retitle src/README.md
2020-06-04 13:34:45 -07:00
Jon Meow 18022dffc6 Changes for proposal tracking. (#45)
With edits from Chandler Carruth <chandlerc@gmail.com>
2020-06-04 08:36:46 -07:00
Jon Meow 541aa74572 Change the placeholder reference to use a GitHub PR (#52) 2020-06-04 08:33:58 -07:00
Chandler Carruth 12146eb789 Add a .gitallowed file with a pattern for our Firebase API key. (#46)
This allows the `git-secrets` set of hooks to pass cleanly.
2020-06-03 19:09:45 -07:00
Jon Meow ccebb66179 Carbon: Proposal tracking (#44)
A cleaned-up version of the original proposal doc, with some minor link and example fixes. Decisions for open questions are also now noted.
2020-06-03 08:40:19 -07:00
Jon Meow 9ad08d0112 Move page titles above the license for jekyll compat. (#33)
Also fixes search links to the pages, which is where I noticed this.
2020-05-29 19:31:21 -07:00
Jon Meow 47f92d20e1 Fix use of headers. (#30)
There should only be one title per doc.
2020-05-29 13:13:32 -07:00
Chandler Carruth dbb063c7a9 Canonicalize license file header to reliably fit in 80-columns. (#28)
The original header was exactly 80-columns which made every file format
with a line-start comment syntax reflow the text. Instead, pick
a canonical re-flowing that keeps it to just three lines. This also lets
the text refer to the project which seems more clear.

No practical or semantic change here, just getting consistent wording
and line breaks for regularity.
2020-05-27 12:28:45 -07:00
Chandler Carruth 2d72ea113a Add some other explicit options to our Prettier.io config. (#25)
May just be making defaults explicit, but that seems worthwhile.
2020-05-21 15:37:14 -07:00
Jon Meow de80a96752 Update jekyll action to push the formatted site (#20)
This is a mix of fixes to the action itself and the jekyll files to make everything work.
2020-05-21 10:13:12 -07:00
Jon Meow 67eb4521c8 Document Discourse Forums and Discord Chat with links and how to join. (#12)
Document Discourse Forums and Discord Chat with links and how to join.
2020-05-20 13:43:44 -07:00
Jon Meow 671c0ca001 Make a very basic jekyll site. (#14)
Clarifies in the LICENSE file the presence of third-party licenses.

Makes a very basic jekyll site, based on the Jekyll Doc Theme.
2020-05-20 10:30:26 -07:00
Jon Meow c682f3e834 Move firebase support into a src directory. (#15)
I'll be adding jekyll support here in a separate commit.
2020-05-20 08:16:20 -07:00
Jon Meow f1a67a89b6 Set up Prettier for formatting, and run files through it. (#7)
CONTRIBUTING.md replaces the mention of Google style guide (which isn't automated) with Prettier (which should do most of the hauling). The rest is the formatter.
2020-05-07 09:29:23 -07:00
Eric 94c6bc9a3f Add github action to publish docs. (#8)
* Add github action to publish docs.

This change add a placeholder action which:

(A) Authenticates with gcloud using the appropriate GCP AS.
(B) Copies the docs/ folder as-is into
www.carbon-lang.dev/test-doc-root/
2020-05-04 20:09:09 -04:00
Jon Meow 0300d63402 Add a description of groups where we maintain lists of contributors/team members. 2020-04-30 17:25:49 -07:00
Jon Meow fb8e472e1c Address a couple TODOs left in CONTRIBUTING.md.
Address a couple TODOs in CONTRIBUTING.md by adding appropriate links.
2020-04-30 17:16:00 -07:00
jonmeow 234ed4852d Document existing collaboration systems. 2020-04-30 16:57:51 -07:00
jonmeow e79ec01be7 Fix links in evolution.md 2020-04-30 16:57:09 -07:00
Chandler Carruth 560a59d3f0 Improve structure and link in the main README.md file.
This moves the structure overview to the end to center the reader on the
more substantive sections and removes some redundant content from it.

It also moves the inner headings to be 2nd-level headings instead of
3rd-level (we only had two levels).

Lastly it corrects a link to the goals document.
2020-04-30 08:11:33 -07:00
Chandler Carruth 3ff4887693 Add missing commas. 2020-04-30 08:11:21 -07:00
Chandler Carruth 6854266fad Initial commit of main README.md and initial project documents.
Subsequent commits should be managed through pull requests.
2020-04-27 18:57:12 -07:00
jonmeow 3973b09895 first commit 2020-04-27 14:47:31 -07:00