http-api-tool 0.1.1__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- http_api_tool-1.0.1/.actrc +4 -0
- http_api_tool-1.0.1/.codespell +2 -0
- http_api_tool-1.0.1/.dockerignore +88 -0
- http_api_tool-1.0.1/.editorconfig +23 -0
- http_api_tool-1.0.1/.github/cache-config.yaml +70 -0
- http_api_tool-1.0.1/.github/dependabot.yml +18 -0
- http_api_tool-1.0.1/.github/release-drafter.yml +68 -0
- http_api_tool-1.0.1/.github/workflows/build-test-release.yaml +587 -0
- http_api_tool-1.0.1/.github/workflows/build-test.yaml +931 -0
- http_api_tool-1.0.1/.github/workflows/codeql.yml +35 -0
- http_api_tool-1.0.1/.github/workflows/dependencies.yaml +54 -0
- http_api_tool-1.0.1/.github/workflows/documentation.yaml +109 -0
- http_api_tool-1.0.1/.github/workflows/openssf-scorecard.yaml +43 -0
- http_api_tool-1.0.1/.github/workflows/release-drafter.yaml +71 -0
- http_api_tool-1.0.1/.github/workflows/security-scans.yaml +53 -0
- http_api_tool-1.0.1/.github/workflows/semantic-pull-request.yaml +55 -0
- http_api_tool-1.0.1/.github/workflows/verify-gha-versions.yaml +29 -0
- http_api_tool-1.0.1/.gitignore +165 -0
- http_api_tool-1.0.1/.gitlint +37 -0
- http_api_tool-1.0.1/.pre-commit-config.yaml +128 -0
- http_api_tool-1.0.1/.readthedocs.yml +32 -0
- http_api_tool-1.0.1/.yamllint +13 -0
- http_api_tool-1.0.1/CHANGELOG-v0.2.0.md +296 -0
- http_api_tool-1.0.1/Dockerfile +131 -0
- http_api_tool-1.0.1/LICENSES/Apache-2.0.txt +201 -0
- http_api_tool-1.0.1/Makefile +144 -0
- http_api_tool-0.1.1/README.md → http_api_tool-1.0.1/PKG-INFO +215 -45
- http_api_tool-0.1.1/PKG-INFO → http_api_tool-1.0.1/README.md +164 -95
- http_api_tool-1.0.1/REUSE.toml +15 -0
- http_api_tool-1.0.1/UV-QUICK-REFERENCE.md +240 -0
- http_api_tool-1.0.1/action.yaml +299 -0
- {http_api_tool-0.1.1 → http_api_tool-1.0.1}/pyproject.toml +34 -52
- http_api_tool-1.0.1/scripts/check-pip-security.py +151 -0
- http_api_tool-1.0.1/scripts/generate_requirements.py +242 -0
- http_api_tool-1.0.1/sonar-project.properties +9 -0
- {http_api_tool-0.1.1 → http_api_tool-1.0.1}/src/http_api_tool/__init__.py +1 -1
- http_api_tool-1.0.1/src/http_api_tool/_version.py +34 -0
- {http_api_tool-0.1.1 → http_api_tool-1.0.1}/src/http_api_tool/cli.py +18 -1
- http_api_tool-1.0.1/uv.lock +802 -0
- {http_api_tool-0.1.1 → http_api_tool-1.0.1}/LICENSE +0 -0
- {http_api_tool-0.1.1 → http_api_tool-1.0.1}/src/http_api_tool/__main__.py +0 -0
- {http_api_tool-0.1.1 → http_api_tool-1.0.1}/src/http_api_tool/verifier.py +0 -0
- {http_api_tool-0.1.1 → http_api_tool-1.0.1}/tests/test_http_api_tool.py +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# SPDX-FileCopyrightText: 2025 The Linux Foundation
|
|
3
|
+
|
|
4
|
+
# Git and version control
|
|
5
|
+
.git
|
|
6
|
+
.gitignore
|
|
7
|
+
.gitattributes
|
|
8
|
+
|
|
9
|
+
# GitHub Actions
|
|
10
|
+
.github
|
|
11
|
+
|
|
12
|
+
# Documentation
|
|
13
|
+
# README.md is needed for package metadata, exclude other markdown files
|
|
14
|
+
*.md
|
|
15
|
+
!README.md
|
|
16
|
+
docs/
|
|
17
|
+
|
|
18
|
+
# Test files and coverage reports
|
|
19
|
+
tests/
|
|
20
|
+
coverage_html_report/
|
|
21
|
+
.coverage
|
|
22
|
+
.pytest_cache/
|
|
23
|
+
htmlcov/
|
|
24
|
+
|
|
25
|
+
# Python cache and build artifacts
|
|
26
|
+
__pycache__/
|
|
27
|
+
*.pyc
|
|
28
|
+
*.pyo
|
|
29
|
+
*.pyd
|
|
30
|
+
.Python
|
|
31
|
+
build/
|
|
32
|
+
develop-eggs/
|
|
33
|
+
dist/
|
|
34
|
+
downloads/
|
|
35
|
+
eggs/
|
|
36
|
+
.eggs/
|
|
37
|
+
lib/
|
|
38
|
+
lib64/
|
|
39
|
+
parts/
|
|
40
|
+
sdist/
|
|
41
|
+
var/
|
|
42
|
+
wheels/
|
|
43
|
+
*.egg-info/
|
|
44
|
+
.installed.cfg
|
|
45
|
+
*.egg
|
|
46
|
+
|
|
47
|
+
# Virtual environments
|
|
48
|
+
venv/
|
|
49
|
+
env/
|
|
50
|
+
ENV/
|
|
51
|
+
.venv/
|
|
52
|
+
.env
|
|
53
|
+
|
|
54
|
+
# IDE and editor files
|
|
55
|
+
.vscode/
|
|
56
|
+
.idea/
|
|
57
|
+
*.swp
|
|
58
|
+
*.swo
|
|
59
|
+
*~
|
|
60
|
+
.DS_Store
|
|
61
|
+
|
|
62
|
+
# Makefile (not needed in container)
|
|
63
|
+
Makefile
|
|
64
|
+
|
|
65
|
+
# License files (already included in source)
|
|
66
|
+
LICENSE
|
|
67
|
+
LICENSES/
|
|
68
|
+
|
|
69
|
+
# Compliance files
|
|
70
|
+
REUSE.toml
|
|
71
|
+
sonar-project.properties
|
|
72
|
+
|
|
73
|
+
# Temporary files
|
|
74
|
+
*.tmp
|
|
75
|
+
*.log
|
|
76
|
+
.cache/
|
|
77
|
+
|
|
78
|
+
# Node modules (if any)
|
|
79
|
+
node_modules/
|
|
80
|
+
|
|
81
|
+
# Local development files
|
|
82
|
+
.local/
|
|
83
|
+
.config/
|
|
84
|
+
|
|
85
|
+
# Docker files (prevent recursion)
|
|
86
|
+
Dockerfile*
|
|
87
|
+
.dockerignore
|
|
88
|
+
docker-compose*.yml
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# SPDX-FileCopyrightText: 2025 The Linux Foundation
|
|
3
|
+
|
|
4
|
+
root = true
|
|
5
|
+
|
|
6
|
+
[*]
|
|
7
|
+
end_of_line = lf
|
|
8
|
+
insert_final_newline = true
|
|
9
|
+
trim_trailing_whitespace = true
|
|
10
|
+
indent_style = space
|
|
11
|
+
indent_size = 4
|
|
12
|
+
|
|
13
|
+
[*.{json,yaml,yml}]
|
|
14
|
+
indent_size = 2
|
|
15
|
+
|
|
16
|
+
[*.markdown]
|
|
17
|
+
max_line_length = 80
|
|
18
|
+
|
|
19
|
+
[*.py]
|
|
20
|
+
max_line_legth = 120
|
|
21
|
+
|
|
22
|
+
[*.sh]
|
|
23
|
+
max_line_length = 80
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# GitHub Actions Cache Configuration
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# SPDX-FileCopyrightText: 2025 The Linux Foundation
|
|
4
|
+
|
|
5
|
+
# This file contains cache configuration settings for optimizing GitHub Actions workflows
|
|
6
|
+
|
|
7
|
+
# Cache key patterns for different dependency types
|
|
8
|
+
cache:
|
|
9
|
+
python:
|
|
10
|
+
# Pip cache key based on requirements and OS
|
|
11
|
+
key_pattern: "pip-${{ runner.os }}-${{ hashFiles('**/requirements*.txt', '**/pyproject.toml') }}"
|
|
12
|
+
restore_keys:
|
|
13
|
+
- "pip-${{ runner.os }}-"
|
|
14
|
+
|
|
15
|
+
uv:
|
|
16
|
+
# UV cache key based on lock file and Python version
|
|
17
|
+
key_pattern: "uv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/uv.lock') }}"
|
|
18
|
+
restore_keys:
|
|
19
|
+
- "uv-${{ runner.os }}-${{ matrix.python-version }}-"
|
|
20
|
+
- "uv-${{ runner.os }}-"
|
|
21
|
+
|
|
22
|
+
docker:
|
|
23
|
+
# Docker buildx cache configuration
|
|
24
|
+
cache_from:
|
|
25
|
+
- "type=gha"
|
|
26
|
+
- "type=registry,ref=ghcr.io/lfreleng-actions/http-api-tool-docker:buildcache"
|
|
27
|
+
cache_to:
|
|
28
|
+
- "type=gha,mode=max"
|
|
29
|
+
- "type=registry,ref=ghcr.io/lfreleng-actions/http-api-tool-docker:buildcache,mode=max"
|
|
30
|
+
|
|
31
|
+
# Container registry settings
|
|
32
|
+
registry:
|
|
33
|
+
url: "ghcr.io"
|
|
34
|
+
image_name_pattern: "ghcr.io/${{ github.repository }}"
|
|
35
|
+
|
|
36
|
+
# Image tagging strategy
|
|
37
|
+
tags:
|
|
38
|
+
main_branch: "latest"
|
|
39
|
+
pr: "pr-${{ github.event.number }}"
|
|
40
|
+
sha: "${{ github.sha }}"
|
|
41
|
+
semver: "${{ github.ref_name }}"
|
|
42
|
+
|
|
43
|
+
# Build optimization settings
|
|
44
|
+
build:
|
|
45
|
+
# Use BuildKit for improved caching
|
|
46
|
+
docker_buildkit: true
|
|
47
|
+
|
|
48
|
+
# Inline cache for registry
|
|
49
|
+
inline_cache: true
|
|
50
|
+
|
|
51
|
+
# Platform targets
|
|
52
|
+
platforms:
|
|
53
|
+
- "linux/amd64"
|
|
54
|
+
- "linux/arm64"
|
|
55
|
+
|
|
56
|
+
# Cache cleanup policies
|
|
57
|
+
cleanup:
|
|
58
|
+
# Automatically clean old cache entries
|
|
59
|
+
max_age_days: 7
|
|
60
|
+
|
|
61
|
+
# Keep specific number of recent entries
|
|
62
|
+
keep_recent: 10
|
|
63
|
+
|
|
64
|
+
# Performance monitoring
|
|
65
|
+
monitoring:
|
|
66
|
+
# Track cache hit ratios
|
|
67
|
+
cache_metrics: true
|
|
68
|
+
|
|
69
|
+
# Build time tracking
|
|
70
|
+
build_time_metrics: true
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
# SPDX-FileCopyrightText: 2025 The Linux Foundation
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
version: 2
|
|
6
|
+
updates:
|
|
7
|
+
- package-ecosystem: "github-actions"
|
|
8
|
+
directory: "/"
|
|
9
|
+
schedule:
|
|
10
|
+
interval: "weekly"
|
|
11
|
+
commit-message:
|
|
12
|
+
prefix: "Chore"
|
|
13
|
+
- package-ecosystem: "pip"
|
|
14
|
+
directory: "/"
|
|
15
|
+
schedule:
|
|
16
|
+
interval: "weekly"
|
|
17
|
+
commit-message:
|
|
18
|
+
prefix: "Chore"
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
# SPDX-FileCopyrightText: 2025 The Linux Foundation
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
name-template: "v$RESOLVED_VERSION"
|
|
6
|
+
tag-template: "v$RESOLVED_VERSION"
|
|
7
|
+
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
|
8
|
+
sort-direction: ascending
|
|
9
|
+
categories:
|
|
10
|
+
- title: ":boom: Breaking Change :boom:"
|
|
11
|
+
labels:
|
|
12
|
+
- "breaking-change"
|
|
13
|
+
- title: ":zap: Enhancements :zap:"
|
|
14
|
+
labels:
|
|
15
|
+
- "enhancement"
|
|
16
|
+
- title: ":sparkles: New Features :sparkles:"
|
|
17
|
+
labels:
|
|
18
|
+
- "feature"
|
|
19
|
+
- title: ":bug: Bug Fixes :bug:"
|
|
20
|
+
labels:
|
|
21
|
+
- "fix"
|
|
22
|
+
- "bugfix"
|
|
23
|
+
- "bug"
|
|
24
|
+
- title: ":wrench: Maintenance :wrench:"
|
|
25
|
+
labels:
|
|
26
|
+
- "chore"
|
|
27
|
+
- "documentation"
|
|
28
|
+
- "maintenance"
|
|
29
|
+
- "repo"
|
|
30
|
+
- "dependencies"
|
|
31
|
+
- "github_actions"
|
|
32
|
+
- "refactor"
|
|
33
|
+
- title: ":mortar_board: Code Quality :mortar_board:"
|
|
34
|
+
labels:
|
|
35
|
+
- "code-quality"
|
|
36
|
+
- "CI"
|
|
37
|
+
- "test"
|
|
38
|
+
autolabeler:
|
|
39
|
+
- label: "breaking-change"
|
|
40
|
+
title:
|
|
41
|
+
- "/!:/i"
|
|
42
|
+
- label: "feature"
|
|
43
|
+
title:
|
|
44
|
+
- "/feat:/i"
|
|
45
|
+
- label: "bug"
|
|
46
|
+
title:
|
|
47
|
+
- "/fix:/i"
|
|
48
|
+
- label: "refactor"
|
|
49
|
+
title:
|
|
50
|
+
- "/refactor:/i"
|
|
51
|
+
- label: "code-quality"
|
|
52
|
+
title:
|
|
53
|
+
- "/test:/i"
|
|
54
|
+
- label: "CI"
|
|
55
|
+
title:
|
|
56
|
+
- "/ci:/i"
|
|
57
|
+
- label: "chore"
|
|
58
|
+
title:
|
|
59
|
+
- "/chore:/i"
|
|
60
|
+
- label: "documentation"
|
|
61
|
+
title:
|
|
62
|
+
- "/docs:/i"
|
|
63
|
+
# yamllint disable rule:line-length
|
|
64
|
+
template: |
|
|
65
|
+
$CHANGES
|
|
66
|
+
|
|
67
|
+
## Links
|
|
68
|
+
- [Submit bugs/feature requests](https://github.com/$OWNER/$REPOSITORY/issues)
|