Is it feasible for Karaf to calculate if other features depend on a feature, and uninstall dependencies? Are dependencies tracked internally on a feature-level, or just at an OSGi/bundle level? When you say you're working on something better for Master, do you mean on the git master branch?
My use case is wanting to make life simple for our operations team. I would like them to install a single versioned feature on each server, which in turn references 'sub features'. To upgrade, it would be nice if they only had to uninstall a single feature, and then install a new version of it. As things stand, they will have to manually uninstall each sub feature and its own dependencies. On Wed, Apr 9, 2014 at 3:38 PM, Achim Nierbeck [via Karaf] < [email protected]> wrote: > Yes, this is intended, because it might be used by another feature. > though for Master we are working on a better solution. > > regards, Achim > > > 2014-04-09 16:32 GMT+02:00 siwatson <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4032659&i=0> > >: > >> Achim / JB, thanks for clarifying. >> >> >> I think I misread JB's initial response. I've created JIRA KARAF-2894 >> <https://issues.apache.org/jira/browse/KARAF-2894> for removing config >> >> data when a feature is uninstalled. >> >> JB, could you please expand on "The config has to contain the >> felix.fileinstall.file property to be flush back to the configuration >> file."? >> >> Also, I notice that uninstalling a feature doesn't uninstall its own >> feature >> dependencies. Is this intended? For example, if I install spring-dm-web, >> it >> also installs the spring-web feature. But, if I uninstall spring-dm-web, >> spring-web is left installed. >> >> >> >> >> -- >> View this message in context: >> http://karaf.922171.n3.nabble.com/Can-config-values-be-updated-when-installing-a-new-feature-version-tp4032653p4032658.html >> >> Sent from the Karaf - User mailing list archive at Nabble.com. >> > > > > -- > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > > Software Architect / Project Manager / Scrum Master > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://karaf.922171.n3.nabble.com/Can-config-values-be-updated-when-installing-a-new-feature-version-tp4032653p4032659.html > To unsubscribe from Can config values be updated when installing a new > feature version?, click > here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4032653&code=c2l3YXRzb25AZ21haWwuY29tfDQwMzI2NTN8LTE1NzAxMDE5NQ==> > . > NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://karaf.922171.n3.nabble.com/Can-config-values-be-updated-when-installing-a-new-feature-version-tp4032653p4032660.html Sent from the Karaf - User mailing list archive at Nabble.com.
