Skip to content

Latest commit

 

History

History
143 lines (106 loc) · 7 KB

CONTRIBUTING.md

File metadata and controls

143 lines (106 loc) · 7 KB

Thank you for considering contributing!

Contributions are always welcome. We accept bug fixes, proposals and new ideas, or simply editorial improvements.

By submitting a pull request you are implicitly adhering to the contribution agreement.

Bugs

You can report a bug by creating an issue. You can also fix it yourself with a pull request.

Proposals for new content

We are open to any proposal that will improve either the content or the presentation of the ABI.

Arm recommends that you present them in a pull request, along with the following details:

  1. A rationale in support of the changes.
  2. A design document to keep track of the reasoning that made the proposal reach its current state.

Please note that this extra information is not a requirement for submitting new content. Contributors are trusted to use their judgment to decide whether or not the proposal needs this information. Arm recommends that you add this information so that it is easier for new ideas to be discussed and possibly accepted, especially for changes of great impact.

Instead of a pull request, you can also create an issue, in which you describe your proposed change. However beware that opening an issue will have less chance to make it into the ABI, as someone will need to do the leg-work to make actual changes.

If you want to make ABI changes that for some reason can't be discussed in public, you can send an email to [email protected].

Manual checking of the PDF documents and Continuous Integration

To check the outcome of your changes, run the tools/rst2pdf/generate-pdfs.sh script. To install the (python) prerequisites for the script, run the tools/rst2pdf/install.sh script.

You can also check the rst syntax of the documents you changed with the tools/common/check-rst-syntax.sh script.

These scripts have only been tested on Linux.

Continuous integration

Whenever you create a pull request, these syntax checking and PDF generating scripts will be executed by Github Actions.

You can download the PDFs in the Checks tab of any pull request (in the Checks tab click on the CI summary page above the highlighted Build sub-tab).

The CI bot will also check the rst syntax of the documents. You can check the output in the Checks tab in the check .rst document syntax build log dropdown.

Pull request workflow

  1. Make pull request

    First you will have to make the actual pull request, which contains the proposed changes. If you are unfamiliar with Github pull requests, you can read up on them here.

    New development (bug-fixes, proposals, extensions, and so on) is committed on the main development branch. Therefore, please submit your PR against the branch main.

    If your change is substansive, please add a short entry to the Change history section of the changed documents that makes clear what you changed.

    Design documents are placed in the <root>/design-documents directory.

  2. Review of pull request

    Your pull request needs to be reviewed. Anyone can review, but at least one of the reviewers needs to be someone from Arm. Good candidate to review your change would be the various so-called document owners who look after the quality of the individual documents. Not every document has an owner, but the most used and important ones do. See the table below:

document owner Github handle
Procedure Call Standard for the Arm Architecture Ties Stuij @stuij
Procedure Call Standard for the Arm 64-bit Architecture Ties Stuij @stuij
ELF for the Arm Architecture Matthew Malcomson @mmalcomson
ELF for the Arm 64-bit Architecture Matthew Malcomson @mmalcomson
DWARF for the Arm Architecture Keith Walker @walkerkd
DWARF for the Arm 64-bit Architecture Keith Walker @walkerkd
PAUTH Extension to ELF for the Arm 64-bit Architecture Peter Smith @smithp35
Exception Handling ABI for the Arm Architecture Victor Campos @vhscampos
Vector Function Application Binary Interface Specification for AArch64 Francesco Petrogalli / Richard Sandiford @fpetrogalli / @rsandifo-arm
System V ABI for the Arm 64-bit Architecture Peter Smith @smithp35
Morello extensions to Procedure Call Standard for the Arm 64-bit Architecture Silviu Baranga @sbaranga-arm
Morello extensions to ELF for the Arm 64-bit Architecture Silviu Baranga @sbaranga-arm
Morello Descriptor ABI for the Arm 64-bit Architecture Silviu Baranga @sbaranga-arm
  1. Merging the change

    Once the change has been reviewed properly it can be merged, which can only be done by a member of the abi-aa admin group. If your change hasn't been merged for more than a week after it has been accepted, leave a comment on the pull request. Merging of changes should use the rebase and merge strategy. Other merge options should be disabled.

Style guide

  • We favor simple language over complicated language.
  • If in doubt, we'll consult the Chicago Manual of Style as it is a de facto standard.
  • We should use Sentence case rather than Title Case for section headings. So capitalization only of the first word.

Contribution agreement

Contributions to this project are licensed under an inbound=outbound model such that any such contributions are licensed by the contributor under the same terms as those in the LICENSE file.

We do not require copyright assignment. The original contributor will retain the copyright.

When adding content for the first time to an existing ABI specification or when creating a new one, you should add the copyright owner (presumably either yourself or your organization) to the list of copyright owners in the copyright notices section at the top of the document. Add a copyright notice in the same style as the other copyright notices already present.