Code Monkey home page Code Monkey logo

backstage-community-plugins's Introduction

Backstage Community Plugins

What is the community-plugins repository?

The community-plugins repository is a place where members of the community can host a plugin or a set of plugins. The goal of community-plugins is to reduce the amount of pull requests and issues from backstage/backstage, which has become too big with the time. By creating community-plugins we give to plugin maintainers all the tools to easily manage and publish their plugins.

Contributing a plugin

Plugins created by the wider Backstage community are welcome to be published in the community-plugins repository. When you contribute a plugin to this repository, you agree to follow specific guidelines, including a standardized release process. This allows plugin owners to leverage established processes and the collective knowledge of the Backstage community-plugins community.

For those seeking full autonomy over their plugin's development and release lifecycle, self-hosting remains a supported and valid option. The decision to either contribute to the community repository or self-host will depend on whether you prefer to manage the development of the plugin independently or develop the plugin as part of a community-driven process. Both approaches are valued within the Backstage ecosystem and contribute to its growth.

Plugins that are key to the functionality and operation of Backstage will continue to reside in the backstage/backstage repository - ensuring the central components that underpin the platform are centrally managed and maintained.

Repository layout

community-plugins is formed by a set of workspaces. A workspace holds a plugin or a set of plugins based on a specific topic. For example, catalog, kubernetes, and TechDocs can be referred to as workspaces. Each plugin belongs to a workspace and workspaces are portable enough to be moved to its own repo if desired.

Release Management

Changesets have proven to be a reliable method for managing different versions of packages. Each plugin workspace has its own changesets and isolated releases. Plugins that depend on other plugins via regular NPM dependencies, regardless of whether the other plugins are core plugins, other plugins within the community repo, or external plugins. Although the community repository isn't technically a "yarn workspace", it functions as a repository with multiple sub yarn workspaces, with each workspace possessing its unique .changesets directory.

Whenever a new changeset is introduced, a fresh "Version packages ($workspace_name)" PR is produced. Merging a Version packages PR will trigger the release of all the plugins in the workspaces (provided changesets have been added), and also update the CHANGELOG files.

How to create a new workspace

$ yarn create-workspace

The migration of plugins from the backstage/backstage monorepo

The migration of plugins from the backstage/backstage monorepo to the community-plugins repository has been automated under the community-cli tool.

You provide it with a path to the monorepo which should be cloned locally, and a plugin ID. It will then create a new workspace in the community-plugins repository with all of the plugins and modules that surround that workspace. For instance, if I use the todo plugin as an ID, It will automatically move over @backstage/plugin-todo as well as @backstage/plugin-todo-backend and any other -common, -node or -modules that are related.

Once the code is copied over, the npm scopes and all code references are updated to reflect the new scopes of @backstage-community/plugin-*, and a changeset is created for the package to be published. The versions are kept the same for now, but the resulting changeset will publish the next version along, so if the package released at 1.25.0 was 0.10.0 then the new version will be @backstage-community/plugin-todo 0.10.1.

There is a commit that is created in the monorepo on either a specified branch as --branch or on a new branch that is created for the migration. In this commit is a deprecation and a changeset for this package to go out, so 0.10.1 in @backstage/plugin-todo will be marked as deprecated and replaced with @backstage-community/plugin-todo as the same version.

Workspaces that will be created

Looking through the monorepo we can expect the following workspaces:

  • adr
  • airbreak
  • allure
  • analytics
  • apache-airflow
  • apollo-explorer
  • azure-devops
  • azure-sites
  • badges
  • bazaar
  • bitrise
  • cicd-statistics
  • cloudbuild
  • code-climate
  • code-coverage
  • codescene
  • cost-insights
  • dynatrace
  • entity-feedback
  • entity-validation
  • example-todo-list
  • explore
  • firehydrant
  • fossa
  • gcalendar
  • gcp-projects
  • git-release-manager
  • github-actions
  • github-deployments
  • github-issues
  • github-pull-requests-board
  • gitops-profiles
  • gocd
  • graphiql
  • graphql-voyager
  • ilert
  • jenkins
  • kafka
  • lighthouse
  • microsoft-calendar
  • newrelic
  • newrelic-dashboard
  • octopus-deploy
  • opencost
  • periskop
  • playlist
  • puppetdb
  • rollbar
  • sentry
  • shortcuts
  • sonarqube
  • splunk
  • stack-overflow
  • stackstorm
  • tech-insights
  • tech-radar
  • todo
  • vault
  • xcmetrics

Of course, there could be simplifcations to this workspace list and some workspaces will be merged into one, like for example the github- workspaces could become one github workspace instead, but for the inital migration, we will keep them separate.

backstage-community-plugins's People

Contributors

benjdlambert avatar vinzscam avatar github-actions[bot] avatar tudi2d avatar dependabot[bot] avatar renovate[bot] avatar bethgriggs avatar rugvip avatar kuangp avatar freben avatar nickboldt avatar pjungermann avatar kadel avatar nikunj0601 avatar awanlin avatar jmezach 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.