Keith Solomon
2bbd2dc7c8
Update bundled plugin-update-checker to v5.7 and remove broken setBranch() call
...
The bundled PUC was missing the setBranch() method on the main UpdateChecker
class (it's only on Vcs\PluginUpdateChecker via the VcsCheckerMethods trait).
When called with a non-VCS URL like the Gitea update URL, this caused a fatal
error at plugin activation.
Updating to PUC v5.7 (May 2026) which is the latest upstream release. The
setBranch() call is removed because PUC doesn't recognize Gitea as a VCS host;
the plugin falls back to PUC's plain JSON metadata mode, which is fine for a
plugin hosted on a self-managed repo.
2026-08-11 16:08:20 -05:00
Keith Solomon
93af230406
Make asset upload resilient (warn on duplicate, don't fail)
2026-08-11 13:48:03 -05:00
Keith Solomon
c98e46437e
Make release creation idempotent (lookup existing release by tag first)
2026-08-11 13:46:16 -05:00
Keith Solomon
3bae89a203
Extract release JSON building into helper script (avoid YAML/bash heredoc trap)
2026-08-11 13:41:38 -05:00
Keith Solomon
123c0dbb7b
Fix bash heredoc-inside-command-substitution by writing to temp file
2026-08-11 13:27:24 -05:00
Keith Solomon
57e1f63bcf
Use heredoc for embedded Python (fix IndentationError)
2026-08-11 13:24:44 -05:00
Keith Solomon
bea4875b05
Branch release step on host (github.com vs Gitea)
2026-08-11 13:18:49 -05:00
Keith Solomon
343f647770
Call Gitea REST API directly for releases (Gitea Actions compat)
2026-08-11 13:15:31 -05:00
Keith Solomon
7184d998e6
Use gh CLI for release creation (GHES compatibility)
2026-08-11 13:08:40 -05:00
Keith Solomon
189bde2008
Use upload-artifact@v3 for GHES compatibility
2026-08-11 13:05:35 -05:00
Keith Solomon
a090527037
Use Python zipfile in build step (zip CLI not on runner)
2026-08-11 13:00:49 -05:00
Keith Solomon
1595327a80
Point old 'How to Zip' section to automated workflow
2026-08-11 07:00:44 -05:00
Keith Solomon
b4b6158f2d
Fix double-v in artifact name
2026-08-11 07:00:28 -05:00
Keith Solomon
0e56de3c56
Bump version to 1.1.1 for first automated release
2026-08-11 06:52:25 -05:00
Keith Solomon
f9b8611519
Document automated release process in README
2026-08-11 06:50:23 -05:00
Keith Solomon
84e5119c41
Add GitHub Actions release workflow
2026-08-11 06:48:35 -05:00
Keith Solomon
67a28e0037
Add release workflow implementation plan
...
4-task plan: workflow file, README section, version bump to 1.1.1,
final verification. No PHP behavior changes; PHPUnit suite unaffected.
2026-08-11 06:45:10 -05:00
Keith Solomon
fb6c9d4d61
Add design spec: GitHub Actions release-zip workflow
...
Single workflow file at .github/workflows/release.yml that triggers
on v* tag pushes, assembles projects-portfolio-v<version>.zip from
an allowlist of runtime files, uploads as a workflow artifact, and
attaches to a matching GitHub release.
2026-08-11 06:43:47 -05:00
Keith Solomon
0480abe292
fix: clear legacy _projects_portfolio_github_url on provider switch / empty repo URL
2026-08-09 23:49:06 -05:00
Keith Solomon
981c29ab39
Regenerate translation template for Gitea strings
2026-08-09 23:35:45 -05:00
Keith Solomon
5913c8799f
Document Gitea support in README
2026-08-09 23:30:53 -05:00
Keith Solomon
d250f6b89f
Wire provider includes and bump version to 1.1.0
2026-08-09 23:28:47 -05:00
Keith Solomon
62a049b2c2
Route download redirect through provider interface
2026-08-09 23:26:02 -05:00
Keith Solomon
e25431a25d
Route REST API responses through provider interface
2026-08-09 23:23:57 -05:00
Keith Solomon
9803b497ab
Route single-projects template through provider interface
2026-08-09 23:21:06 -05:00
Keith Solomon
d8ce719433
Add provider dropdown and per-project Gitea base URL to metabox
2026-08-09 23:17:51 -05:00
Keith Solomon
e60a9eafb3
Surface Gitea settings via projects_portfolio_settings() and test
2026-08-09 23:12:37 -05:00
Keith Solomon
925ef184b9
Add Gitea base URL + token fields to settings page
2026-08-09 23:09:50 -05:00
Keith Solomon
40793cd4bb
Add provider-aware helpers; mark legacy wrappers deprecated
2026-08-09 23:06:24 -05:00
Keith Solomon
e3b27e8974
Add provider factory with meta + option wiring
2026-08-09 23:02:20 -05:00
Keith Solomon
62a20ed514
Add Gitea provider adapter with normalization and tests
2026-08-09 22:56:16 -05:00
Keith Solomon
4a9f43c850
Scaffold provider interface and test bootstrap
2026-08-09 22:35:23 -05:00
Keith Solomon
730893c1f0
Add Gitea support implementation plan
...
15-task plan with TDD-style steps, WP PHPUnit tests, and a
provider-interface architecture. Tasks cover scaffolding, both
adapters, factory, settings, metabox, template, REST, download
redirect, version bump, README, translations, and final smoke
testing.
2026-08-09 22:29:13 -05:00
Keith Solomon
e924b4833a
Add design spec: Gitea support for Projects Portfolio
...
Adds a provider interface with GitHub and Gitea adapters so each
project can link to either provider. Preserves existing GitHub
behavior bit-for-bit, adds lazy migration from legacy meta, and
ships WP PHPUnit tests.
2026-08-09 22:23:27 -05:00
Keith Solomon
915ca4cb5d
✨ feature: Rename project and update README; add main plugin file
2026-08-09 21:11:40 -05:00
Keith Solomon
383e2cff65
🔵 other: Fix project URLs
2026-08-09 20:30:50 -05:00
Keith Solomon
360fe48089
✨ feature: Initial commit
2026-08-09 20:27:58 -05:00