Skip to content

sync the change from nuttx/.github folder #3103

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

Merged
merged 12 commits into from
Jun 24, 2025

Conversation

xiaoxiang781216
Copy link
Contributor

Summary

Many improvement apply only to nuttx repo, this pr bring up all to apps repo.

Impact

app's ci workflow is same as nuttx git now.

Testing

ci

@simbit18
Copy link
Contributor

simbit18 commented Jun 23, 2025

Hi @xiaoxiang781216 Why are you synchronizing everything from nuttx repository ?

Ok

.github/ISSUE_TEMPLATE/001_bug_report.yml
.github/PULL_REQUEST_TEMPLATE.md
.github/linters/setup.cfg
.github/workflows/check.yml


Not necessary

.github/nxstyle.json

echo "::add-matcher::nuttx/.github/nxstyle.json"

.github/gcc.json
echo "::add-matcher::sources/nuttx/.github/gcc.json"

@xiaoxiang781216
Copy link
Contributor Author

Not necessary

.github/nxstyle.json

echo "::add-matcher::nuttx/.github/nxstyle.json"

.github/gcc.json

echo "::add-matcher::sources/nuttx/.github/gcc.json"

dropped, thanks.

cederom and others added 12 commits June 24, 2025 08:02
* We do not have "Settings" tab in the Apache's owned repository,
  thus we need to update .asf.yaml file with repository settings.
* No direct push to master branch is possible.
* Require status checks to pass before merge.
* Setup reviews parameters.
* Require signatures.
* Require conversation resolution.
* Require linear history.

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
* Strict master branch protection requires all PR to be in sync with latest
  master even if changes are not related and there are no conflicts.
* Because we have lots of daily merges this blocks most of the PRs as they
  are forced to be rebased on top of current master.
* This also causes unnecessary automatic CI rebuild of each rebase.
* Therefore we are setting strict status checks setting to false.
* required_signatures in github means not only `git commit -s` but also
  cryptographic signature which is not required by us, setting false.
* Disable "contexts" checks enforcement, that cause CI problems, mark TODO.

References:
https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file
https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification
https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
* Update CONTRIBUTING.md guide with hints and examples.
* Minor GitHub Pull Request Template update hinting expected information.

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
* Fix CONTRIBUTING.md github link reference.
* Full URL is provided to avoid relative/fork reference issues.
* Minor update on full contributing documentation.

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
Config multi line output to mode 3, so isort and black can agree with
each other:
```
3 - Vertical Hanging Indent

from third_party import (
    lib1,
    lib2,
    lib3,
    lib4,
)
```

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
since black and flake8 disagree on code style:
pyvista/pyvista#5591

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
…rtial

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @xiaoxiang781216 :-)

@xiaoxiang781216 xiaoxiang781216 merged commit ee33688 into apache:master Jun 24, 2025
39 checks passed
@xiaoxiang781216 xiaoxiang781216 deleted the sync branch June 24, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants