blob: 05d81ab57a0f7774ea0ccc1a915a57f7c54dbdbc [file] [log] [blame] [view]
Akihiro Ota61600202020-05-06 01:58:371# Accessibility Release Notes
2
3## TL;DR
4Any change to accessibility-related files requires specifying an **AX-Relnotes**
Akihiro Ota2df15b92020-05-07 01:46:215field within the commit message, which describes the user-impacts the change
6will have. Please see below for some examples of what this could look like:
Akihiro Ota61600202020-05-06 01:58:377
8* 'AX-Relnotes: ChromeVox now supports ...'
9* 'AX-Relnotes: Fixed an issue where ... happened because of ...'
10* 'AX-Relnotes: n/a', if the change has no user-facing effects.
11
12If your change has user-impact, but is behind a feature flag, please use n/a’.
13At the time you remove the feature flag, the AX-Relnotes should mention that the
14feature is being launched.
15
16## What Are Release Notes
Akihiro Ota2df15b92020-05-07 01:46:2117Every release cycle, the Chrome & Chrome OS Accessibility Team compiles release
Akihiro Ota61600202020-05-06 01:58:3718notes for users, which detail any user-facing changes that have been made in
19the upcoming release. These help our users stay informed about the features
Akihiro Ota2df15b92020-05-07 01:46:2120and bugs our team works on, and are utilized by multiple testing teams.
Akihiro Ota61600202020-05-06 01:58:3721
22## The Release Notes Process
23Release notes are a collaborative effort and usually involve two or three team
Akihiro Ota2df15b92020-05-07 01:46:2124members who own the process. The process is as follows:
Akihiro Ota61600202020-05-06 01:58:37251. One owner generates a list of commits for the release and pastes the output
Akihiro Ota170802292021-04-16 17:29:1726in a shared Google Document. For more details on how to generate this list, see
27the how-to section below.
Akihiro Ota61600202020-05-06 01:58:37282. The commits are split evenly among the owners.
293. Each owner parses their assigned commits, removing irrelevant information,
30summarizing important content, contacting developers for clarification, and
31categorizing commits with user-impact.
324. Once all commits have been categorized or deleted, one owner forwards the
33release notes to the team's PgMs.
345. The PgMs take a final pass over the document, then forward it to relevant
35stakeholders.
36
Akihiro Ota170802292021-04-16 17:29:1737## How to generate a list of accessibility-related commits
38There are a few prerequisites needed before you can generate a list of
39accessibility-related commits. Run the following commands:
40
41```
42$ gcert # login with your ldap and password.
43$ git clone "sso://team/chrome-a11y-core/release-notes"
44$ cd release-notes
45$ pip3 install -t lib/ -r requirements.txt
46```
47
48Now that you've cloned the repository and installed requirements, there is one
49final step needed before you can generate commits. The team-milestone-stats
50script relies on a json file that isn't committed to the repository for security
51reasons. Please follow the below steps to add the json file:
52
531. Create a new file named 'chrome-accessibility-749c56b5a435.json' in the same
54directory as the team-milestone-stats script; leave this open for editing.
552. In a browser, visit valentine.corp.google.com
563. Search for "Chrome release notes json key"
574. Copy the secret to your clipboard using the 'copy to clipboard' button
585. Paste the secret into the new json file. Then save and close the file.
59
60Please reach out to akihiroota@, meredithl@, or chrishall@ if you run into
61any problems during this process. Note: Please do not share this file with
62anyone outside of Google.
63
64At this point, you can generate a list of commits with a single command:
65
66```
67$ python3 team-milestone-stats.py <path-to-chromium-src> <target-milestone> --html --file
68```
69
70The above command will run a script to generate a list of accessibility-related
71commits for the specified milestons. The '--html' parameter specifies that we
72want to generate an HTML file, and the '--file' parameter specifies that we want
73to save the generated output into a file, as opposed to standard terminal
74output.
75
76To get the contents of the file into a Google Doc:
771. Go to docs.google.com
782. Select the file picker, which should have a tooltip with the title 'Open file
79picker'.
803. Navigate to the 'Upload' tab.
814. Upload the html file that was generated by the script.
82
83At this point, you should be all set. Please see bullet #2 in the
84'Release Notes Process' section for further instructions.
85
Akihiro Ota61600202020-05-06 01:58:3786## Why AX-Relnotes
Akihiro Ota2df15b92020-05-07 01:46:2187We require our developers to include an AX-Relnotes field in their commit
88messages to make the release notes process more distributed and accurate.
89Developers have the most context about how their changes affect users, and
90having developers summarize their changes saves time and effort for the
91release notes owners.
Akihiro Ota61600202020-05-06 01:58:3792
93## Questions?
Akihiro Ota2df15b92020-05-07 01:46:2194If you have any questions regarding accessibility release notes that have not
Akihiro Ota61600202020-05-06 01:58:3795been answered in this document, please contact a member of
96ui/accessibility/OWNERS.