GithubHelp home page GithubHelp logo

isabella232 / sentry-release-registry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getsentry/sentry-release-registry

0.0 0.0 0.0 938 KB

Meta repository with collected release history for SDKs and apps

Python 94.47% Dockerfile 2.75% Shell 1.53% Makefile 1.24%

sentry-release-registry's Introduction

Sentry Release Registry

This is a meta repository holding release information for Sentry repositories.

It centralizes information that used to be in different locations. It is known to be used by at least:

Layout

  • api-server: A small web service that services up the contents of this repo
  • apps: A registry of all binary apps and utilities we distribute
  • bin: Some utility scripts to maintain the files here
  • packages: A registry of all packages we publish that we want to collect releases of
  • sdks: Canonical representations of packages that together form an sdk
  • marketing-slugs: Short names for sdks the docs would use

Some of the information here is maintained as symlinks, so this repo only works on unix platforms.

Adding New SDKs

  1. Create packages/<registry>/<package_name>/<exact_version>.json for each version you want to register.

    • <registry>: The package index used. Just create a new directory if you are missing one. Stick to alphanumeric characters and you should be fine.
    • <package_name>: Can be multiple folders, e.g. @sentry/node.
    • <exact_version>: 0.3.0, not 0.3 or 0. Preview versions such as 0.3.0-preview2 or 0.3.0-rc2 also work.
  2. Add the following contents:

    {
      "name": "Name of your platform",
      "canonical": "<registry>:<package_name>",
      "version": "<exact_version>",
      "package_url": "Link to PyPI, RubyGems, npmjs.com",
      "repo_url": "Link to GitHub repo",
      "main_docs_url": "Link to platform page"
    }
  3. cd sdks && ln -s ../packages/<registry>/<package_name> <sdk_name>

    • <sdk_name>: The same identifier used in the sdk_info.name field of the event.

      E.g. the Python SDK sends events like this:

      {
        "message": "Hello world!",
        ...,
        "sdk_info": {"name": "sentry.python", ...}
      }
  4. Run make sync-all-links to fix up symlinks.

Adding New Apps

  1. Create apps/<app_name>/<exact_version>.json for each version you want to register.

    • <package_name>: Can be multiple folders, e.g. @sentry/node.
    • <exact_version>: 0.3.0, not 0.3 or 0. Preview versions such as 0.3.0-preview2 or 0.3.0-rc2 also work.
  2. Add the following contents:

    {
      "name": "Human readable application name",
      "canonical": "app:<app_name>",
      "version": "<exact_version>",
      "repo_url": "Link to GitHub repo",
      "main_docs_url": "Link to docs page",
      "file_urls": {
        "<filename_with_ext>": "https://downloads.sentry-cdn.com/<app_name>/<exact_version>/<filename_with_ext>"
      }
    }
  3. Run make sync-all-links to fix up symlinks.

Releasing

Basically add a new JSON file like above, and run make sync-all-links again. You might want to use Craft which can do this for you as part of your release process.

sentry-release-registry's People

Contributors

hazat avatar bruno-garcia avatar untitaker avatar kamilogorek avatar tonyo avatar jan-auer avatar philipphofmann avatar mitsuhiko avatar rhcarvalho avatar marandaneto avatar swatinem avatar iker-barriocanal avatar byk avatar mattrobenolt avatar beezz avatar scefali 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.