feat: add license check#527
feat: add license check#527vitaliy-guliy merged 2 commits intoche-incubator:mainfrom olexii4:CHE-23363
Conversation
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
|
Honestly, I do not have the whole picture of what this PR does. Could we instead of adding all those files, add only one GitHub action, that will be triggered by pushing to the main branch (or pull request)? The action should not block anything and its successful execution may be represented as a badge in the README file. |
@vitaliy-guliy We have some information here che-incubator/dash-licenses: ... docker run --rm -t \
-v ${PWD}/:/workspace/project \
quay.io/che-incubator/dash-licenses:nextAs a result, this command creates the next files:
Check dependencies docker run --rm -t \
-v ${PWD}/:/workspace/project \
quay.io/che-incubator/dash-licenses:next --checkSo, this command doesn't create any new files in the project directory (except a temporary one) but checks if the dependencies info is up-to-date and then validates all found dependencies. It returns a non-zero exit code if any of the dependencies are restricted to use. Files Production dependencies
You can click a link with CQ and the next page will be opened |
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
1 similar comment
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
RomanNikitenko
left a comment
There was a problem hiding this comment.
@olexii4
I propose to add section that describes license check functionality to the readme file
you could take this comment as a basis #527 (comment)
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
1 similar comment
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
@RomanNikitenko I have fixed it: |
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
2 similar comments
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
|
@olexii4 |
|
@olexii4 |
|
My first attempt of launching I created a workspace from https://github.com/olexii4/che-code/tree/CHE-23363 and installed node dependencies. Then I added |
Signed-off-by: Oleksii Orel <oorel@redhat.com>
@vitaliy-guliy I updated the thread. Please try again. |
@vitaliy-guliy Why should I do it in this PR? It is a separate issue that doesn't depend on my changes. |
Ok, let's skip them as the changes are not related to this PR. |
|
@vitaliy-guliy FYI: che-incubator/dash-licenses#26 was merged. |
|
Let's merge this PR as it is. |
Signed-off-by: Oleksii Orel <oorel@redhat.com>
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-527-amd64 |
|
@olexii4 thanks for the contribution! |
|
Build 3.22 :: code_3.x/1597: Console, Changes, Git Data |
|
Build 3.22 :: sync-to-downstream_3.x/9332: Console, Changes, Git Data |
|
Build 3.22 :: push-latest-container-to-quay_3.x/5176: Console, Changes, Git Data |
|
Build 3.22 :: get-sources-rhpkg-container-build_3.x/9480: code : 3.x :: Build 67663476 : quay.io/devspaces/code-rhel9:3.22-5 |
|
Build 3.22 :: update-digests_3.x/9233: Console, Changes, Git Data |
|
Build 3.22 :: code_3.x/1597: Upstream sync done; /DS_CI/sync-to-downstream_3.x/9332 triggered |
|
Build 3.22 :: operator-bundle_3.x/4909: Console, Changes, Git Data |
|
Build 3.22 :: sync-to-downstream_3.x/9333: Console, Changes, Git Data |
|
Build 3.22 :: push-latest-container-to-quay_3.x/5177: Console, Changes, Git Data |
|
Build 3.22 :: copyIIBsToQuay/2999: Console, Changes, Git Data |
|
Build 3.22 :: sync-to-downstream_3.x/9333: Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/9481 triggered; /job/DS_CI/job/dsc_3.x triggered; |
|
Build 3.22 :: operator-bundle_3.x/4909: Upstream sync done; /DS_CI/sync-to-downstream_3.x/9333 triggered |
|
Build 3.22 :: dsc_3.x/2054: Console, Changes, Git Data |
|
Build 3.22 :: update-digests_3.x/9233: Detected new images: rebuild operator-bundle |
|
Build 3.22 :: dsc_3.x/2054: 3.22.0-CI |






What does this PR do?
Add license check.
What issues does this PR fix?
fixes eclipse-che/che#23363
How to test this PR?
Does this PR contain changes that override default upstream Code-OSS behavior?
git rebasewere added to the .rebase folder