Giter VIP home page Giter VIP logo

meta-repo's Introduction

hb-appstore meta-repo

This repo is served at fortheusers.github.io/meta-repo with a backup meta.fortheusers.org, in case the primary meta-repo URL is down or can't be reached.

It serves as an index of suggested actions for the hb-appstore client to take, in terms of managing its libget repos.

For example, some legacy users have local repo config files that still point to the non-CDN servers. Versions of hb-appstore 2.4 and up reference this meta-repo to see if there are any known repos that need their URLs updated. This can also be helpful if new repos are added (for example of some packages are split up) or some old repo URLs go down and need to be changed.

Format

The top level contains a "suggestions" key, which provides a list of potential operations that the client can take. Each key within that object represents the platform that the operations should apply to. The operations will only run on clients that match the platform.

There are some circumstances where a client may match multiple platforms, such as the Wii U checking both "wiiu" and "vwii". For a full list, see hb-appstore's codebase. (TODO)

{
    "suggestions": {
        "wiiu": [ Operation1, Operation2, ... ],
        "switch": [ Operation1, Operation2, ... ],
        "vwii": [ Operation1, Operation2, ... ],
        "wii": [ Operation1, Operation2, ... ],
        "3ds": [ Operation1, Operation2, ... ]
    }
}

The different operations are detailed below.

"add"

Append a repo with url of type, if this URL doesn't exist already. If it does exist, but is a different type, it will be changed to the type.

{
    "op": "add",
    "url": "https://cdn.newval.com",
    "type": "get"
}

"remove"

Remove the url from the list of repos, if it exists. If no repos remain after the removal occurs, the client will regenerate the repo list with the default

{
    "op": "remove",
    "url": "https://oldurl.com"
}

"exclude"

Excludes and hides the given pkgName from any repos that it might appear in. At this time, this will exclude it from any repos that match the name.

{
    "op": "exclude",
    "pkgName": "name-of-package"
}

meta-repo's People

Contributors

vgmoose avatar

Watchers

 avatar pwsincd avatar

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.