You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2026/01/24 14:15:00 UTC
[jira] [Commented] (AVRO-4227) [PHP] - composer package contains everything from the repo
[ https://issues.apache.org/jira/browse/AVRO-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054117#comment-18054117 ]
Martin Tzvetanov Grigorov commented on AVRO-4227:
-------------------------------------------------
[~mattiabasone] Do you have experience with this ? What would be the best solution ?
> [PHP] - composer package contains everything from the repo
> ----------------------------------------------------------
>
> Key: AVRO-4227
> URL: https://issues.apache.org/jira/browse/AVRO-4227
> Project: Apache Avro
> Issue Type: Bug
> Reporter: Václav Krecl
> Priority: Major
> Attachments: Screenshot 2026-01-24 at 11.26.46.png
>
>
> The composer package contains everything from repository (see screenshot in attachments) but should only contain files necessary for its operation.
> Solutions:
> * use export-ignore in .gitattributes
> ** see [https://github.com/composer/composer/blob/main/.gitattributes]
> * create read-only repository for package
> ** see [https://github.com/danharrin/monorepo-split-github-action|https://github.com/danharrin/monorepo-split-github-action.]
> ** move composer.json to php/lang
> ** create .gitattributes in php/lang
> ** publish composer package from read-only repository
--
This message was sent by Atlassian Jira
(v8.20.10#820010)