Coder Social home page Coder Social logo

Comments (8)

CraziFuzzy avatar CraziFuzzy commented on August 30, 2024

The issue is we need to somehow mark what plugins were manually installed. It's entirely possible, for instance, that a manually installed plugin (Phoenix Core for instance), is meeting a prerequisite for only a single downstream plugin. In most cases, you would not always want removing BMT to also remove the Phoenix Core. Even though BMT might have been the only plugin that was using Phoenix Core, we can't assume that removing BMT should also remove the core. right?

from sagetv.

tmiranda1962 avatar tmiranda1962 commented on August 30, 2024

Correct. I wrote some code that uses a recursive algorithm to walk the
plugin tree and only remove those dependency plugins that are not
dependencies of other plugins. Take a look here:
https://code.google.com/p/tmiranda/source/browse/#svn%2Ftrunk%2FRPAD%2Fsrc%2Ftmiranda%2Frpad

Once I wrap my head around the core I could take a shot at it but right now
I'm not up to it.

On Mon, Aug 17, 2015 at 9:11 PM, Christopher Piper <[email protected]

wrote:

The issue is we need to somehow mark what plugins were manually installed.
It's entirely possible, for instance, that a manually installed plugin
(Phoenix Core for instance), is meeting a prerequisite for only a single
downstream plugin. In most cases, you would not always want removing BMT to
also remove the Phoenix Core. Even though BMT might have been the only
plugin that was using Phoenix Core, we can't assume that removing BMT
should also remove the core. right?


Reply to this email directly or view it on GitHub
#18 (comment).

from sagetv.

Narflex avatar Narflex commented on August 30, 2024

I agree with Fuzzy's comment...I don't think this is a good idea to do unless we are also tracking which plugins were manually installed. Otherwise you could remove something the user manually requested to install.

from sagetv.

tmiranda1962 avatar tmiranda1962 commented on August 30, 2024

Maybe make it an option? I think there are very few users who will
manually install a plugin that happens to be a dependency of another
plugin. Why would a user do that in the first place?
On Aug 18, 2015 2:38 PM, "Jeffrey Kardatzke" [email protected]
wrote:

I agree with Fuzzy's comment...I don't think this is a good idea to do
unless we are also tracking which plugins were manually installed.
Otherwise you could remove something the user manually requested to install.


Reply to this email directly or view it on GitHub
#18 (comment).

from sagetv.

Narflex avatar Narflex commented on August 30, 2024

Fuzzy gave a reason why someone would do it. :) And I don't see that much actual benefit from removing plugins that are no longer needed as they aren't hurting anything....but if you remove something the user actually wanted there, then that's a problem.

Making some other option that removes all the unneeded dependencies via first figuring them out, and then prompting the user about what's going to be removed, that would be fine with me. :) But would of course then require extra things in the STV to make that happen. Lol...I guess this could actually be a plugin. :D

from sagetv.

tmiranda1962 avatar tmiranda1962 commented on August 30, 2024

Ok, you win :)
On Aug 18, 2015 3:19 PM, "Jeffrey Kardatzke" [email protected]
wrote:

Fuzzy gave a reason why someone would do it. :) And I don't see that much
actual benefit from removing plugins that are no longer needed as they
aren't hurting anything....but if you remove something the user actually
wanted there, then that's a problem.

Making some other option that removes all the unneeded dependencies via
first figuring them out, and then prompting the user about what's going to
be removed, that would be fine with me. :) But would of course then require
extra things in the STV to make that happen. Lol...I guess this could
actually be a plugin. :D


Reply to this email directly or view it on GitHub
#18 (comment).

from sagetv.

kkuhler avatar kkuhler commented on August 30, 2024

What about the ability to see what a plugin is dependent on and what dependents on it in its properties. That at least allows for manually removing unneeded plugins.

from sagetv.

Narflex avatar Narflex commented on August 30, 2024

Not a bad idea at all. :)

from sagetv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.