Skip to content

composer archive fails with 2.4.5 #35950

Open
@speedupmate

Description

@speedupmate

Summary (*)

since magento2 is managed with composer then developers expect that all composer functionality is supported . Currently composer archive (https://getcomposer.org/doc/03-cli.md#archive) fails on newly created project when tar or tar.gz format is specified

Examples (*)

composer archive --format=tar
Creating the archive into ".".

In PharArchiver.php line 65:
                                                                                                                                                                                                
  tar-based phar "/tmp/composer_archive62fab83c2db35.tar" cannot be created, filename "dev/tests/acceptance/tests/_data/adobe-base-image-long-name-image-long-name-image-long-name-image-long-  
  name-image-long-name-image-long-name-image-long-name-image-long-name-image-long-name.jpg" is too long for tar file format                                                                     
                                                                                                                                                                                               
archive [-f|--format FORMAT] [--dir DIR] [--file FILE] [--ignore-filters] [--] [<package> [<version>]]

Proposed solution


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users with no workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • [*] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrameworkComponent: ComposerIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: ready for devReported on 2.4.5Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions