BMAD-METHOD/docs/how-to
LanyGuan b4d73b7daf
Fix installer custom modules http (#2344)
* fix(installer): preserve http protocol in custom module clone URLs

Previously, parseSource() hardcoded 'https://' when building cloneUrl,
forcing http:// Git URLs (e.g., internal LAN hosts) to upgrade to https.
This broke cloning for self-hosted Git servers that only serve over HTTP.

- Capture the protocol from the regex match instead of discarding it
- Update JSDoc and inline comments to document HTTP support
- Update install-custom-modules docs (EN, ZH, VN) to list HTTP URL type

Fixes the --custom-source flag for http:// addresses.

* docs(installer): update JSDoc to mention HTTP support in cloneRepo

Add HTTP to the cloneRepo method's JSDoc param description.
Also fixes minor spacing in empty arrow functions (formatting).

* docs(installer): fix JSDoc annotation for cloneRepo param

Correct @param backtick escaping in cloneRepo JSDoc.
Also documents HTTP as a supported protocol alongside HTTPS and SSH.

---------

Co-authored-by: 关惠民 <9155544@qq.com>
2026-04-27 19:58:38 -05:00
..
customize-bmad.md feat(core-skills): add bmad-customize — guided authoring for _bmad/custom overrides (#2289) 2026-04-20 22:14:54 -05:00
established-projects.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
expand-bmad-for-your-org.md feat(core-skills): add bmad-customize — guided authoring for _bmad/custom overrides (#2289) 2026-04-20 22:14:54 -05:00
get-answers-about-bmad.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
install-bmad.md feat(installer): channel-based version resolution + interactive channel management (#2305) 2026-04-24 08:20:30 -05:00
install-custom-modules.md Fix installer custom modules http (#2344) 2026-04-27 19:58:38 -05:00
non-interactive-installation.md feat(installer): channel-based version resolution + interactive channel management (#2305) 2026-04-24 08:20:30 -05:00
project-context.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
quick-fixes.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
shard-large-documents.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
upgrade-to-v6.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00