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 225499 - allow user to refresh static CDN snapshots
Summary: allow user to refresh static CDN snapshots
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 00:03 UTC by David Konecny
Modified: 2013-03-20 19:45 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2013-01-30 00:03:13 UTC
See for example issue 224139.
Comment 1 Tomas Mysik 2013-01-30 05:48:43 UTC
It would be nice if this could be delivered in a patch; not sure of course how much work it will take.
Comment 2 David Konecny 2013-03-07 03:14:53 UTC
Talk about this with Tomas and he will implement it.
Comment 3 Tomas Mysik 2013-03-07 06:47:11 UTC
Taking over.
Comment 5 Quality Engineering 2013-03-09 01:57:26 UTC
Integrated into 'main-golden', will be available in build *201303082300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b8435bf00a51
User: Tomas Mysik <tmysik@netbeans.org>
Log: #225499 - allow user to refresh static CDN snapshots
Comment 6 Vladimir Riha 2013-03-11 08:20:11 UTC
I manually updated cdnjs.zip and after refresh, these changes were gone (tooltip text, list of versions for given JS library), so it seems to work fine.


One question though, after pressing Update in New Project wizard (and I think Project properties will do the same), I had to close the wizard as such so the changes from refresh action are propagated (in other words to see updated list of JS files, I had to start over).

Is there a way to make these updates somehow without need to close the current dialog? The point is that I think users could be expecting updated list right after the update finishes



Product Version: NetBeans IDE Dev (Build 201303102300)
Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03
System: Linux version 3.2.0-38-generic-pae running on i386; UTF-8; en_US (nb)
Comment 7 Tomas Mysik 2013-03-11 09:27:29 UTC
(In reply to comment #6)
> Is there a way to make these updates somehow without need to close the current
> dialog? The point is that I think users could be expecting updated list right
> after the update finishes

The table should be refreshed automatically and I tried to check it but I was apparently wrong. Reopening, this must work.

Thanks.
Comment 9 David Konecny 2013-03-11 19:17:00 UTC
This is quite a big change. Do we really want to put it into the patch release?
Comment 10 Petr Jiricka 2013-03-11 20:16:44 UTC
I also think it's rather big for a patch - definitely for patch 1.
Comment 11 Quality Engineering 2013-03-12 02:05:12 UTC
Integrated into 'main-golden', will be available in build *201303112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/aae59b1d553a
User: Tomas Mysik <tmysik@netbeans.org>
Log: #225499 cont'd - allow user to refresh static CDN snapshots
Comment 12 Vladimir Riha 2013-03-15 10:11:15 UTC
Thanks, no it works fine (I tried New wizard and Project properties just be sure)

Product Version: NetBeans IDE Dev (Build web-main-10093-on-20130315)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.2.0-38-generic-pae running on i386; UTF-8; en_US (nb)
Comment 13 Vladimir Riha 2013-03-15 10:11:47 UTC
(In reply to comment #12)
> Thanks, no it works fine 

*now :)
Comment 14 David Konecny 2013-03-20 18:36:41 UTC
I do not think this should go into a patch release. The fix is there but UI is preliminary and needs to be improved. Major limitation is that only CDNJS is updated - in NB 7.4 we will very likely drop Google CDN so it will be OK but I would not want to do that in the patch. I suggest we remove the 73patch2-candidate keyword. Any objections?
Comment 15 Marian Mirilovic 2013-03-20 18:41:28 UTC
(In reply to comment #14)
> I do not think this should go into a patch release. The fix is there but UI is
> preliminary and needs to be improved. Major limitation is that only CDNJS is
> updated - in NB 7.4 we will very likely drop Google CDN so it will be OK but I
> would not want to do that in the patch. I suggest we remove the
> 73patch2-candidate keyword. Any objections?

This bug was nominated by Petr Jiricka, talk to him.
Comment 16 Petr Jiricka 2013-03-20 19:45:42 UTC
I must say I don't remember why I nominated this - it may have been a mistake. Removing the whiteboard.