You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Csegedi Csaba (JIRA)" <ji...@apache.org> on 2018/11/21 19:13:00 UTC

[jira] [Comment Edited] (LOG4PHP-242) Cannot install log4php using composer

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

Csegedi Csaba edited comment on LOG4PHP-242 at 11/21/18 7:12 PM:
-----------------------------------------------------------------

Thx, with the following composer.json it works.

*But on packagist.org ([https://packagist.org/packages/apache/log4php)] the url must be changed too for working without explicit repository setting.*

{
 "require": {
  "apache/log4php": "2.3.0"
 },
 "repositories": [
 {
  "type": "vcs",
  "url": "https://gitbox.apache.org/repos/asf/logging-log4php.git"
 }
 ]
}


was (Author: csegedi.csaba):
Thx, with the following composer.json it works.

*But on packagist.org ([https://packagist.org/packages/apache/log4php)] the url must be changed too for working without explicit repository setting.*

{{{}}
{{ "require": {}}
{{  "apache/log4php": "2.3.0"}}
{{ },}}
{{ "repositories": [}}
{{  {}}
{{   "type": "vcs",}}
{{   "url": "https://gitbox.apache.org/repos/asf/logging-log4php.git"}}
{{  }}}
{{ ]}}
{{}}}

> Cannot install log4php using composer
> -------------------------------------
>
>                 Key: LOG4PHP-242
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-242
>             Project: Log4php
>          Issue Type: Bug
>            Reporter: Csegedi Csaba
>            Priority: Critical
>
> Cannot install log4php using composer
> I got the following error:
> fatal: repository 'https://git-wip-us.apache.org/repos/asf/logging-log4php.
>  git/' not found
>  
> Trying with simple composer.json
> {
>  "require": {
>   "apache/log4php": "2.3.0"
>  }
> }
> composer install
>  
> The [https://git-wip-us.apache.org/repos/asf?p=logging-log4php.git] link gives "404 - No such project"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)