We should define a unified syntax for all comment-based actions, because right now it's a hodgepodge of mixed conventions.


Le 02/12/2022 à 13:52, Jacob Wujciak a écrit :
Hello Everyone,

A quick update, anyone (regardless of committer status) can now self-assign
issues by commenting "take" on the issue.
The PR with examples: https://github.com/apache/arrow/pull/14785

On Wed, Nov 30, 2022 at 4:04 PM Joris Van den Bossche <
[email protected]> wrote:

Hi all,

There is a separate vote thread about already using GitHub issues for all
new issues (and in practice users also are already doing that, since new
JIRA signup has been disabled). And so to prepare for this, there has been
some ongoing work to update our workflows to handle GitHub issues (both
issues and PRs closing such issues).

An overview of the current state of using GitHub issues:

    - The current "lang: xx" labels have been renamed to "Component: xx" (to
    match the components on JIRA to ease the migration of JIRA issues to
    github). The github workflow to automatically add those labels to PRs
    (based on which files they touch) has been updated to use those labels.
We
    can still reconsider the exact naming scheme later (after the
migration).
    - People can *open GitHub* *issues* for reports. In the form (
    https://github.com/apache/arrow/issues/new/choose), you can currently
    choose between bug or feature request, and this choice will
automatically
    add a label to the resulting issue ("Type: bug", "Type: enhancement").
       - Within the form, you can also choose a component (matching the
       components from JIRA). However, note that this does NOT yet
automatically
       add a label (https://issues.apache.org/jira/browse/ARROW-18377
tracks
       this). So for committers that open or triage issues, please add the
       matching component labels manually, for now (until this is
automated).
       - People currently can't assign an issue to themselves, as one can do
       on JIRA (unless you are a committer). That's a limitation of GitHub,
and
       the idea is to workaround that with some comment workflow:
https://github.com/apache/arrow/issues/14784

       - People can *open* *PRs* that reference a GitHub issue. Instead of
    starting the title with "ARROW-XXX: ", you use "GH-XXX: ".
       - The bot checking the title has been updated to handle this
       correctly, and will in addition also assign the linked issue to the
user
       opening the PR, and will post a message in case the issue has no
component.
       - The merge script has been updated to be able to merge such PRs
       (once https://github.com/apache/arrow/pull/14750 is merged). This
       will then close the linked github issue, and will also set the
milestone
       (if not yet set).
    - For now we still require that a PR references a GH or JIRA issue
       (except for MINOR PRs), as was required when we only used JIRAs
for issues.
       This is something we could discuss in the future in a separate
thread if we
       want to relax this and allow direct PRs (which then will also require
       further updates to the workflows / merge script).

This is not yet documented in our contributing guidelines. But this thread
is a start to at least ensure the community is up to date with those
changes.

For sure the exact workflows will still be further refined while starting
to use this. And if there are things missing or unclear in the current
practices around how to handle GitHub issues or any other feedback or
ideas, this thread is yours!

Best,
Joris


Reply via email to