You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update plan.md to include source-method configuration
- Add source-method: pre-packaged-source to composer.json example
- Document that this field is required for PIE to use pre-packaged source
- Add link to MongoDB extension implementation
Copy file name to clipboardExpand all lines: plan.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,15 @@ Set up a new extension repository (`MaxMind-DB-Reader-php-ext`) that uses this r
7
7
8
8
PIE downloads source code as ZIP archives from Composer/GitHub, which don't include git submodule contents. To work around this limitation, we use PIE's built-in support for **pre-packaged source archives**:
9
9
10
+
- Set `"source-method": "pre-packaged-source"` in the `php-ext` section of composer.json
10
11
- The release script creates a tarball: `php_maxminddb-{version}-src.tgz`
11
12
- This tarball includes the full ext/ directory from the submodule
12
13
- It's uploaded as a GitHub release asset
13
14
- PIE automatically detects and uses this pre-packaged source instead of the ZIP archive
14
15
15
16
This is the same approach used by the MongoDB extension and others with submodule dependencies. See:
0 commit comments