Skip to content

Fix/gitea http client settings - #734

Merged
frjcomp merged 2 commits into
mainfrom
fix/gitea-http-client-settings
Oct 5, 2026
Merged

frjcomp merged 2 commits into
mainfrom
fix/gitea-http-client-settings

Conversation

@frjcomp

@frjcomp frjcomp commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

chrisbelford01 and others added 2 commits October 5, 2026 06:35
Credit chrisbelford01 for the HTTP-client wiring fixes published in chrisbelford01/pipeleek. The source commits recorded a placeholder author identity (standard <standard@example.com>); this port uses the repository owner’s GitHub identity with maintainer approval.

Adapt the fixes to current code, add regression and CLI coverage, and document shared settings. Preserve emojis, existing features, and defaults.

Original source commits:
chrisbelford01/pipeleek@2ea6263
chrisbelford01/pipeleek@41b72b0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Inject the shared HTTP client into the remaining Gitea SDK clients. Add proxy, TLS, timeout, and CLI regression coverage and update proxy documentation. Preserve existing features, defaults, and output.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 06:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The narrow client-injection changes follow the established pattern, include focused regression coverage, and have no identified blocking issues.

Review effort: Balanced
Findings: None

What changed in this PR

Makes Gitea helper commands honor Pipeleek’s shared proxy, TLS verification, and HTTP timeout settings.

Changes:

  • Injects the shared HTTP client into enumeration, secrets, variables, and vulnerability checks.
  • Adds HTTP-settings regression tests and end-to-end proxy coverage.
  • Documents shared settings across Gitea commands.
File Description
tests/​e2e/​gitea/​vuln/​vuln_test.go Tests proxy routing for Gitea and NIST requests.
tests/​e2e/​gitea/​variables/​variables_test.go Adds explicit-proxy coverage.
tests/​e2e/​gitea/​secrets/​secrets_test.go Tests direct and proxied execution.
tests/​e2e/​gitea/​enum/​enum_test.go Tests direct and proxied enumeration.
pkg/​gitea/​vuln/​vuln.go Uses the shared HTTP client.
pkg/​gitea/​variables/​variables.go Uses the shared HTTP client.
pkg/​gitea/​secrets/​secrets.go Uses the shared HTTP client.
pkg/​gitea/​http_settings_test.go Tests proxy precedence, TLS verification, and timeouts.
pkg/​gitea/​enum/​enum.go Uses the shared HTTP client.
docs/​introduction/​proxying.md Clarifies Gitea HTTP-settings support.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@frjcomp
frjcomp merged commit 61b62a0 into main Oct 5, 2026
14 checks passed
@frjcomp
frjcomp deleted the fix/gitea-http-client-settings branch October 5, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants