Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19157

Re: [composer] duplicate vendor

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: [composer] duplicate vendor
Date Tue, 15 Nov 2022 12:51:14 +0100
Lines 22
Message-ID <jthcphF5hp8U1@mid.individual.net> (permalink)
References <tknt3k$1bj$2@gioia.aioe.org> <jtcbceFaq6aU1@mid.individual.net> <tkviks$be6$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace individual.net S9sRRsDB+hv5w37Q0CsxtwXw0tL+TUcNZKfQmTy0pmndTVYstt
Cancel-Lock sha1:GZ2Sr9VTeOBUIezqQlmVU3UfC/Y=
Content-Language de-DE
In-Reply-To <tkviks$be6$1@gioia.aioe.org>
Xref csiph.com comp.lang.php:19157

Show key headers only | View raw


paul, 2022-11-15 09:29:

> Il 13/11/22 14:56, Arno Welzel ha scritto:
>> Composer is not intended to be used this way. Usually you have exactly
>> *one*  composer.json in your project and not multiple ones.
> 
> A, B, and C would be three distinct projects (packages) IHMO, each with 
> their respective composer.json

In that case your question makes no sense:

"Can the directory *a* contains *vendor/test/c* be prevented?"

If a, b and c are independent projects they won't influence each other.
However if they are part of one single project then there must not be a
"local" composer.json, because Composer is not intended to be used as a
"local" package manager inside a package.

-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[composer] duplicate vendor paul <sk@i.p> - 2022-11-12 11:38 +0100
  Re: [composer] duplicate vendor Arno Welzel <usenet@arnowelzel.de> - 2022-11-13 14:56 +0100
    Re: [composer] duplicate vendor paul <sk@i.p> - 2022-11-15 09:29 +0100
      Re: [composer] duplicate vendor Arno Welzel <usenet@arnowelzel.de> - 2022-11-15 12:51 +0100
        Re: [composer] duplicate vendor paul <sk@i.p> - 2022-11-15 13:19 +0100
          Re: [composer] duplicate vendor Arno Welzel <usenet@arnowelzel.de> - 2022-11-15 14:05 +0100
            Re: [composer] duplicate vendor paul <sk@i.p> - 2022-11-15 15:30 +0100
              Re: [composer] duplicate vendor paul <sk@i.p> - 2022-11-21 09:56 +0100

csiph-web