History log of /openbmc/openbmc-build-scripts/tools/ (Results 1 – 13 of 13)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d5d6395007-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format-code: handle incorrect 'env python3'

I noticed the `tools/owners` file was not getting the linters ran
correctly and upon investigation I found that it had the wrong path
for env, which cause

format-code: handle incorrect 'env python3'

I noticed the `tools/owners` file was not getting the linters ran
correctly and upon investigation I found that it had the wrong path
for env, which caused `file` to give incorrect results.

Fix the path in tools/owners, reformat and fix linter issues, and
ensure the scripts can handle python3 scripts with the wrong env
path.

I checked the codebase and there was only one other script, which
happens to reside in openbmc/openbmc, which used this incorrect
path. Therefore this change should have no effect on existing
repositories.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ice9703afbf104e3529f2c1b29ba8ba680eb07d94

show more ...


/openbmc/openbmc-build-scripts/.gitignore
/openbmc/openbmc-build-scripts/OWNERS
/openbmc/openbmc-build-scripts/build-jenkins.sh
/openbmc/openbmc-build-scripts/build-rootfs-size-docker.sh
/openbmc/openbmc-build-scripts/build-setup.sh
/openbmc/openbmc-build-scripts/config/.gitlint
/openbmc/openbmc-build-scripts/config/gitlint/block_comment.py
/openbmc/openbmc-build-scripts/config/lib/ignore-filter
/openbmc/openbmc-build-scripts/docs-build.sh
/openbmc/openbmc-build-scripts/initramfs-build.sh
/openbmc/openbmc-build-scripts/jenkins/userid-validation
/openbmc/openbmc-build-scripts/kernel-build-setup.sh
/openbmc/openbmc-build-scripts/kernel-build.sh
/openbmc/openbmc-build-scripts/openpower-build-setup.sh
/openbmc/openbmc-build-scripts/qemu-build.sh
/openbmc/openbmc-build-scripts/run-qemu-robot-test.sh
/openbmc/openbmc-build-scripts/run-rootfs-size-docker.sh
/openbmc/openbmc-build-scripts/run-unit-test-docker.sh
/openbmc/openbmc-build-scripts/scripts/boot-qemu.sh
/openbmc/openbmc-build-scripts/scripts/build-qemu-robot-docker.sh
/openbmc/openbmc-build-scripts/scripts/build-unit-test-docker
/openbmc/openbmc-build-scripts/scripts/clean-unit-test-docker
/openbmc/openbmc-build-scripts/scripts/dbus-unit-test.py
/openbmc/openbmc-build-scripts/scripts/format-code.sh
/openbmc/openbmc-build-scripts/scripts/generate-html-index.py
/openbmc/openbmc-build-scripts/scripts/get_unit_test_report.py
/openbmc/openbmc-build-scripts/scripts/run-robot.sh
/openbmc/openbmc-build-scripts/scripts/test-qemu
/openbmc/openbmc-build-scripts/scripts/unit-test.py
/openbmc/openbmc-build-scripts/test-distro.sh
owners
/openbmc/openbmc-build-scripts/trace-kernel-build.sh
/openbmc/openbmc-build-scripts/u-boot-build.sh
8cfff0d520-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

tools: owners: support recursive OWNERS

Search for any OWNERS files anywhere in the repository, rather than
just at the root, and incorporate their information into the
review-set.

Tested: Modified

tools: owners: support recursive OWNERS

Search for any OWNERS files anywhere in the repository, rather than
just at the root, and incorporate their information into the
review-set.

Tested: Modified meta-aspeed/recipes-bsp/u-boot/u-boot-aspeed.inc
and observed additional reviewers as expected.

