Skip to content

Commit 3fa1b81

Browse files
authored
Merge branch 'main' into davestein/label-ticket-updates
2 parents a47634d + 71eafe7 commit 3fa1b81

File tree

8 files changed

+456
-429
lines changed

8 files changed

+456
-429
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Build
22

33
on:
44
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
- labeled
510
push:
611
branches:
712
- main

CONTRIBUTING.md

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Before you start, we ask that you understand the following guidelines.
66

77
## Code of conduct
88

9-
This project adheres to the Adobe [code of conduct](../CODE_OF_CONDUCT.md). By participating,
9+
This project adheres to the Adobe [code of conduct](CODE_OF_CONDUCT.md). By participating,
1010
you are expected to uphold this code. Please report unacceptable behavior to
1111
1212

@@ -18,12 +18,10 @@ consensus around project direction and issue solutions within issue threads
1818

1919
### Current areas of work
2020

21-
The Adobe CAI team has been using this crate as the foundation of Adobe's Content Authenticity Initiative-related products and services since late 2020. As we shift toward making this crate available for open usage, we're aware that there is quite a bit of work to do to create what we'd feel comfortable calling a 1.0 release. We've decided to err on the side of releasing earlier so that people can experiment with it and give us feedback.
22-
23-
We expect to do work on a number of areas in the next few months while we remain in prerelease (0.x) versions. Some broad categories of work (and thus things you might expect to change) are:
21+
Some broad categories of work (and thus things you might expect to change) are:
2422

2523
* We'll be reviewing and refining our APIs for ease of use and comprehension. We'd appreciate feedback on areas that you find confusing or unnecessarily difficult.
26-
* We'll also be reviewing our APIs for compliance with Rust community best practices. There are some areas (for example, use of public fields and how we take ownership vs references) where we know some work is required.
24+
* We'll also be reviewing our APIs for compliance with best practices.
2725
* Our documentation is incomplete. We'll be working on refining the documentation.
2826
* Our testing infrastructure is incomplete. We'll be working on improving test coverage, memory efficiency, and performance benchmarks.
2927

@@ -61,11 +59,35 @@ This will give us an opportunity to discuss API design and avoid duplicate effor
6159

6260
### Pull request titles
6361

64-
The build process automatically adds a pull request (PR) to the [CHANGELOG](CHANGELOG.md) unless the title of the PR begins with `(IGNORE)`. Start PR titles with `(IGNORE)` for minor documentation updates and other trivial fixes that you want to specifically exclude from the CHANGELOG.
62+
Titles of pull requests that target a long-lived branch such as _main_ or a release-specific branch should follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#specification). This means that the first word of the pull request title should be one of the following:
63+
64+
* `build`
65+
* `chore`
66+
* `ci`
67+
* `docs`
68+
* `feat`
69+
* `fix`
70+
* `perf`
71+
* `refactor`
72+
* `revert`
73+
* `style`
74+
* `test`
75+
76+
Optionally, but preferred, a scope can be added in parentheses after the type. The scope should be the name of the module or component that the commit affects. For example, `feat(api): Introduce a new API to validate 1.0 claims`.
77+
78+
If more detail is warranted, add a blank line and then continue with sentences (these sentences should be punctuated as such) and paragraphs as needed to provide that detail. There is no need to word-wrap this message.
79+
80+
For example:
81+
82+
```text
83+
feat(api): Introduce a new API to validate 1.0 claims
84+
85+
Repurpose existing v2 API for 0.8 compatibility (read: no validation) mode.
86+
```
87+
88+
The conventional commit message requirement does not apply to individual commits within a pull request, provided that those commits will be squashed when the PR is merged and the resulting squash commit does follow the conventional commit requirement. This may require the person merging the PR to verify the commit message syntax when performing the squash merge.
6589

66-
Additionally, the build process takes specific actions if the title of a PR begins with certain special strings:
67-
- `(MINOR)`: Increments the minor version, per [semantic versioning](https://semver.org/) convention. **IMPORTANT:** This flag should be used for any API change that breaks compatibility with previous releases while this crate is in prerelease (version 0.x) status.
68-
- `(MAJOR)`: Increments the major version number, per [semantic versioning](https://semver.org/) convention.
90+
TIP: For single-commit PRs, ensure the commit message conforms to the conventional commit requirement, since by default that will also be the title of the PR.
6991

7092
## From contributor to committer
7193

0 commit comments

Comments
 (0)