Giter VIP home page Giter VIP logo

Comments (12)

SOF3 avatar SOF3 commented on June 3, 2024 1

Yep for only associating own plugins.
Parent plugin + children plugins = one package. It doesn't make sense to add your plugin into others' package, or to have multiple "main" plugins in the same package.

from poggit.

SOF3 avatar SOF3 commented on June 3, 2024 1

Should be replaced by a Plugin Lists mechanism

from poggit.

Awzaw avatar Awzaw commented on June 3, 2024

I can't see much difference between an "optional dependency", whatever that is exactly... and an "associate release", except that maybe the latter would be reserved for plugins from the same author. So do we need a separate section for this, or could we add a third category such as "Associated Plugin" to Required/Optional?

from poggit.

SOF3 avatar SOF3 commented on June 3, 2024

Associated releases are actually packages of plugins. Dependencies are just "You can use them together" "It's an add-on", but association is stronger -- "You SHOULD use them together". Therefore there should be a zip download for associated projects while this is not needed for normal dependencies.

from poggit.

SOF3 avatar SOF3 commented on June 3, 2024

In simple words, "Foo depends on Bar" vs "Foo is an associate of Bar":

Dependency Association
Both Foo and Bar are listed in /pi Foo is not listed in /pi. Only Bar is listed in /pi.
Foo and Bar are downloaded separately Bar's download button should link to a zip containing both Bar.phar and Foo.phar, with smaller buttons displaying individual phar downloads for both Bar.phar and Foo.phar
In /p/Foo, Bar is displayed in a medium box called "Dependencies" at the top In /p/Foo, the plugin name is displayed as "Bar > Foo" in a way such that it looks like Foo is a component in the Bar plugin.
In /p/Bar, Foo is displayed in a small box called "Dependents" at the bottom (similar to "Users also install" in Google Play) In /p/Bar, Foo's description is displayed in a spoiler immediately after the description of Bar itself.

from poggit.

Awzaw avatar Awzaw commented on June 3, 2024

Got it :-)

from poggit.

Awzaw avatar Awzaw commented on June 3, 2024

"Foo is not listed in /pi. Only Bar is listed in /pi"
How do you suggest we manage an associated Foo's release status? It should presumably be >=approved to qualify as an associated plugin, and yet we don't want it in /pi; a new 'parent_releaseId' column in releases?

from poggit.

SOF3 avatar SOF3 commented on June 3, 2024

Yeah, that's a good way.

from poggit.

Awzaw avatar Awzaw commented on June 3, 2024

Do we allow multiple parents? I've started with only one... and I'm assuming users can only associate their own plugins.

from poggit.

SOF3 avatar SOF3 commented on June 3, 2024

Yet. Also, a parent release must not be the child of another.

from poggit.

SOF3 avatar SOF3 commented on June 3, 2024

Yep*

from poggit.

Awzaw avatar Awzaw commented on June 3, 2024

Was that a 'yep' for multiple parents too? I'm hoping not...

from poggit.

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.