Skip to content
Merged
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
7 changes: 4 additions & 3 deletions .agents/skills/commit/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ description: Write a git commit message and verify formatting before committing.

When creating a commit for a patch:

- Run `bash tools/format.sh` if formatting has not been run since the last edits.
- Run `bash tools/pr-prep.sh` after the final edits to format the worktree and
update copyright years.
- Most files should have a copyright, save files like gold files and .json files which don't take comments.
- Run `bash tools/copyright-update.sh` after the final edits to update copyrights. With no argument it updates currently changed files; with a commit argument it updates the files touched by that commit.
- Verify every changed or new file that carries a copyright header uses the current year before committing.
- Verify every changed or new file that carries a copyright header ends with
its most recent commit year before committing.
- Write a short one-line summary (target: under ~60 characters).
- Add a concise body (1-3 short paragraphs) focused on why the change is needed and how it resolves the issue.
- Wrap all commit message lines at 72 characters or less.
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Please follow [best practices](https://github.com/trein/dev-best-practices/wiki/

When your code is ready to be submitted, read github's article about how to [submit a pull request](https://help.github.com/articles/creating-a-pull-request/) to begin the code review process and follow its directions. Before creaing a pull request, please do the following to make sure the patch is ready for review:

1. Run the tools/format.sh script to format the source code according to the repository's formatting standards.
1. Run `tools/pr-prep.sh` to format the source code and update copyright years
according to the repository's standards.
1. Verify that all AuTests pass (see the [README](https://github.com/yahoo/proxy-verifier/blob/master/README.md) for instructions on how to run the AuTests).
1. Verify that all unit tests pass (see the [README](https://github.com/yahoo/proxy-verifier/blob/master/README.md) for instructions on how to run the unit tests).

Expand Down
2 changes: 1 addition & 1 deletion NOTICES
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Proxy Verifier

Copyright 2020, Verizon Media
Copyright 2020-2026, Verizon Media
SPDX-License-Identifier: Apache-2.0

~~~
Expand Down
2 changes: 1 addition & 1 deletion src/core/case_insensitive_utils.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @file
* Data structures to support case-insensitive containers.
*
* Copyright 2021, Verizon Media
* Copyright 2021-2026, Verizon Media
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
2 changes: 1 addition & 1 deletion src/core/http2.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @file
* Common data structures and definitions for Proxy Verifier tools.
*
* Copyright 2022, Verizon Media
* Copyright 2022-2026, Verizon Media
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
2 changes: 1 addition & 1 deletion src/core/yaml_util.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @file
*
* Copyright 2020, Verizon Media
* Copyright 2020-2026, Verizon Media
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/autest-site/client.test.ext
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Implement the Proxy Verifier client extensions.
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/autest-site/directive_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/autest-site/proxy.test.ext
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Implement Proxy Verifier test proxy logic
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2023, Verizon Media
# Copyright 2023-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/autest-site/replay_gen.test.ext
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Implement the replay-gen.py extension.
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/autest-site/server.test.ext
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Implement the Proxy Verifier test server extension.
'''
# @file
#
# Copyright 2023, Verizon Media
# Copyright 2023-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/autest-site/socket_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2020, Verizon Media
# Copyright 2020-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/autest-site/test_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/await/await.replay.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/await/await.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/body/body.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/delay/delay.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/delay/verify_duration.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/doctest/doctest.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2020, Verizon Media
# Copyright 2020-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/field_parsing/empty_field.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/field_parsing/empty_proxy.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2020, Verizon Media
# Copyright 2020-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/field_parsing/parse_yaml.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2020, Verizon Media
# Copyright 2020-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/http/http.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/http2/http2.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/http2_abort/http2_abort.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2023, Verizon Media
# Copyright 2023-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @file
#
# Copyright 2023, Verizon Media
# Copyright 2023-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @file
#
# Copyright 2023, Verizon Media
# Copyright 2023-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2024, Verizon Media
# Copyright 2024-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#
Test.Summary = '''
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @file
#
# Copyright 2024, Verizon Media
# Copyright 2024-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/http2_frames/http2_frames.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2022, Verizon Media
# Copyright 2022-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2023, Verizon Media
# Copyright 2023-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/http2_frames/verify_duration.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/http3/http3.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/https/https.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
2 changes: 1 addition & 1 deletion tests/autests/gold_tests/https/mtls.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# @file
#
# Copyright 2021, Verizon Media
# Copyright 2021-2026, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
Loading