Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to help contribute #598

Open
synackSA opened this issue Feb 25, 2025 · 6 comments
Open

How to help contribute #598

synackSA opened this issue Feb 25, 2025 · 6 comments

Comments

@synackSA
Copy link

Hi there

I luckily stumbled across this repo / plugins as I've personally been trying to develop a backstage plugin that show packages for a repo / entity, with current versions and latest versions. I was looking to use the rennovate sidecar to generate a report and then parse the data from it, so it could be displayed in backstage, but then I found this repo.

Unfortunately, I see that it is in very early alpha. I was wondering if I could help contribute to the project at all and what the steps would be for it. Would it be possible to put some docs together on how to work with the repo and be able to contribute?

I cloned the repo, but when I do a yarn install in the root, I get a lot of warnings about depreciated packages and having to select versions of packages, and what not...

$ yarn install
yarn install v1.22.22
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
warning @backstage/cli > [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
warning @backstage/cli > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > jest-runtime > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > npm-packlist > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > replace-in-file > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > react-dev-utils > fork-ts-checker-webpack-plugin > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > @backstage/config-loader > typescript-json-schema > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > eslint > @humanwhocodes/[email protected]: Use @eslint/config-array instead
warning @backstage/cli > fork-ts-checker-webpack-plugin > [email protected]: this will be v4
warning @backstage/cli > react-dev-utils > fork-ts-checker-webpack-plugin > [email protected]: this will be v4
warning @backstage/cli > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @backstage/cli > npm-packlist > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @backstage/cli > global-agent > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning @backstage/cli > global-agent > roarr > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning @backstage/cli > jest-cli > jest-config > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > @svgr/plugin-svgo > svgo > [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning @backstage/cli > eslint > @humanwhocodes/config-array > @humanwhocodes/[email protected]: Use @eslint/object-schema instead
warning @backstage/cli > jest > @jest/core > @jest/reporters > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native atob() and btoa() methods instead
warning @backstage/cli > jest-environment-jsdom > jsdom > data-urls > [email protected]: Use your platform's native atob() and btoa() methods instead
warning @backstage/cli > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native DOMException instead
warning @backstage/cli > eslint > file-entry-cache > flat-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @backstage/cli > eslint > file-entry-cache > flat-cache > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/cli > jest-runtime > @jest/transform > babel-plugin-istanbul > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/repo-tools > [email protected]: Glob versions prior to v9 are no longer supported
warning @backstage/repo-tools > @useoptic/openapi-utilities > [email protected]: This package is deprecated. Use destructuring assignment syntax instead.
warning @backstage/repo-tools > @useoptic/openapi-utilities > [email protected]: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
warning @backstage/repo-tools > @backstage/backend-plugin-api > @backstage/plugin-permission-node > @backstage/[email protected]: This package is deprecated, please follow the deprecation instructions for the exports you still use
warning @backstage/repo-tools > @backstage/backend-plugin-api > @backstage/plugin-permission-node > @backstage/backend-common > @backstage/plugin-auth-node > @backstage/[email protected]: This package is deprecated, please follow the deprecation instructions for the exports you still use
warning @backstage/repo-tools > @backstage/backend-plugin-api > @backstage/plugin-permission-node > @backstage/backend-common > @aws-sdk/[email protected]: This package has moved to @smithy/abort-controller
warning @backstage/repo-tools > @backstage/backend-plugin-api > @backstage/plugin-permission-node > @backstage/backend-common > @kubernetes/client-node > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @backstage/repo-tools > @backstage/backend-plugin-api > @backstage/plugin-permission-node > @backstage/backend-common > @kubernetes/client-node > request > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @backstage/repo-tools > @backstage/backend-plugin-api > @backstage/plugin-permission-node > @backstage/backend-common > @kubernetes/client-node > request > [email protected]: this library is no longer supported
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > backend > app > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-api-docs > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/core-components > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/integration-react > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-catalog-import > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-catalog-graph > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-catalog-react > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-catalog > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-org > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage-community/plugin-tech-radar > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage-community/plugin-github-actions > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/app-defaults > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-search > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-scaffolder > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-techdocs-module-addons-contrib > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-techdocs > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-user-settings > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-search-react > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/plugin-techdocs-react > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > backend > @backstage/backend-tasks > @backstage/backend-common > @aws-sdk/[email protected]: This package has moved to @smithy/abort-controller
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > backend > @backstage/backend-tasks > @backstage/backend-common > archiver > archiver-utils > [email protected]: Glob versions prior to v9 are no longer supported
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > app > @backstage/test-utils > @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
warning workspace-aggregator-255e19b3-f7b7-4fb6-89f8-c16a2d6d85c5 > backend > @backstage/backend-defaults > @aws-sdk/[email protected]: This package has moved to @smithy/abort-controller
Couldn't find any versions for "@secustor/backstage-plugin-renovate" that matches "workspace:^"
? Please choose a version of "@secustor/backstage-plugin-renovate" from this list: (Use arrow keys)
❯ 0.15.2 
  0.15.1 
  0.15.0 
  0.14.2 
  0.14.1 
...

Any help appreciated. thanks.

@synackSA
Copy link
Author

Manage to get yarn install working, just needed to use corepack (I'm still fairly new to js/typescript)

@secustor
Copy link
Owner

Yes, you need yarn v4. Corepack manages this for you based on the package.json, but I recommend to use volta which sets up your NodeJS version too.

@synackSA
Copy link
Author

Since I already have this discussion going, I was wondering if you could clarify something for me.

What is the purpose of this section of code? : https://github.com/secustor/backstage-plugins/blob/main/plugins/renovate-backend/src/wrapper/platforms/index.ts#L59-L72

I searched both this repo and https://github.com/renovatebot/renovate I could not find any reference to RENOVATE_GITHUB_COM. In fact, if I run the same renovate command that is generated by the plugin both with and without that env variable, the results are the same. It also didn't make a lot of sense to me that one would still need a Github token, even when using another platform, like gitlab for instance.

@secustor
Copy link
Owner

This is to not get ratelimited when fetching Github releases and such. https://docs.renovatebot.com/getting-started/running/#githubcom-token-for-changelogs

@synackSA
Copy link
Author

Ah I see, I should have been searching for the env minus the RENOVATE_

@secustor
Copy link
Owner

BTW this is a bug on my side it is actually called GITHUB_COM_TOKEN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants