[jbosstools-issues] [JBoss JIRA] (JBTIS-396) JBoss Central doesn't recognise that a category item is already installed

Nick Boldt (JIRA) issues at jboss.org
Mon Mar 16 10:22:19 EDT 2015


    [ https://issues.jboss.org/browse/JBTIS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050516#comment-13050516 ] 

Nick Boldt commented on JBTIS-396:
----------------------------------

When you do an install of software with apt-get or yum, you get similar behaviour. You're told "this is already installed, but we can install the other stuff you asked for which is not yet installed".

{code}
#➔ yum install sane-backends.x86_64 xsane-common.x86_64 xsane-gimp.x86_64 sane-backends-drivers-cameras.x86_64 sane-backends-drivers-cameras.i686
Loaded plugins: langpacks
Package sane-backends-1.0.24-7.fc20.x86_64 already installed and latest version
Package xsane-common-0.999-12.fc20.x86_64 already installed and latest version
Package xsane-gimp-0.999-12.fc20.x86_64 already installed and latest version
Package sane-backends-drivers-cameras-1.0.24-7.fc20.x86_64 already installed and latest version
Resolving Dependencies
...
{code}

---

If a user wants to install just single pieces of functionality a la carte, they can select the single-piece connectors [eg., ordering a slice of pie]. 

If afterwards, she orders a combo [slice of pie with a plate of cheeses], she can do so.

But then the waiter will arrive at the table and realize they already have the pie. He will leave the cheese, and return the extra pie to the kitchen.

---

So... to avoid this "some of your selections are already installed ", the user can simply use the connector which doesn't include multiple units of functionality bundled into a single connector.

Just Modeshape: https://github.com/jbosstools/jbosstools-integration-stack/blob/master/jbosstools/discovery/org.jboss.tools.central.discovery.integration-stack/plugin.xml#L240-L259
Just Teiid Designer: https://github.com/jbosstools/jbosstools-integration-stack/blob/master/jbosstools/discovery/org.jboss.tools.central.discovery.integration-stack/plugin.xml#L261-L282
Combo MS/TD: https://github.com/jbosstools/jbosstools-integration-stack/blob/master/jbosstools/discovery/org.jboss.tools.central.discovery.integration-stack/plugin.xml#L49-L71

--

The mylyn discovery UI today does not have the ability on that first selection screen to already know what is/is not installed. If a user knows he's already installed something, he can deselect parts of the connector and install just the feature(s) he wants, instead of all of them. Then the user will not be told "this is already installed". We could consider changing this to as you suggest, check if selected features are already installed, and grey those choices out. But as noted above, other package managers do the same thing as Eclipse... so is this something that's really a UX concern?



> JBoss Central doesn't recognise that a category item is already installed
> -------------------------------------------------------------------------
>
>                 Key: JBTIS-396
>                 URL: https://issues.jboss.org/browse/JBTIS-396
>             Project: JBoss Tools Integration Stack
>          Issue Type: Bug
>          Components: distribution
>            Reporter: Michelle Murray
>            Assignee: Paul Leacu
>         Attachments: dv1.png, dv2.png
>
>
> I have JBDS 8.0.2 installed.
> In JBoss Central Software/Update tab, I enabled Early Access. I then selected the check box for 'JBoss Data Virtualization Developer' and clicked installed. I chose to only install ModeShape Client and followed the install through including restarting JBDS.
> In JBoss Central Software/Update tab, 'JBoss Data Virtualization Developer' was still shown as uninstalled - as expected from JBTIS-363. I selected the check box for 'JBoss Data Virtualization Developer' and clicked installed. ModeShape Client is listed and check box autoselected along with all of the Teiid items as available to install. BUT I just installed it!?
> 1) I chose to only install the ModeShape Client again but then get an error message "Cannot complete the request.  See the error log for details."
> 2) So I chose to install all, including ModeShape Client, and the install proceeds to the next window without the error message but is listing that it will install ModeShape Client again.
> As a user, this looks like a bug to me.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jbosstools-issues mailing list