This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240772 - Adding new dependencies
Summary: Adding new dependencies
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Composer (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 14:09 UTC by BlackScorp
Modified: 2014-01-27 15:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
how does the result of a package looks like (51.54 KB, image/png)
2014-01-21 14:09 UTC, BlackScorp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BlackScorp 2014-01-21 14:09:11 UTC
Created attachment 144206 [details]
how does the result of a package looks like

after finding a package from packagegist, the output cannot be parsed correctly, so you cannot install new package or select a version
Comment 1 BlackScorp 2014-01-21 14:18:13 UTC
forget to mention,

i used rightclick on project -> composer -> Add dependendency .. -> typed "silex" -> pressed search button -> selected "silex/silex" package -> result see screenshot
Comment 2 Tomas Mysik 2014-01-21 14:34:25 UTC
Thanks for catching it, will look at it.
Comment 3 BlackScorp 2014-01-21 14:45:04 UTC
thx for adding this feature;) as soon as it works, i dont need to visit packagegist anymore :D
Comment 4 Tomas Mysik 2014-01-23 09:26:06 UTC
That's weird since it works for me. Which NetBeans version do you have exactly? Also, please copy and paste here the command ("composer show") which is run (can be found in the Output window, the first line). In my case, it is:

"C:\php\php.exe" "C:\Documents and Settings\All Users\Application Data\ComposerSetup\bin\composer.phar" "--no-interaction" "show" "level3/silex"

In any case, I will improve the curent state.

Thanks.

Product Version: NetBeans IDE Dev (Build 20140123-7c3098beee8b)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 5 BlackScorp 2014-01-23 09:33:39 UTC
Iam using the composer.bat file, not phar. 

my output window looks like

"C:\ProgramData\ComposerSetup\bin\composer.bat" "--ansi" "--no-interaction" "validate"

with the .phar it works
Comment 6 Tomas Mysik 2014-01-23 09:36:45 UTC
Fixed, please verify using a daily build of NetBeans (wait for a comment with instructions which will appear here soon).

Thanks.

http://hg.netbeans.org/web-main/rev/ca6c000d5550
Comment 7 Tomas Mysik 2014-01-23 09:38:12 UTC
(In reply to BlackScorp from comment #5)
> Iam using the composer.bat file, not phar.

I see. However, with the fix I made a while ago, it should work even with the composer.bat file.

@mmolda: Milane, verify please this issue.

Thanks.
Comment 8 BlackScorp 2014-01-23 09:44:22 UTC
http://bits.netbeans.org/download/trunk/nightly/latest/  is this daily build? or do i have to redownload the client every day?
Comment 9 Tomas Mysik 2014-01-23 10:12:13 UTC
As I wrote:

(In reply to Tomas Mysik from comment #6)
> wait for a comment with instructions which will appear here soon

It will be something like:

> Integrated into 'main-silver', will be available in build *201401230001* on
> http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Thanks.
Comment 10 Quality Engineering 2014-01-24 02:40:05 UTC
Integrated into 'main-silver', will be available in build *201401240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ca6c000d5550
User: Tomas Mysik <tmysik@netbeans.org>
Log: #240772 - Adding new dependencies
Comment 11 mmolda 2014-01-27 15:53:07 UTC
It is working good. I verified both composer.phar and composer.bat.

Product Version: NetBeans IDE Dev (Build 201401270001)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)