aboutsummaryrefslogtreecommitdiff
path: root/infra/templates.py
diff options
context:
space:
mode:
authorMax Moroz <mmoroz@chromium.org>2020-03-10 11:08:01 -0700
committerGitHub <noreply@github.com>2020-03-10 11:08:01 -0700
commit71f4914c453d1cba4f13dc331830378939ee84d9 (patch)
treea8747cc078f1b49564a5f1d1359ff21704ceb8d6 /infra/templates.py
parentb2e55225ed658fd1c40ec0cb87cf688a6a1c3330 (diff)
downloadoss-fuzz-71f4914c453d1cba4f13dc331830378939ee84d9.tar.gz
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set. * Update documentation, better presubmit check, new project template. * add docstring to templates.py * Add example values in the project.yaml template and remove python value for now * Add "project: c++" to 256 projects * format * Add labels and selective_unpack sections to the presubmit check * fix incorrect auto_ccs format in three projects * fix nss emails after rebase
Diffstat (limited to 'infra/templates.py')
-rwxr-xr-xinfra/templates.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/templates.py b/infra/templates.py
index 6065ebdbe..517a354cd 100755
--- a/infra/templates.py
+++ b/infra/templates.py
@@ -13,9 +13,11 @@
# limitations under the License.
#
################################################################################
+"""Templates for OSS-Fuzz project files."""
PROJECT_YAML_TEMPLATE = """\
homepage: "<your_project_homepage>"
+language: <programming_language> # Example values: c, c++, go, rust.
primary_contact: "<primary_contact_email>"
"""