```
$ tools/owners --path $(wd path lfopenbmc) reviewers
{"reviewer": "bradleyb@fuzziesquirrel.com", "state": "REVIEWER", "notify": "NONE", "notify_details": {"TO": {"accounts": ["bradleyb@fuzziesquirrel.com"]}}}
{"reviewer": "edtanous@google.com", "state": "REVIEWER", "notify": "NONE", "notify_details": {"TO": {"accounts": ["edtanous@google.com"]}}}
{"reviewer": "geissonator@yahoo.com", "state": "REVIEWER", "notify": "NONE", "notify_details": {"TO": {"accounts": ["geissonator@yahoo.com"]}}}
{"reviewer": "joel@jms.id.au", "state": "REVIEWER", "notify": "NONE", "notify_details": {"TO": {"accounts": ["joel@jms.id.au"]}}}
{"reviewer": "patrick@stwcx.xyz", "state": "REVIEWER", "notify": "NONE", "notify_details": {"TO": {"accounts": ["patrick@stwcx.xyz"]}}}
{"reviewer": "chiawei_wang@aspeedtech.com", "state": "CC", "notify": "NONE", "notify_details": {"TO": {"accounts": ["chiawei_wang@aspeedtech.com"]}}}
{"reviewer": "zweiss@equinix.com", "state": "CC", "notify": "NONE", "notify_details": {"TO": {"accounts": ["zweiss@equinix.com"]}}}
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I08775e3975897066d79c22ba38f0fdef364ed708

show more ...

29986f1919-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

tools: owners: reduce notify spam from Jenkins

By default, the Gerrit 'reviewers' API will notify everyone of
the change to add a new reviewer. When adding reviewers automatically
from Jenkins this

tools: owners: reduce notify spam from Jenkins

By default, the Gerrit 'reviewers' API will notify everyone of
the change to add a new reviewer. When adding reviewers automatically
from Jenkins this can cause quite a bit of spam. Adjust the 'notify'
fields of the API call so that only the newly-added reviewer is
notified.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib992284918145a31c9ff749737b3ae09f4d5ef0e

show more ...

47b59dc818-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

jenkins: add owners tool to userid-validation flow

Run the 'owners' tool during the userid-validation so that
owners and reviewers are automatically added by Jenkins.

Fix a few minor issues with th

jenkins: add owners tool to userid-validation flow

Run the 'owners' tool during the userid-validation so that
owners and reviewers are automatically added by Jenkins.

Fix a few minor issues with the 'owners' tool:

- Switch the 'push-args' option from BooleanOptionalAction since
this isn't supported in the Python version on the Jenkins
controller.

- Handle empty 'matchers' statements.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib496c5874a532299ecf821345c8c25d87a21f3f1

show more ...

ca1b89eb19-Jun-2022 Patrick Williams <patrick@stwcx.xyz>

tools: owners: handle matchers

Enhance the owners tool to parse the 'matchers' directives in order
to add additional owners and reviewers.

Tested:

* Created a bogus commit in 'docs' to detect GPIO

tools: owners: handle matchers

Enhance the owners tool to parse the 'matchers' directives in order
to add additional owners and reviewers.

Tested:

* Created a bogus commit in 'docs' to detect GPIO and MCTP matchers.
* Created a bogus commit in 'smbios-mdr' to detect change to
speed_select.hpp.

```
$ tools/owners --path ../docs reviewers && echo "..." && tools/owners --path ../smbios-mdr reviewers
{"reviewer": "bradleyb@fuzziesquirrel.com", "state": "REVIEWER"}
{"reviewer": "patrick@stwcx.xyz", "state": "REVIEWER"}
{"reviewer": "andrew@aj.id.au", "state": "CC"}
{"reviewer": "anoo@us.ibm.com", "state": "CC"}
{"reviewer": "gmills@linux.vnet.ibm.com", "state": "CC"}
{"reviewer": "jk@ozlabs.org", "state": "CC"}
{"reviewer": "joel@jms.id.au", "state": "CC"}
...
{"reviewer": "jonathan.doman@intel.com", "state": "REVIEWER"}
{"reviewer": "kuiying.wang@intel.com", "state": "REVIEWER"}
{"reviewer": "yugang.chen@linux.intel.com", "state": "REVIEWER"}
{"reviewer": "zhikui.ren@intel.com", "state": "REVIEWER"}
```

Change-Id: Idda5e344c1d061d1ceaef35b65d546b3b679b382
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

6cef255a29-May-2022 Patrick Williams <patrick@stwcx.xyz>

tools: owners: initial parsing of OWNERS file

Tested:

```
$ tools/owners reviewers
{"reviewer": "geissonator@yahoo.com", "state": "REVIEWER"}
{"reviewer": "joel@jms.id.au", "state": "REVIEWER"}
{"r

tools: owners: initial parsing of OWNERS file

Tested:

```
$ tools/owners reviewers
{"reviewer": "geissonator@yahoo.com", "state": "REVIEWER"}
{"reviewer": "joel@jms.id.au", "state": "REVIEWER"}
{"reviewer": "patrick@stwcx.xyz", "state": "REVIEWER"}
{"reviewer": "andrew@aj.id.au", "state": "CC"}

$ tools/owners reviewers --push-args
r=geissonator@yahoo.com,r=joel@jms.id.au,r=patrick@stwcx.xyz,cc=andrew@aj.id.au
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I145bd065dff101776c733fddb26fea4f324dd100

show more ...

e7d9d51a21-Dec-2021 Patrick Williams <patrick@stwcx.xyz>

commit-tracker: remove dead tool

This tool was last touched in 2016 and uses python2. It seems like
nobody actively uses it.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1806ade

commit-tracker: remove dead tool

This tool was last touched in 2016 and uses python2. It seems like
nobody actively uses it.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1806ade444710ed82d4bab70d3e1f1d2b67c4c54

show more ...


/openbmc/openbmc-build-scripts/.shellcheck
/openbmc/openbmc-build-scripts/MAINTAINERS
/openbmc/openbmc-build-scripts/OWNERS
/openbmc/openbmc-build-scripts/build-jenkins.sh
/openbmc/openbmc-build-scripts/build-rootfs-size-docker.sh
/openbmc/openbmc-build-scripts/build-setup.sh
/openbmc/openbmc-build-scripts/config/eslint-global-config.json
/openbmc/openbmc-build-scripts/config/openbmc-spelling.txt
/openbmc/openbmc-build-scripts/docs-build.sh
/openbmc/openbmc-build-scripts/initramfs-build.sh
/openbmc/openbmc-build-scripts/jenkins/README.md
/openbmc/openbmc-build-scripts/jenkins/build-seed
/openbmc/openbmc-build-scripts/jenkins/run-build-script-ci
/openbmc/openbmc-build-scripts/jenkins/run-meta-ci
/openbmc/openbmc-build-scripts/jenkins/userid-validation
/openbmc/openbmc-build-scripts/kernel-build-setup.sh
/openbmc/openbmc-build-scripts/kernel-build.sh
/openbmc/openbmc-build-scripts/openpower-build-setup.sh
/openbmc/openbmc-build-scripts/qemu-build.sh
/openbmc/openbmc-build-scripts/run-qemu-robot-test.sh
/openbmc/openbmc-build-scripts/run-rootfs-size-docker.sh
/openbmc/openbmc-build-scripts/run-unit-test-docker.sh
/openbmc/openbmc-build-scripts/scripts/boot-qemu-test.exp
/openbmc/openbmc-build-scripts/scripts/boot-qemu.sh
/openbmc/openbmc-build-scripts/scripts/build-qemu-robot-docker.sh
/openbmc/openbmc-build-scripts/scripts/build-unit-test-docker
/openbmc/openbmc-build-scripts/scripts/clean-unit-test-docker
/openbmc/openbmc-build-scripts/scripts/dbus-unit-test.py
/openbmc/openbmc-build-scripts/scripts/format-code.sh
/openbmc/openbmc-build-scripts/scripts/generate-html-index.py
/openbmc/openbmc-build-scripts/scripts/get_unit_test_report.py
/openbmc/openbmc-build-scripts/scripts/repositories.txt
/openbmc/openbmc-build-scripts/scripts/run-robot.sh
/openbmc/openbmc-build-scripts/scripts/test-qemu
/openbmc/openbmc-build-scripts/scripts/unit-test.py
/openbmc/openbmc-build-scripts/test-distro.sh
/openbmc/openbmc-build-scripts/trace-kernel-build.sh
/openbmc/openbmc-build-scripts/u-boot-build.sh
a9e83c4e29-Nov-2016 Charles Hofer <cphofer@us.ibm.com>

Added JSON output to commit-tracker

Change-Id: I11cd0a7c7ca68824ae175556c4e09f70caa9e863
Signed-off-by: Charles Hofer <cphofer@us.ibm.com>

ec6b041b29-Nov-2016 Charles Hofer <cphofer@us.ibm.com>

Added HTML output to commit-tracker

Change-Id: Ib62deb9204a79080fb45ba23ea43170a8590ade4
Signed-off-by: Charles Hofer <cphofer@us.ibm.com>

ff54ae9b29-Nov-2016 Charles Hofer <cphofer@us.ibm.com>

Commit tracker now prints information on closed issues

Change-Id: I09443d0045dd466390a4444982a618a5c93e7d1e
Signed-off-by: Charles Hofer <cphofer@us.ibm.com>

493cd6fc29-Nov-2016 Charles Hofer <cphofer@us.ibm.com>

Added line counts and switched to object-based approach in commit-tracker

Change-Id: Ibd8e382fcfb39d73d7684663add99796b63ce729
Signed-off-by: Charles Hofer <cphofer@us.ibm.com>

046fc91710-Nov-2016 Charles Hofer <cphofer@us.ibm.com>

Switched to argparse in commit-tracker

Change-Id: Idcdb676d309c4888a82bc0b556192507ab5b4617
Signed-off-by: Charles Hofer <cphofer@us.ibm.com>

ac55121e20-Oct-2016 Charles Hofer <cphofer@us.ibm.com>

Added commit-tracker tool

Created a tool to view the number of commits between two revisions

Change-Id: Iba3481e56c0745f85e31904ea06bc70bbe82f230
Signed-off-by: Charles Hofer <cphofer@us.ibm.com>