Skip to content

fix(hordeymlfile): stop declaring ci-bootstrap.sh as a binary - #5

Closed
TDannhauer wants to merge 1 commit into
FRAMEWORK_6_0from
fix/drop-ci-bootstrap-bin
Closed

TDannhauer wants to merge 1 commit into
FRAMEWORK_6_0from
fix/drop-ci-bootstrap-bin

Conversation

@TDannhauer

Copy link
Copy Markdown

Summary

  • Stop declaring bin/ci-bootstrap.sh as a Composer binary.

Motivation

composer update prints:

Skipped installation of bin bin/ci-bootstrap.sh for package horde/hordeymlfile: file not found in package

The script is at .github/bin/ci-bootstrap.sh and is invoked from CI (bash .github/bin/ci-bootstrap.sh). There is no bin/ci-bootstrap.sh in the package, and no other Horde package publishes this CI helper through Composer bin. Composer repeats the warning after autoload generation because it installs binaries again for every installed package, including the dev-FRAMEWORK_6_0 branch alias.

Changes

  • Remove the bin section from composer.json.
  • Leave .github/bin/ci-bootstrap.sh and the CI workflow unchanged.

Test plan

  • composer update horde/hordeymlfile no longer reports a skipped binary for horde/hordeymlfile
  • CI still runs bash .github/bin/ci-bootstrap.sh

The script lives at .github/bin/ci-bootstrap.sh and is only used by CI.
Listing bin/ci-bootstrap.sh makes Composer skip a file that is not in
the package.
@TDannhauer
TDannhauer requested a review from ralflang November 13, 2026 20:04
@ralflang

ralflang commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Just delete the file in bin/ if still present. The release engine will rewrite composer.json anyway.

@ralflang ralflang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No PRs about composer.json

@github-actions

Copy link
Copy Markdown

🔍 CI Results

Overall: ✅ All 10 lanes passed

TL;DR: ✅ All clean: 178 tests (484 assertions) in 8 lanes, 11 files scanned, 21 files styled.

Summary by PHP Version

PHP dev stable
8.2 ✅ ✅
8.3 ✅ ✅
8.4 ✅ ✅
8.5 ✅ ✅
8.6 ✅ ✅

Quality Metrics

  • PHPUnit: 178 tests (484 assertions) passed in 8 lanes ✅
  • PHPStan: No errors found ✅ - 6 advisories at level 4
  • PHP-CS-Fixer: 21 files checked, no issues ✅

CI powered by horde-components • View full results

@TDannhauer

Copy link
Copy Markdown
Author

bin/ci-bootstrap.sh is not in this repository. The script on disk is .github/bin/ci-bootstrap.sh, and .github/workflows/ci.yml runs it with bash .github/bin/ci-bootstrap.sh. That file stays.

There is nothing in bin/ to delete. Closing this pull request without changing composer.json, so the release engine can rewrite the bin list from bin/ on the next release.

@TDannhauer TDannhauer closed this Nov 13, 2026
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.

2 participants