Code Monkey home page Code Monkey logo

Comments (5)

vtsykun avatar vtsykun commented on August 16, 2024

Hi

By default mirror packages are automatically mirrored and shown to your Mirror page the first time they are accessed through composer update.

For example
https://demo.packeton.org/proxies/firegento

curl -u admin:oR5sY2Vv3Dcg4v2EXHxf https://demo.packeton.org/mirror/firegento/packages.json

curl -u admin:oR5sY2Vv3Dcg4v2EXHxf https://demo.packeton.org/mirror/firegento/p2/adobe/aep-launch.json

Selection_1913

from packeton.

moneef avatar moneef commented on August 16, 2024

is there away to just add the mirrored repo and get all packages into main page of packeton as if it was submitted

from packeton.

vtsykun avatar vtsykun commented on August 16, 2024

No, this feature is not supported yet. (as I know the paid packagist.com has this feature - union all mirrored and submitted packages together). For mirrored and submitted packages you must use two different repository URLs in composer.json.

from packeton.

moneef avatar moneef commented on August 16, 2024

is there a plan to implement this feature?
i would like to help but i don't know how and where to start. any advice will be appreciated

from packeton.

vtsykun avatar vtsykun commented on August 16, 2024

is there a plan to implement this feature?

you can use multiple repositories in composer.json. I'd like to keep separate url for minorring packages and for main repository. It seems difficult to merge the metadata together of two repositories without performance degradation.

    "repositories": [
        {
            "type": "composer",
            "url": "https://example.com"
        },
        {
            "type": "composer",
            "url": "https://example.com/mirror/amasty"
        }
    ],

from packeton.

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.