GithubHelp home page GithubHelp logo

Long forgotten main files about bot HOT 9 OPEN

jsdelivr avatar jsdelivr commented on August 26, 2024
Long forgotten main files

from bot.

Comments (9)

megawac avatar megawac commented on August 26, 2024

We could add a field to the info.ini?

from bot.

jimaek avatar jimaek commented on August 26, 2024

What kind of field? I guess we need to add .mainfile to the API for this feature to work?

from bot.

megawac avatar megawac commented on August 26, 2024

Maybe something like

checkMainFiles: > 1.2

On Mon, Apr 6, 2015 at 1:58 PM, Dmitriy Akulov [email protected]
wrote:

What kind of field? I guess we need to add .mainfile to the API for this
feature to work?


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

from bot.

jimaek avatar jimaek commented on August 26, 2024

Nah, too much work to maintain. I think we need to add it to the API, then your bot could simply parse it and only throw errors when there is no mainfile override file. What do you think?

from bot.

jimaek avatar jimaek commented on August 26, 2024

@megawac Our API now supports this http://api.jsdelivr.com/v1/jsdelivr/libraries?name=imagesloaded
Each version has its own mainfile parameter as well.

from bot.

megawac avatar megawac commented on August 26, 2024

The main difficulty (besides finding time) is supporting both .mainfile (#10) and this. For instance if the user changes the mainfile (jsdelivr/jsdelivr#5927), its difficult to determine if that affects a folder with a .mainfile. One possible workaround would be to have the API include a flag for each version if a .mainfile is set

from bot.

jimaek avatar jimaek commented on August 26, 2024

@megawac Can we include this feature into v2? Can you make sure we dont forget this?

from bot.

megawac avatar megawac commented on August 26, 2024

This can also be added to v1. Either way, it should be a simple fix

On Fri, Jul 17, 2015 at 4:16 AM, Dmitriy Akulov [email protected]
wrote:

@megawac https://github.com/megawac Can we include this feature into
v2? Can you make sure we dont forget this?


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

from bot.

jimaek avatar jimaek commented on August 26, 2024

Lets add it only to v2, there has to be motivation to switch to v2.

from bot.

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.