GithubHelp home page GithubHelp logo

addonfiles's Introduction

Purpose:

This repo controls the file area of https://addons.nvda-project.org under files section.

This fork was created so that NV Access could review changes to the add-on website before they become active. Please create a pull request for required changes.

New Add-ons:

To include a new add-on:

  1. Host it (ideally on GitHub, the add-on template makes this easy).
  2. Fork this repo (nvaccess/addonFiles) into your own GitHub account.
  3. Create a new branch in your forked version of addonFiles.
  4. In your new branch, edit the get.php file, as described below.
  5. Push the new branch to your fork, and issue a pull request to merge it into this repository. When creating the pull request, be sure to follow the instructions that appear in the edit field on GitHub.

Your pull request will be reviewed, and if approved, will be merged, thus making your changes to get.php part of the official add-ons website as described below.

Get.php for New Add-ons:

You need to make sure to have a unique key (add-on ID) in get.php for your add-on. We needed unique keys because Ikiwiki doesn't seem to like long links, such as would be formed by the full add-on name..

Get.php for Updated Add-ons:

Find your add-on's existing entry in get.php, and change the URL to point to your new version's direct download (That is, usually the part ending with ".nvda-addon").

Update Timing:

The server pulls this repo once per hour, see nvaccess/mrconfig/automatic.crontab. After your pull request is approved and merged, and the next hourly update occurs, the new/updated add-on will be available from: https://addons.nvda-project.org/files/get.php?file=key

Reviewing updated add-on links:

When there are changes to get.php, the following should be done for each updated entry:

  • Check that the add-on URL is correct.
    • Either by downloading the add-on, or
    • With curl -L -I Full example curl -LI https://github.com/lukaszgo1/winWizard/releases/download/V5.0.2/winWizard-5.0.2.nvda-addon.
      • This follows redirects, and just returns the header info.
      • Look for HTTP/2 200 in the final block.
  • Ensure that the manifest is correct. Including API versions.
    • This will require downloading the add-on, extracting it (or opening it with a tool like 7-zip), and reading the manifest.
    • Only once the first NVDA Beta is released will the API be considered frozen, therefore 'lastTested' should not be set to that version until after the beta.

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.