Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • smartdatalab/public/applications/renovate
1 result
Select Git revision
Show changes
Commits on Source (1000)
Showing
with 220 additions and 149 deletions
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0.119.0-12@sha256:b46a520a09888b34fce28aa75e58a537a82cc6b086170d279e7ecd1d0a8b4262
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0.149.0-14@sha256:7ed76ef32b22aa80680443e77ca993008f4e464cac9226a678f97b16cfa2e75c
# see https://mcr.microsoft.com/v2/vscode/devcontainers/typescript-node/tags/list for tags
# Add missing renovate dev tools
......
......@@ -10,6 +10,7 @@ coverage
**/__mocks__/**
**/*.d.ts
/config.js
.clinic/
# generated code
**/*.generated.ts
......
......@@ -61,17 +61,15 @@ module.exports = {
},
],
// Makes no sense to allow type inferrence for expression parameters, but require typing the response
// Makes no sense to allow type inference for expression parameters, but require typing the response
'@typescript-eslint/explicit-function-return-type': [
'error',
{ allowExpressions: true, allowTypedFunctionExpressions: true },
],
// TODO: fix lint
'@typescript-eslint/camelcase': 0, // disabled until ??
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-floating-promises': 2,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-non-null-assertion': 2,
'@typescript-eslint/no-unused-vars': [
2,
{
......@@ -79,16 +77,38 @@ module.exports = {
args: 'none',
ignoreRestSiblings: false,
},
], // disable until proper interfaced api
],
'@typescript-eslint/prefer-optional-chain': 2,
'@typescript-eslint/prefer-nullish-coalescing': 2,
curly: [2, 'all'],
'require-await': 2,
// next 2 rules disabled due to https://github.com/microsoft/TypeScript/issues/20024
'@typescript-eslint/no-unsafe-assignment': 0,
'@typescript-eslint/no-unsafe-member-access': 0,
// TODO: fix me
'@typescript-eslint/no-unsafe-return': 0,
'@typescript-eslint/no-unsafe-call': 0,
'@typescript-eslint/restrict-template-expressions': [
1,
{ allowNumber: true, allowBoolean: true },
],
'@typescript-eslint/restrict-plus-operands': 2,
'@typescript-eslint/naming-convention': 2,
'@typescript-eslint/unbound-method': 2,
'@typescript-eslint/ban-types': 2,
},
settings: {
// https://github.com/benmosher/eslint-plugin-import/issues/1618
'import/internal-regex': '^type\\-fest$',
'import/parsers': {
'@typescript-eslint/parser': ['.ts'],
},
},
overrides: [
{
files: ['**/*.spec.ts'],
files: ['**/*.spec.ts', 'test/**'],
env: {
jest: true,
},
......@@ -102,6 +122,8 @@ module.exports = {
'@typescript-eslint/no-object-literal-type-assertion': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/unbound-method': 0,
'jest/valid-title': [0, { ignoreTypeOfDescribeName: true }],
},
},
{
......@@ -109,6 +131,8 @@ module.exports = {
rules: {
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/restrict-template-expressions': 0,
},
},
],
......
---
name: Security problem
about: Don't raise security issues here. Please email security@renovatebot.com instead.
---
Stop! Don't raise an issue here! Please email security@renovatebot.com instead
---
name: Bug report
about: You've found a bug with Renovate
---
**What Renovate type are you using?**
<!-- Tell us if you're using the hosted App, or if you are self-hosted Renovate yourself. Platform too (GitHub, GitLab, etc) if you think it's relevant. -->
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
**Did you see anything helpful in debug logs?**
<!-- If you're running self-hosted, run with `--log-level=debug` or LOG_LEVEL=debug and search for whatever dependency/branch/PR that is causing the problem. If you are using the Renovate App, log into https://app.renovatebot.com/dashboard and locate the correct job log for when the problem occurred (e.g. when the PR was created). The Job ID will help us locate it. -->
**To Reproduce**
<!-- To fix a bug, we nearly always need a *minimal* repo to reproduce it in, before verifying that our fix works using the same repo. If you provide a public repo that already reproduces the problem, then your bug will get highest priority for fixing. If you can't reproduce it in a simple repo, do your best to describe how it could be reproduced, or under what circumstances the bug occurs. -->
**Additional context**
<!-- Add any other context about the problem here, including your own debugging or ideas on what went wrong. -->
---
name: Feature request
about: Suggest an idea for this project
---
**What would you like Renovate to be able to do?**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
---
name: Bug report
about: You've found a bug with Renovate
---
**What Renovate type, platform and version are you using?**
<!-- Tell us if you're using the hosted App, or if you are self-hosted Renovate yourself. Platform too (GitHub, GitLab, etc) plus which version of Renovate if you're self-hosted. -->
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
**Relevant debug logs**
<!--
Try not to raise a bug report unless you've looked at the logs first.
If you're running self-hosted, run with `--log-level=debug` or LOG_LEVEL=debug and search for whatever dependency/branch/PR that is causing the problem. If you are using the Renovate App, log into https://app.renovatebot.com/dashboard and locate the correct job log for when the problem occurred (e.g. when the PR was created).
Paste the *relevant* logs here, not the entire thing and not just a link to the dashboard (others do not have permissions to view them).
-->
**To Reproduce**
<!-- To fix a bug, we usually need a *minimal* public repository to reproduce it in, before verifying that our fix works using the same repo. If you provide a public repo that already reproduces the problem, then your bug will get highest priority for fixing. If you can't reproduce it in a simple repo, do your best to describe how it could be reproduced, or under what circumstances the bug occurs, but it's possible that nobody will start work on it if there's no way to reproduce it without a lot of work. -->
**Additional context**
<!-- Add any other context about the problem here, including your own debugging or ideas on what went wrong. -->
---
name: Feature request
about: Suggest an idea for this project
---
**What would you like Renovate to be able to do?**
<!-- Tell us what requirements you need solving, and be sure to mention too if this is part of any "bigger" problem you're trying to solve. -->
**Did you already have any implementation ideas?**
<!-- In case you've already dug into existing options or source code and have ideas, mention them here. Try to keep implementation ideas separate from *requirements* above -->
<!-- Please also mention here in case this is a feature you'd be interested in writing yourself, so you can be assigned it. -->
......@@ -2,7 +2,8 @@
## Security
If you think you've found a **security issue**, please do not mention it in this repository. Instead, email security@renovatebot.com with as much details as possible so that it can be handled confidentially.
If you think you've found a **security issue**, please do not mention it in this repository.
Instead, email security@renovatebot.com with as much details as possible so that it can be handled confidentially.
## Support
......@@ -14,23 +15,38 @@ If you've found a **bug** or have a **feature request** then please create an is
## Code
If you would like to fix a bug or implement a feature, please fork the repository and create a Pull Request. More information on getting set up locally can be found in [docs/development/local-development.md](https://github.com/renovatebot/renovate/blob/master/docs/development/local-development.md).
If you would like to fix a bug or implement a feature, please fork the repository and create a Pull Request.
More information on getting set up locally can be found in [docs/development/local-development.md](https://github.com/renovatebot/renovate/blob/master/docs/development/local-development.md).
Before you start any Pull Request, it's recommended that you create an issue to discuss
first if you have any doubts about requirement or implementation. That way you can be sure that the maintainer(s)
agree on what to change and how, and you can hopefully get a quick merge
afterwards. Also, let the maintainers know that you plan to work on a particular issue so that no one else starts any duplicate work.
Before you start any Pull Request, it's recommended that you create an issue to discuss first if you have any doubts about requirement or implementation.
That way you can be sure that the maintainer(s) agree on what to change and how, and you can hopefully get a quick merge afterwards.
Also, let the maintainers know that you plan to work on a particular issue so that no one else starts any duplicate work.
Pull Requests can only be merged once all status checks are green, which means `yarn test` passes, and coverage is 100%.
## Do not force push to your pull request branch
Please do not force push to your PR's branch after you have created your PR, as doing so makes it harder for us to review your work.
PRs will always be squashed by us when we merge your work.
Commit as many times as you need in your pull request branch.
## Re-requesting a review
Please do not ping your reviewer(s) by mentioning them in a new comment.
Instead, use the re-request review functionality.
Read more about this in the [GitHub docs, Re-requesting a review](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request#re-requesting-a-review).
## Slack collaboration with maintainers
Sometimes the codebase can be a challenge to navigate, especially for a first-time contributor. We don't want you spending an hour trying to work out something that would take us only a minute to explain.
Sometimes the codebase can be a challenge to navigate, especially for a first-time contributor.
We don't want you spending an hour trying to work out something that would take us only a minute to explain.
For that reason, we have a Slack channel dedicated to helping anyone who's working on Pull Requests for Renovate. Please email rhys@renovatebot.com and simply mention that you need an invitation to the channel.
For that reason, we have a Slack channel dedicated to helping anyone who's working on Pull Requests for Renovate.
Please email rhys@renovatebot.com and simply mention that you need an invitation to the channel.
## Legal
Pull Request authors must sign the [Renovate CLA](https://cla-assistant.io/renovateapp/renovate).
If you cannot or do not want to sign this CLA (e.g. your employment contract for your employer may not allow this), you should not submit a PR. Open an issue and someone else can do the work.
If you cannot or do not want to sign this CLA (e.g. your employment contract for your employer may not allow this), you should not submit a PR.
Open an issue and someone else can do the work.
<!--
Is this about a security problem?
DO NOT RAISE AN ISSUE - please email security@renovatebot.com instead
Is this question about config help?
If so, please open an issue in https://github.com/renovateapp/config-help instead
-->
<!-- Mark an 'x' in the applicable boxes below, e.g. like [x] -->
#### This is a:
- [ ] Bug report (non-security related)
- [ ] Feature request
- [ ] I'm not sure which of those it is
#### I'm using:
- [ ] The Renovate GitHub App
- [ ] Self-hosted GitHub
- [ ] Self-hosted GitLab
- [ ] Self-hosted Azure DevOps
#### Please describe the issue:
commitMessage: 'Apply prettier formatting fix'
excludeBranches:
- master
pullsOnly: true
<!--
Before submitting a Pull Request, please ensure you have signed the CLA using this GitHub App:
https://cla-assistant.io/renovateapp/renovate
<!-- If this is your first pull request: sign the CLA with this GitHub app: https://cla-assistant.io/renovatebot/renovate -->
<!-- Make sure the `Allow edits and access to secrets by maintainers` checkbox is checked on this pull request. -->
Please ensure `Allow edits from maintainers.` checkbox is checked
-->
## Changes:
<!-- Replace this text with a description of what this PR fixes or adds -->
<!-- Describe what this pull request changes. -->
Closes # <!-- Ideally each PR should be closing an open issue -->
## Context:
<!-- Describe why you're making these changes if it's not already explained in a corresponding issue. -->
<!-- If you're closing an existing issue with this pull request, use the keyword Closes #issue_number -->
## Documentation (please check one with an [x])
- [ ] I have updated the documentation, or
- [ ] No documentation update is required
## How I've tested my work (please tick one)
I have verified these changes via:
- [ ] Code inspection only, or
- [ ] Newly added unit tests, or
- [ ] Unit tests + ran on a real repository
<!-- Do you have any suggestions about this PR template? Edit it here: https://github.com/renovatebot/renovate/edit/master/.github/pull_request_template.md -->
<!-- Please do not force push to this PR's branch after you have created this PR, as doing so makes it harder for us to review your work. -->
<!-- PRs will always be squashed by us when we merge your work. Commit as many times as you need in this branch. -->
# Semantic Commit bot: https://github.com/zeke/semantic-pull-requests
# Always validate the PR title, and ignore the commits
titleOnly: true
......@@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12]
node-version: [12, ^14.15.0]
python-version: [3.8]
java-version: [8]
exclude:
......@@ -41,63 +41,55 @@ jobs:
steps:
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
uses: actions/setup-node@v1.4.4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2.1.4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up Java ${{ env.JAVA_VERSION }}
if: env.NODE_VERSION == '12'
uses: actions/setup-java@v1
uses: actions/setup-java@v1.4.3
with:
java-version: ${{ env.JAVA_VERSION }}
- name: Skip Java tests
if: env.NODE_VERSION != '12'
run: echo "::set-env name=SKIP_JAVA_TESTS::true"
run: echo "SKIP_JAVA_TESTS=true" >> $GITHUB_ENV
- name: Init platform
shell: bash
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
git config --global user.email 'bot@renovateapp.com'
git config --global user.email 'renovate@whitesourcesoftware.com'
git config --global user.name 'Renovate Bot'
npm config set scripts-prepend-node-path true
echo "Node $(node --version)"
python --version
echo "Yarn $(yarn --version)"
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
- name: Cache Yarn packages
id: yarn_cache_packages
uses: actions/cache@v1
uses: actions/cache@v2.1.3
with:
path: ${{ env.YARN_CACHE_FOLDER }}
key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-
- name: Cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-
# Clear caches on cache miss, otherwise they will grow indefinitely
- name: Clear yarn cache
if: steps.yarn_cache_packages.outputs.cache-hit != 'true'
run: yarn cache clean
- name: Installing dependencies
run: yarn install --frozen-lockfile --link-duplicates
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
......@@ -106,7 +98,7 @@ jobs:
run: yarn jest --maxWorkers=2 --ci --coverage ${{ env.coverage }}
- name: Upload coverage
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2.2.0
if: always() && env.coverage == 'true'
with:
name: coverage
......@@ -131,7 +123,7 @@ jobs:
steps:
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
uses: actions/setup-node@v1.4.4
with:
node-version: ${{ env.NODE_VERSION }}
......@@ -139,38 +131,30 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
git config --global user.email 'bot@renovateapp.com'
git config --global user.email 'renovate@whitesourcesoftware.com'
git config --global user.name 'Renovate Bot'
npm config set scripts-prepend-node-path true
echo "Node $(node --version)"
echo "Yarn $(yarn --version)"
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
- name: Cache Yarn packages
id: yarn_cache_packages
uses: actions/cache@v1
uses: actions/cache@v2.1.3
with:
path: ${{ env.YARN_CACHE_FOLDER }}
key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-
- name: Cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-
# Clear caches on cache miss, otherwise they will grow indefinitely
- name: Clear yarn cache
if: steps.yarn_cache_packages.outputs.cache-hit != 'true'
run: yarn cache clean
- name: Installing dependencies
run: yarn install --frozen-lockfile --link-duplicates
run: yarn install --frozen-lockfile
- name: Lint
run: |
......@@ -191,7 +175,7 @@ jobs:
steps:
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
uses: actions/setup-node@v1.4.4
with:
node-version: ${{ env.NODE_VERSION }}
......@@ -199,30 +183,24 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
git config --global user.email 'bot@renovateapp.com'
git config --global user.email 'renovate@whitesourcesoftware.com'
git config --global user.name 'Renovate Bot'
yarn config set version-git-tag false
npm config set scripts-prepend-node-path true
# full checkout for semantic-release
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Cache Yarn packages
uses: actions/cache@v1
uses: actions/cache@v2.1.3
with:
path: ${{ env.YARN_CACHE_FOLDER }}
key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }}
- name: Cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Installing dependencies
run: yarn install --frozen-lockfile --link-duplicates
run: yarn install --frozen-lockfile
- name: semantic-release
if: github.ref == 'refs/heads/master'
......
name: 'Code scanning - action'
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 13 * * 1'
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
......@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
uses: actions/setup-node@v1.4.4
with:
node-version: ${{ env.NODE_VERSION }}
......@@ -24,30 +24,24 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
git config --global user.email 'bot@renovateapp.com'
git config --global user.email 'renovate@whitesourcesoftware.com'
git config --global user.name 'Renovate Bot'
yarn config set version-git-tag false
npm config set scripts-prepend-node-path true
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
ref: ${{ github.event.client_payload.sha }}
- name: Cache Yarn packages
id: yarn_cache_packages
uses: actions/cache@v1
uses: actions/cache@v2.1.3
with:
path: ${{ env.YARN_CACHE_FOLDER }}
key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }}
- name: Cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Installing dependencies
run: yarn install --frozen-lockfile --link-duplicates
run: yarn install --frozen-lockfile
- name: Build ${{ github.event.client_payload.version }}
run: yarn build
......
......@@ -10,14 +10,16 @@
/package-lock.json
*.pyc
renovate-0.0.0-semantic-release.tgz
/e2e/node_modules
/test/e2e/node_modules
.eslintcache
junit.xml
/test-results
renovate-schema.json
**/gradle-wrapper/__fixtures__/**/.gradle
.clinic/
# generated code
**/*.generated.ts
tools/dist
test/datasource/nuget/_fixtures/obj
save-exact = true
......@@ -12,6 +12,7 @@ package.json
**/__fixtures__/
**/__mocks__/
bin/yarn*
.clinic/
# generated code
**/*.generated.ts
......