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 172697 - [STG] cannot get sources for "www.netbeans.org IDE module"
Summary: [STG] cannot get sources for "www.netbeans.org IDE module"
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 176174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-21 16:24 UTC by Jaromir Uhrik
Modified: 2009-11-11 08:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (75.77 KB, image/png)
2009-09-21 16:24 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-09-21 16:24:18 UTC
Product Version: NetBeans IDE Dev (Build 200909201401)
Java: 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-141
System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)

-In web browser I have bookmarked project "www.netbeans.org IDE module"
-log in to stg.network.org in IDE
-expand the Sources node of "www.netbeans.org IDE module"
-click on any '(get)'
-->> The repository is recognized as Subversion reporsitory (which is wrong because we have sources in HG). When I try
to push Next in the Checkout dialog it shows error - see attached screenshot...
Comment 1 Jaromir Uhrik 2009-09-21 16:24:41 UTC
Created attachment 88031 [details]
Screenshot attached...
Comment 2 Tomas Pavek 2009-09-22 16:53:19 UTC
Yes, the external hg repositories are incorrectly recognized as svn.

To reproduce,
* run IDE with -J-Dkenai.com.url=https://stg.network.org switch,
* then go to Team | Kenai | Open Kenai project,
* switch to Recent tab,
* select and open www.netbeans.org IDE module (IDE),
* go to Sources node
Comment 3 Ondrej Vrabec 2009-09-23 10:52:57 UTC
partial fix in subversion: cdev #9a12dbf47a4c
subversion module now returns false in isRepository when authentication error occurs - but it also means
password-protected subversion repositories will never be recognized. Now ownership checking is passed to mercurial
Comment 4 Ondrej Vrabec 2009-09-23 10:58:06 UTC
But we have another problem:
www.netbeans.org IDE module contains 82 mercurial repositories
ownership is checked for each repository in a loop
every test in mercurial takes about 4-5 seconds (we are forced to start and interrupt the clone command), so opening
sources node takes about 400 seconds to finish - but it never does because of a limited timeout - and as a result 'Not
responding' node is painted
Comment 5 Quality Engineering 2009-09-25 09:11:32 UTC
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9a12dbf47a4c
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #172697 - [STG] cannot get sources for "www.netbeans.org IDE module"
Subversion.isRepository returns false if authentication error occurs
Comment 6 Ondrej Vrabec 2009-11-02 13:33:11 UTC
honza, is it possible to consider all repositories at hg.netbeans.org/* as mercurial repositories by default? Otherwise
the logic for external repositories tries to identify the owner (mercurial or subversion) for all 82 repos in a row and
eventually 'Not responding' is displayed in the kenai dashboard.
Comment 7 Jan Becicka 2009-11-03 10:51:20 UTC
I really like to fix this issue, but I'm not able to open ide project due to server errors.
Comment 8 Jan Becicka 2009-11-09 03:19:15 UTC
*** Bug 176174 has been marked as a duplicate of this bug. ***
Comment 9 Jan Becicka 2009-11-09 03:38:06 UTC
Changeset: 2087ddfe1437
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2009-11-09 11:37
Message:   #172697: Problems with kenai dashboard after its closing and reopening
Comment 10 Jan Becicka 2009-11-09 03:42:26 UTC
oops wrong message in commit. Anyway fixed.
Comment 11 Jaromir Uhrik 2009-11-11 08:34:32 UTC
Verified in the following build from CDEV repository:

Product Version: NetBeans IDE Dev (Build cdev-1664-on-091111)
Java: 1.6.0_15; Java HotSpot(TM) 64-Bit Server VM 14.1-b02-92
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)