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 221525 - add icon on closed git repository browser, and add connection action also
Summary: add icon on closed git repository browser, and add connection action also
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-06 04:33 UTC by fortruth
Modified: 2013-02-13 09:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
patch draft (109.88 KB, patch)
2013-02-13 09:16 UTC, Ondrej Vrabec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fortruth 2012-11-06 04:33:29 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Linux version 3.5.0-18-generic running on amd64
Java; VM; Vendor = 1.6.0_24
Runtime = OpenJDK 64-Bit Server VM 20.0-b12


please considering adding some special icon on closed git repository browser,  or when closed, just remote it from the browser.

if think about still keep in browser, also please adding connect action on context menu of the browser to it.
Comment 1 Ondrej Vrabec 2012-11-06 08:42:19 UTC
> please considering adding some special icon on closed git repository browser, 
> or when closed, just remote it from the browser.
what do you mean by "closed git repository browser"? When it's closed it does not have any place to display the icon, does it?
> if think about still keep in browser, also please adding connect action on
> context menu of the browser to it.
are you talking about connect/disconnect ??
Comment 2 fortruth 2012-11-16 01:05:49 UTC
(In reply to comment #1)
> > please considering adding some special icon on closed git repository browser, 
> > or when closed, just remote it from the browser.
> what do you mean by "closed git repository browser"? When it's closed it does
> not have any place to display the icon, does it?
> > if think about still keep in browser, also please adding connect action on
> > context menu of the browser to it.
> are you talking about connect/disconnect ??



yes, I mean, disconnectted / the relative projects closed.
It could be different icons.

when disconnect - attached an closed icon to the repository. and I thinks it is better that the disconnected repository should be removable from the GIT repository browser, if it could be considered, I also think there should be some actions been added. just such as connect/disconnect.
Comment 3 Ondrej Vrabec 2013-02-06 19:03:10 UTC
I have been playing with this a bit and before i decide to implement this, i would like to ask a question:
Why do you actually need it? Do you repeatedly connect and disconnect repositories from your system? Why? The disconnect action itself is really dangerous and once you do a disconnect a repo it stops listening on filesystem events and if you e.g. remove/rename a file in the IDE you will end up with broken Git repository (because no git remove action will be performed). These actions were introduced for cases when a repository contained metadata from more than one version control system and you needed to disable one of them - *AND PERMANENTLY*. So once more, why do you want this???
Comment 4 Ondrej Vrabec 2013-02-13 09:14:44 UTC
i don't think it makes sense to continue on this unless a meaningless use-case for this is presented.
Comment 5 Ondrej Vrabec 2013-02-13 09:16:41 UTC
Created attachment 131336 [details]
patch draft