You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,10 @@
1
1
# How to Contribute
2
2
3
-
We'd love to accept your patches and contributions to this project. There are
4
-
just a few small guidelines you need to follow.
3
+
We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow before opening an issue or a PR:
4
+
1. Ensure the issue was not already reported.
5
+
2. Open a new issue if you are unable to find an existing issue addressing your problem. Make sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
6
+
3. Discuss the priority and potential solutions with the maintainers in the issue. The maintainers would review the issue and add a label "Accepting Contributions" once the issue is ready for accepting contributions.
7
+
4. Open a PR only if the issue is labeled with "Accepting Contributions", ensure the PR description clearly describes the problem and solution. Note that an open PR without an issue labeled with "Accepting Contributions" will not be accepted.
// If the package status is not a GA version, then add a disclaimer around prerelease
107
122
// implications
108
123
if (status != null) {
109
124
this.PRERELEASE_IMPLICATIONS =
110
125
"## Prerelease Implications\n\n"
111
-
+ "This package is a prerelease version! Use with caution.\n"
112
-
+ "Prerelease versions are considered unstable as they may be shut down. You can read more about [Cloud API versioning strategy here](https://cloud.google.com/apis/design/versioning).\n"
113
-
+ "Each Cloud Java client library may contain multiple packages. Each package containing a version number in its name corresponds to a published version of the service.\n"
114
-
+ "We recommend using the latest stable version for new production applications, which can be identified by the largest numeric version that does not contain a suffix.\n"
115
-
+ "For example, if a client library has two packages: `v1` and `v2alpha`, then the latest stable version is `v1`.\n"
116
-
+ "If you use an unstable release, breaking changes may be introduced when upgrading.\n\n";
126
+
+ "This package is a prerelease version! Use with caution.\n\n"
127
+
+ "Prerelease versions are considered unstable as they may be shut down and/or subject to breaking changes when upgrading.\n"
128
+
+ "Use them only for testing or if you specifically need their experimental features.\n\n";
117
129
}
118
130
119
-
// This regex captures the package path before the version (if it exists) and the version
0 commit comments