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

Václav Krecl commented on AVRO-4227:
------------------------------------

Here is a good example of splitting mono repo 
[https://github.com/flow-php/flow|https://github.com/flow-php/flow,] e.g cli 
module:
 * [https://github.com/flow-php/flow/tree/1.x/src/cli]
 * [https://github.com/flow-php/cli]
 
I see a problem with the old tags because composer.json will be missing there. 

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