[ 
https://issues.apache.org/jira/browse/AVRO-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054858#comment-18054858
 ] 

Mattia Basone commented on AVRO-4227:
-------------------------------------

The problem is that with [Packagist|https://packagist.org/], the composer.json 
must be in the repository root, so the .gitattributes as well I guess

> [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
>  ** 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)

Reply via email to