Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing please ignore #18962

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name: Bug Report
name: Bug report
description: File a bug report
labels: ["type: bug", "untriaged"]
assignees:
- pavank1992
- sgowroji
body:
- type: markdown
attributes:
value: >
**Attention:** if this is a _question_ about how to build / test / query / deploy using
Bazel, or a _discussion starter_, send it to [email protected] or discuss on
[Bazel Slack](https://slack.bazel.build/) instead!
Bazel, or a _discussion starter_, please start a new thread at Bazel's
[GitHub Discussions](https://github.com/bazelbuild/bazel/discussions), send it to
[email protected], or discuss on [Bazel Slack](https://slack.bazel.build/)
instead!
- type: textarea
id: desc
attributes:
Expand Down Expand Up @@ -40,6 +46,17 @@ body:
label: >
What's the output of `git remote get-url origin; git rev-parse master; git rev-parse HEAD` ?
render: text
- type: textarea
id: bisect
attributes:
label: >
Is this a regression? If yes, please try to identify the Bazel commit where the bug was
introduced.
description: >
If the problem is specific to the most recent release or the Bazel@HEAD version and it
doesn't occur in earlier versions, you can use the `bazelisk --bisect=<GOOD>..<BAD>`
command to identify the specific version or commit where the issue was introduced. For more
information, visit https://github.com/bazelbuild/bazelisk#--bisect.
- type: textarea
id: relevant-info
attributes:
Expand Down
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Documentation issue
description: File a documentation issue (through bazel.build's "report an issue" button)
labels: ["type: documentation (cleanup)", "untriaged", "team-Documentation"]
assignees:
- pavank1992
- sgowroji
body:
- type: input
id: link
attributes:
label: >
Page link:
- type: textarea
id: desc
attributes:
label: >
Problem description (include actual vs expected text, if applicable):
- type: textarea
id: location
attributes:
label: >
Where do you see this issue? (include link to specific section of the page, if applicable)
- type: textarea
id: extras
attributes:
label: Any other information you'd like to share?
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name: Feature Request
name: Feature request
description: Suggest a new feature
labels: ["type: feature request", "untriaged"]
assignees:
- pavank1992
- sgowroji
body:
- type: markdown
attributes:
value: >
**Attention:** if this is a _question_ about how to build / test / query / deploy using
Bazel, or a _discussion starter_, send it to [email protected] or discuss on
[Bazel Slack](https://slack.bazel.build/) instead!
Bazel, or a _discussion starter_, please start a new thread at Bazel's
[GitHub Discussions](https://github.com/bazelbuild/bazel/discussions), send it to
[email protected], or discuss on [Bazel Slack](https://slack.bazel.build/)
instead!
- type: textarea
id: desc
attributes:
Expand Down
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/mirror_request.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: Mirror request
description: Request to add new archives to mirror.bazel.build
labels: ["mirror request", "type: process", "P2", "team-OSS"]
assignees:
- sgowroji
- pavank1992
title: "[Mirror] "
body:
- type: markdown
attributes:
value: >
**Attention:** if the archive you're trying to mirror is a GitHub release archive,
please use URLs of the form `https://github.com/$USER/$REPO/archive/refs/tags/$TAG`,
instead of the form without the `refs/tags/` part. The latter is *not* guaranteed to
have a stable hash (see
https://github.com/bazel-contrib/SIG-rules-authors/issues/11#issuecomment-1029861300
for more details).
**Attention:** if the archive you're trying to mirror is from GitHub,
please use URLs in the form of `https://github.com/$USER/$REPO/releases/download/...` if available.
If you are the project maintainer, you should create and upload such an release archive.
GitHub doesn't guarantee a stable checksum of source archives in the form of `https://github.com/<org>/<repo>/archive/...`, which are generated on demand.
Check [GitHub Archive Checksum Outage](https://blog.bazel.build/2023/02/15/github-archive-checksum.html) for more details.
- type: textarea
id: urls
attributes:
Expand Down
27 changes: 13 additions & 14 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
---
name: 'Release issue (For release managers only)'
about: Communicate the progress of a release
title: 'Release X.Y - $MONTH $YEAR'
title: 'Release X.Y.Z - $MONTH $YEAR'
labels: ['release','team-OSS','P1','type: process']

---

# Status of Bazel X.Y
# Status of Bazel X.Y.Z

<!-- The first item is only needed for major releases (X.0.0) -->
- Target baseline: [date]
- Expected first release candidate date: [date]
- Expected release date: [date]
- [List of release blockers](link-to-milestone)

To report a release-blocking bug, please add a comment with the text `@bazel-io flag` to the issue. A release manager will triage it and add it to the milestone.

To cherry-pick a mainline commit into X.Y, simply send a PR against the `release-X.Y.0` branch.
To cherry-pick a mainline commit into X.Y.Z, simply send a PR against the `release-X.Y.Z` branch.

Task list:
**Task list:**

<!-- The first three items are only needed for major releases (X.0.0) -->
<!-- The first item is only needed for major releases (X.0.0) -->

- [ ] Pick release baseline:
- [ ] Create release candidate:
- [ ] Check downstream projects:
- [ ] [Create draft release announcement](https://docs.google.com/document/d/1wDvulLlj4NAlPZamdlEVFORks3YXJonCjyuQMUQEmB0/edit)
- [ ] Send for review the release announcement PR:
- [ ] Push the release, notify package maintainers:
- [ ] Pick release baseline: [link to base commit]
- [ ] Create release candidate: X.Y.Zrc1
- [ ] Check downstream projects
- [ ] Create [draft release announcement](https://docs.google.com/document/d/1pu2ARPweOCTxPsRR8snoDtkC9R51XWRyBXeiC6Ql5so/edit) <!-- Note that there should be a new Bazel Release Announcement document for every major release. For minor and patch releases, use the latest open doc. -->
- [ ] Send the release announcement PR for review: [link to bazel-blog PR] <!-- Only for major releases. -->
- [ ] Push the release and notify package maintainers: [link to comment notifying package maintainers]
- [ ] Update the documentation
- [ ] Push the blog post
- [ ] Push the blog post: [link to blog post] <!-- Only for major releases. -->
- [ ] Update the [release page](https://github.com/bazelbuild/bazel/releases/)
90 changes: 90 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Based on paths provided in the CODEOWNERS file

# Add 'awaiting-review' to any PR opened
awaiting-review:
- '**/*'

team-ExternalDeps:
- src/main/java/com/google/devtools/build/lib/bazel/bzlmod/**/*
- src/test/java/com/google/devtools/build/lib/bazel/bzlmod/**/*
- src/test/py/bazel/bzlmod/**/*
- src/main/java/com/google/devtools/build/lib/bazel/repository/**/*
- src/test/java/com/google/devtools/build/lib/bazel/repository/**/*

team-Documentation:
- site/**/*

team-Remote-Exec:
- src/main/java/com/google/devtools/build/lib/remote/**/*
- src/test/java/com/google/devtools/build/lib/remote/**/*
- src/test/py/bazel/remote/**/*
- src/test/shell/bazel/remote/**/*
- src/tools/remote/**/*
- third_party/remoteapis/build/bazel/remote/**/*

team-Rules-Python:
- src/main/java/com/google/devtools/build/lib/bazel/rules/python/**/*
- src/main/java/com/google/devtools/build/lib/rules/python/**/*

team-Rules-Java:
- src/java_tools/**/*
- src/main/java/com/google/devtools/build/lib/rules/java/**/*
- src/test/java/com/google/devtools/build/lib/rules/java/**/*
- src/tools/singlejar/**/*
- tools/java/**/*
- tools/jdk/**/*

team-Android:
- src/tools/android/java/com/google/devtools/build/android/**/*
- src/test/java/com/google/devtools/build/android/**/*
- src/test/shell/bazel/android/**/*

team-Configurability:
- src/main/java/com/google/devtools/build/lib/analysis/**/*
- src/test/java/com/google/devtools/build/lib/analysis/**/*
- src/main/java/com/google/devtools/build/lib/query2/cquery/**/*
- src/test/java/com/google/devtools/build/lib/query2/cquery/**/*
- src/main/java/com/google/devtools/build/lib/rules/platform/**/*
- src/test/java/com/google/devtools/build/lib/rules/platform/**/*
- tools/platforms/**/*

team-Performance:
- src/main/java/com/google/devtools/build/lib/profiler/**/*
- src/main/java/com/google/devtools/build/lib/query2/aquery/**/*
- src/main/java/com/google/devtools/build/lib/query2/query/**/*
- src/main/java/com/google/devtools/build/lib/metrics/**/*
- src/main/java/com/google/devtools/build/lib/actions/**/*
- src/main/protobuf/analysis_v2.proto

team-CLI:
- src/main/java/com/google/devtools/build/lib/runtime/UiStateTracker.java
- src/main/java/com/google/devtools/build/lib/runtime/UiEventHandler.java
- src/main/java/com/google/devtools/build/lib/runtime/SkymeldUiStateTracker.java

team-Local-Exec:
- src/main/java/com/google/devtools/build/lib/sandbox/**/*
- src/main/java/com/google/devtools/build/lib/worker/**/*
- src/main/java/com/google/devtools/build/lib/dynamic/**/*

team-Rules-CPP:
- tools/cpp/**/*
- src/test/java/com/google/devtools/build/lib/rules/cpp/**/*
- src/main/java/com/google/devtools/build/lib/rules/cpp/**/*

# team-Bazel

# team-OSS

# team-Rules-Server

# team-Starlark-Interpreter

# team-Starlark-Integration

# team-Rules-API

# team-Loading-API

# team-Rules-ObjC

# team-Core
21 changes: 0 additions & 21 deletions .github/stale.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/cherry-picker-on-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: cherry-picker-on-close

on:
pull_request:
# branches: [master]
types: [closed]
# push:
# branches: [ release_test, 'iancha_test[0-9]' ]


jobs:
cherry-picker-on-close:
# if: github.event.pusher.name == 'iancha1992'
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
# - name: Harden Runner
# uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
# with:
# egress-policy: audit
- name: Logging github event
run: echo '${{ toJSON(github.event) }}' | jq
- name: Run cherrypicker on close
uses: iancha1992/continuous-integration/actions/cherry-picker@feature-cherrypick
with:
token: ${{ secrets.BAZEL_IO_TOKEN }}
triggered-on: closed
pr-number: ${{ github.event.number }}
23 changes: 23 additions & 0 deletions .github/workflows/cherry-picker-on-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: cherry-picker-on-comment

on:
issues:
types: [milestoned]

jobs:
cherry-picker-on-comment:
if: startsWith(github.event.issue.body, 'Forked from') && (github.event.issue.user.login == 'iancha1992')
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
with:
egress-policy: audit
- name: Logging github event
run: echo '${{ toJSON(github.event) }}' | jq
- name: Run cherrypicker on comment
uses: iancha1992/continuous-integration/actions/cherry-picker@feature-cherrypick
with:
token: ${{ secrets.BAZEL_IO_TOKEN }}
triggered-on: commented
pr-number: ${{ github.event.issue.body }}
25 changes: 25 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "PR Labeler"

on:
pull_request_target:
types: ["opened", "reopened", "ready_for_review"]

permissions:
contents: read

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
with:
egress-policy: audit
- name: Logging github event
run: echo '${{ toJSON(github.event.pull_request.user.login) }}' | jq

- uses: actions/labeler@ba790c862c380240c6d5e7427be5ace9a05c754b # v4.0.3
if: ${{ github.event.pull_request.draft == false && github.event.pull_request.user.login != 'iancha1992'}}
10 changes: 9 additions & 1 deletion .github/workflows/release-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@ name: release-helper
on:
issue_comment:
types: [created, edited]
permissions:
contents: read

jobs:
release-helper:
if: startsWith(github.event.comment.body, '@bazel-io ')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
with:
egress-policy: audit

- name: Run helper
uses: bazelbuild/continuous-integration/actions/release-helper@master
uses: iancha1992/continuous-integration/actions/release-helper@release_test # master
with:
token: ${{ secrets.BAZEL_IO_TOKEN }}
Loading
Loading