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


Groups > comp.lang.php > #18329 > unrolled thread

composer: set repository name

Started bySuperTex <a@b.invalid>
First post2020-08-03 11:39 +0200
Last post2020-08-04 13:41 +0200
Articles 5 — 2 participants

Back to article view | Back to comp.lang.php


Contents

  composer: set repository name SuperTex <a@b.invalid> - 2020-08-03 11:39 +0200
    Re: composer: set repository name Arno Welzel <usenet@arnowelzel.de> - 2020-08-03 15:00 +0200
      Re: composer: set repository name SuperTex <a@b.invalid> - 2020-08-04 10:58 +0200
        Re: composer: set repository name Arno Welzel <usenet@arnowelzel.de> - 2020-08-04 11:59 +0200
          Re: composer: set repository name SuperTex <a@b.invalid> - 2020-08-04 13:41 +0200

#18329 — composer: set repository name

FromSuperTex <a@b.invalid>
Date2020-08-03 11:39 +0200
Subjectcomposer: set repository name
Message-ID<rg8m04$11n7$1@gioia.aioe.org>
$ composer --global config repositories.XXX path /srv/repositories/foo

What do I put in place of XXX?

foo?
super-tex/foo?

Is there any convention?

[toc] | [next] | [standalone]


#18330

FromArno Welzel <usenet@arnowelzel.de>
Date2020-08-03 15:00 +0200
Message-ID<hoqg2sFkbeU3@mid.individual.net>
In reply to#18329
SuperTex:

> $ composer --global config repositories.XXX path /srv/repositories/foo
> 
> What do I put in place of XXX?

The same what you have after "/srv/repositories/"

> foo?

Yes, because after "/srv/repositories/" you have "foo":

/srv/repositories/foo

> super-tex/foo?
> 
> Is there any convention?

See <https://getcomposer.org/doc/03-cli.md#usage>


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#18331

FromSuperTex <a@b.invalid>
Date2020-08-04 10:58 +0200
Message-ID<rgb805$1tvs$1@gioia.aioe.org>
In reply to#18330
Il 03/08/20 15:00, Arno Welzel ha scritto:
> SuperTex:
> 
>> $ composer --global config repositories.XXX path /srv/repositories/foo
>>
>> What do I put in place of XXX?
> 
> The same what you have after "/srv/repositories/"

OK

>> foo?
> 
> Yes, because after "/srv/repositories/" you have "foo":
> 
> /srv/repositories/foo

OK

>> super-tex/foo?
>>
>> Is there any convention?
> 
> See <https://getcomposer.org/doc/03-cli.md#usage>

????

[toc] | [prev] | [next] | [standalone]


#18332

FromArno Welzel <usenet@arnowelzel.de>
Date2020-08-04 11:59 +0200
Message-ID<hosprqFfintU1@mid.individual.net>
In reply to#18331
SuperTex:

> Il 03/08/20 15:00, Arno Welzel ha scritto:
[...]
>>> Is there any convention?
>>
>> See <https://getcomposer.org/doc/03-cli.md#usage>
> 
> ????

This is the documentation of Composer. See "Modifying Repositories", quote:

In addition to modifying the config section, the config command also
supports making changes to the repositories section by using it the
following way:

php composer.phar config repositories.foo vcs https://github.com/foo/bar

(end of quote)


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#18333

FromSuperTex <a@b.invalid>
Date2020-08-04 13:41 +0200
Message-ID<rgbhi7$gs5$1@gioia.aioe.org>
In reply to#18332
Il 04/08/20 11:59, Arno Welzel ha scritto:
> In addition to modifying the config section, the config command also
> supports making changes to the repositories section by using it the
> following way:
> 
> php composer.phar config repositories.foo vcshttps://github.com/foo/bar
> 
> (end of quote)

I hadn't read it, sorry

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web