Skip to content

Commit 34028b5

Browse files
IlonaShishovritz303agunn303
authored
feat: gradle support (#708)
* chore: add new settings for python and go ecosystems Signed-off-by: Ilona Shishov <[email protected]> * chore: track redhat version recommendation acceptance for telemetry Signed-off-by: Ilona Shishov <[email protected]> * fix: cache file path for showVulnerabilityFoundPrompt Signed-off-by: Ilona Shishov <[email protected]> * 4/5/24 - ritz303 : Updates to the README and CHANGELOG for upcoming release (#699) Co-authored-by: Aron Gunn <[email protected]> * feat: added Dockerfile support Signed-off-by: Ilona Shishov <[email protected]> * test: update unit tests Signed-off-by: Ilona Shishov <[email protected]> * chore: dynamically construct path to Java API Adapter jar file Signed-off-by: Ilona Shishov <[email protected]> * docs: add and update type doc annotations Signed-off-by: Ilona Shishov <[email protected]> * chore: added Containerfile support Signed-off-by: Ilona Shishov <[email protected]> * docs: updated setting descriptions Signed-off-by: Ilona Shishov <[email protected]> * chore: remove redundant image scanning settings Signed-off-by: Ilona Shishov <[email protected]> * ci: upgrade github actions Signed-off-by: Ilona Shishov <[email protected]> * docs: Updates to docs for Docker scanning (#704) * 4/16/24 - ritz303 : Updates for Docker scanning * 4/22/24 - ritz303 : Added a prerequisite to quick start --------- Co-authored-by: Aron Gunn <[email protected]> * feat: added Gradle support Signed-off-by: Ilona Shishov <[email protected]> * chore: added CA quickfix option telemetry event Signed-off-by: Ilona Shishov <[email protected]> * chore: update LSP server version Signed-off-by: Ilona Shishov <[email protected]> * test: update unit tests Signed-off-by: Ilona Shishov <[email protected]> * chore: added Gradle executable path setting Signed-off-by: Ilona Shishov <[email protected]> * chore: update Javascript API version Signed-off-by: Ilona Shishov <[email protected]> * 5/3/24 - ritz303 : Updates to the readme and changelog for Gradle feature (#709) Co-authored-by: Aron Gunn <[email protected]> * chore: update Javascript API version Signed-off-by: Ilona Shishov <[email protected]> * fix: version detection when using arguments in gradle Signed-off-by: Ilona Shishov <[email protected]> * chore: bump telemetry to 0.8.0 Signed-off-by: Ilona Shishov <[email protected]> * docs: Updated the README and CONTRIBUTING docs (#716) * 5/28/24 - ritz303 : Updated the README and CONTRIBUTING docs * 5/29/24 - ritz303 : Edits from SME review * 5/29/24 - ritz303 : Updated the important note --------- Co-authored-by: Aron Gunn <[email protected]> * chore: upgrade package versions for JS API, mocha and nyc Signed-off-by: Ilona Shishov <[email protected]> * chore: update Javascript API version Signed-off-by: Ilona Shishov <[email protected]> * chore: update Javascript API version Signed-off-by: Ilona Shishov <[email protected]> * docs: Added a KI to README, plus a few minor edits (#724) * 7/23/24 - ritz303 : Added a KI to README, plus a few minor edits * 7/29/24 - ritz303 : Removed a KI entry --------- Co-authored-by: Aron Gunn <[email protected]> * doc: remove outdated entries Signed-off-by: Ilona Shishov <[email protected]> --------- Signed-off-by: Ilona Shishov <[email protected]> Co-authored-by: ritz303 <[email protected]> Co-authored-by: Aron Gunn <[email protected]>
1 parent ca4be57 commit 34028b5

28 files changed

+2468
-1771
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: CI
23

34
on:
@@ -18,14 +19,14 @@ jobs:
1819

1920
steps:
2021
- name: Checkout repository
21-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2223
with:
2324
ssh-key: ${{ secrets.DEPLOY_KEY }}
2425

2526
- name: Setup Node.js
26-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2728
with:
28-
node-version: 18
29+
node-version: 20
2930
registry-url: 'https://npm.pkg.github.com'
3031
env:
3132
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -56,12 +57,12 @@ jobs:
5657
run: npm test
5758

5859
- name: Upload coverage to Codecov
59-
uses: codecov/codecov-action@v3
60+
uses: codecov/codecov-action@v4
6061
with:
6162
token: ${{ secrets.CODECOV_TOKEN }}
6263

6364
- name: Upload build artifacts
64-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6566
with:
6667
name: Extension Build For PR ${{ github.event.pull_request.number }}
6768
path: ./*.vsix

.github/workflows/stage.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
ssh-key: ${{ secrets.DEPLOY_KEY }}
2424

2525
- name: Setup Node.js
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
28-
node-version: 18
28+
node-version: 20
2929
registry-url: 'https://npm.pkg.github.com'
3030
env:
3131
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -48,7 +48,7 @@ jobs:
4848
run: vsce package --out fabric8-analytics-early-access.vsix
4949

5050
- name: Upload vsix package as artifact
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5252
with:
5353
name: vsix
5454
path: ./fabric8-analytics-early-access.vsix
@@ -62,7 +62,7 @@ jobs:
6262

6363
steps:
6464
- name: Checkout sources
65-
uses: actions/checkout@v3
65+
uses: actions/checkout@v4
6666
with:
6767
ssh-key: ${{ secrets.DEPLOY_KEY }}
6868

@@ -126,7 +126,7 @@ jobs:
126126
fi
127127
128128
- name: Download vsix package artifact
129-
uses: actions/download-artifact@v3
129+
uses: actions/download-artifact@v4
130130
with:
131131
name: vsix
132132
path: ./vsix
@@ -146,7 +146,7 @@ jobs:
146146
147147
- name: Create a release
148148
id: new_release
149-
uses: actions/github-script@v6.4.1
149+
uses: actions/github-script@v7
150150
with:
151151
github-token: ${{ secrets.GITHUB_TOKEN }}
152152
script: |

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# Change Log
2+
## 0.9.5 (?)
3+
- enhancement - Added support for vulnerability analysis for Gradle build manifests.
4+
- enhancement - Added support for vulnerability analysis on images in Dockerfiles.
5+
- enhancement - Added new settings for the Python and Go ecosystems.
6+
- enhancement - Added support for private GitHub Registries.
7+
- fixes - Fixed an issue by removing a redundant `/` at the beginning of Windows URI paths that was causing some `mvn` commands to fail. See [PR#692](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/692) for details.
8+
- fixes - Fixed an issue with the Stack Analysis running on an open file, instead of running on an opened manifest file. See [PR#692](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/692) for details.
9+
- known issue - You can get an error by using the `Use Pip Dep Tree` and `Use Python Virtual Environment` options simultaneously. See the [Known Issues section](README.md#known-issues) of the README for more information.
10+
- known issue - Red Hat Dependency Analytics has limitations for Maven and Gradle. See the [Known Issues section](README.md#known-issues) of the README for more information.
11+
- informational - Added a telemetry event to track Red Hat's recommended version acceptance.
212
## 0.9.4 (Mar 25th 2024)
313
- informational - Removing access to Snyk's Vulnerability Database.
414
## 0.9.3 (Mar 6th 2024)
515
- enhancement - Red Hat Dependency Analytics reporting has integrated the ONGuard service by using [Open Source Vulnerability (OSV)](https://google.github.io/osv.dev/) and the [National Vulnerability Database (NVD)](https://nvd.nist.gov/) data sources for additional vulnerability information.
6-
- enhancement - Integrated VS Code's [Secret Storage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage) feature for securing the Snyk token. See [PR689](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/689) for details.
7-
- fixes - Fixed an issue with displaying wrong data when the event handler for Component Analysis was triggered on a unsaved manifest file. Component Analysis is no longer triggered on unsaved manifest files. See [PR#239](https://github.com/fabric8-analytics/fabric8-analytics-lsp-server/pull/239) for details.
16+
- enhancement - Integrated VS Code's [Secret Storage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage) feature for securing the Snyk token. See [PR#689](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/689) for details.
17+
- fixes - Fixed an issue with displaying wrong data when triggering the event handler for Component Analysis on a unsaved manifest file. Component Analysis is no longer triggered on unsaved manifest files. See [PR#239](https://github.com/fabric8-analytics/fabric8-analytics-lsp-server/pull/239) for details.
818
- fixes - Fixed an issue where the diagnostic source name is being obscured in the View Problem panel from an inline analysis. See [PR#239](https://github.com/fabric8-analytics/fabric8-analytics-lsp-server/pull/239) for details.
919
- informational - The naming convention for VS Code commands has changed from `fabric8` to `rhda`. For example, `fabric8.stackAnalysis` is now `rhda.stackAnalysis`.
1020
## 0.9.2 (Feb 5th 2024)

CONTRIBUTING.md

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,9 @@
1-
# How to contribute
1+
# How to give feedback and contribute
22

3-
Contributions are essential for keeping this extension great.
4-
We try to keep it as easy as possible to contribute changes and we are
5-
open to suggestions for making it even easier.
6-
There are only a few guidelines that we need contributors to follow.
3+
## Feedback
4+
<br >Your feedback is essential for keeping this extension great.
75

8-
## First Time Setup
9-
1. Install prerequisites:
10-
* latest [Visual Studio Code](https://code.visualstudio.com/)
11-
* [Node.js](https://nodejs.org/) v4.0.0 or higher
12-
2. Fork and clone the repository
13-
3. `cd fabric8-analytics-vscode-extension`
14-
4. Install the dependencies:
6+
If you have any questions or run into any problems, open an [issue](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/issues), and we will be happy to help however we can.
157

16-
```bash
17-
$ npm install
18-
```
19-
5. Open the folder in VS Code
20-
21-
## Run the extension locally
22-
23-
1. Install `vsce` - A command line tool you'll use to publish extensions to the Extension Marketplace.
24-
```bash
25-
$ npm install -g [email protected]
26-
```
27-
2. From root folder, run the below command.
28-
```bash
29-
$ vsce package
30-
```
31-
3. `fabric8-analytics-<version>.vsix` file is created. Install it by following the instructions [here](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix).
32-
33-
> If you have any questions or run into any problems, please post an issue - we'll be very happy to help.
8+
## Contributing
9+
<br >At this time, we are not opening up this project to external contributions.

0 commit comments

Comments
 (0)