[ 
https://issues.apache.org/jira/browse/AVRO-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Václav Krecl updated AVRO-4227:
-------------------------------
    Description: 
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

  was:
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


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