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

Conan Implementation along with SEPP Integration v6.0.0 #111

Merged
merged 68 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from 66 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
aac72a7
Code For Conan Package Downloader
Oct 30, 2023
4160a09
conan commit
Oct 30, 2023
079c14b
Exception Handling
Oct 30, 2023
fad30ea
Conan Package Downloader
Oct 31, 2023
e418cf9
Artifactory Uploader changes for CONAN package
NihalBarick13 Nov 3, 2023
71d36ea
Unit Test update for Conan
NihalBarick13 Nov 7, 2023
e79083a
SonarQube code issue fixed - Code complexity for Artifactory Uploader
NihalBarick13 Nov 7, 2023
872aba4
Code review Fixes
Nov 9, 2023
dab9949
Merge branch 'conanpackageDownloader' of https://github.com/siemens/c…
Nov 9, 2023
c087efd
Fixing 3 sonar code smells and 1 sonar bug
adityanarayanp Nov 9, 2023
fd4b61e
fixing an instance error in NugetDevDependencyParser and the check fo…
adityanarayanp Nov 9, 2023
3027e4e
Merge remote-tracking branch 'origin/development' into conanpackageDo…
Nov 10, 2023
06567eb
COde CHanges
Nov 10, 2023
35eba3b
Integration test cases
Nov 17, 2023
1f0620c
removed token from settings
Nov 17, 2023
e111853
Merge pull request #103 from siemens/sonar_fixes
karthika-g Nov 21, 2023
6b35321
Integration Test changes
NihalBarick13 Nov 21, 2023
7597745
Error handling
NihalBarick13 Nov 21, 2023
9b594dc
Code Review
Nov 27, 2023
d8b7f7e
Merge branch 'conanpackageDownloader' of https://github.com/siemens/c…
Nov 27, 2023
6e9a359
Changes
Nov 27, 2023
54dce67
reioced
Nov 27, 2023
1177c46
Unit Test fix for artifactory uploader
NihalBarick13 Nov 28, 2023
f230000
UT failure fix
karthika-g Nov 28, 2023
af9cf22
Merge branch 'development' into conanpackageDownloader
karthika-g Nov 28, 2023
8ac21c1
Merge pull request #102 from siemens/conanpackageDownloader
karthika-g Nov 28, 2023
8033e40
Update CA_UsageDocument.md
karthika-g Nov 29, 2023
a3e1002
Adding SEPP features to the Antifactory uploader (#106)
adityanarayanp Dec 5, 2023
e869adc
Merge branch 'main' into development
karthika-g Dec 6, 2023
46206c5
Pulled changes from main
karthika-g Dec 6, 2023
a7062fd
Updating the IT and UT test cases
adityanarayanp Dec 6, 2023
5b5ed96
fixing the unit tests from NPM to Conan
adityanarayanp Dec 6, 2023
793273b
enabling tests in the git actions workflow
adityanarayanp Dec 6, 2023
df6f9f6
getting the specific version of the release URL for nuget IT
adityanarayanp Dec 6, 2023
e28a290
downgrading Microsoft.Build to fix Could not load file or assembly 'S…
adityanarayanp Dec 6, 2023
21cab99
making the method private
adityanarayanp Dec 6, 2023
a3b0af4
sonar qube fixes
adityanarayanp Dec 6, 2023
0eb259e
sonar qube fixes
adityanarayanp Dec 7, 2023
1dc3261
sonar qube fixes
adityanarayanp Dec 7, 2023
3438847
sonar qube fix
adityanarayanp Dec 7, 2023
958befc
syntax error
adityanarayanp Dec 7, 2023
1a00676
Adding ExcludeFromCodeCoverage to model
adityanarayanp Dec 8, 2023
c304a11
Adding a setting for DevDep repo name
adityanarayanp Dec 8, 2023
7fe0da3
copying development packages instead of moving them
adityanarayanp Dec 8, 2023
1ed06ed
not actioning the package if the source repo is already siparty-relea…
adityanarayanp Dec 8, 2023
721500b
Updating the app settings
adityanarayanp Dec 11, 2023
c84921a
updating the readMe
adityanarayanp Dec 11, 2023
8a84290
updating the readMe
adityanarayanp Dec 11, 2023
e3dd959
Update ReadMe
adityanarayanp Dec 12, 2023
dbccae1
updated readMe
adityanarayanp Dec 12, 2023
59144f9
Update README.md
karthika-g Dec 12, 2023
cd86bc5
Enabled test cases
MadanReddyK Dec 12, 2023
8604aa4
removing the test mode run for the Conan component creator.
adityanarayanp Dec 13, 2023
75f0644
removing the test mode for the conan IT test
adityanarayanp Dec 13, 2023
acd79a8
removing the log parameter from the artifactory IT test cases
adityanarayanp Dec 13, 2023
5e8c7fe
Updating the test case
adityanarayanp Dec 13, 2023
355b667
updating the conan lock to just have a one component
adityanarayanp Dec 13, 2023
6c67c28
updating the version in the appSettings file
adityanarayanp Dec 13, 2023
a252d86
fixing IT for nuget
adityanarayanp Dec 14, 2023
3de54cd
devOptional Chnages for NPM packages
Dec 19, 2023
73e0d77
Update Dockerfile
sumanthkb44 Dec 21, 2023
498a20c
Merge pull request #108 from siemens/release/sepp-intergration
karthika-g Jan 2, 2024
cb6af98
Setting version to 6.0.0 in the required files after get pull from main
Jan 5, 2024
f89cae5
Fossology Url Removal issue
Jan 5, 2024
0954eaf
Update NpmProcessor.cs
sumanthkb44 Jan 9, 2024
2f415f0
ReadmeOSS updation
karthika-g Jan 10, 2024
63134de
Error message correction and Formatting CLI
karthika-g Jan 11, 2024
f3731b5
Review comments
karthika-g Jan 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "continuous-clearing"
New-Item -ItemType Directory -Force -Path $outFolder
$fileName = "continuous-clearing-5.1.1.zip"
$fileName = "continuous-clearing-6.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
Expand All @@ -115,7 +115,7 @@ jobs:
DOCKERDEVARTIFACTORY: ${{ secrets.DOCKERDEVARTIFACTORY }}

- name: Test
if: ${{ false }} # disable for now
#if: ${{ false }} # disable for now
run: |
$TestProjects = Get-ChildItem -Path *test*.csproj -Recurse -exclude TestUtilities.csproj,UnitTestUtilities.csproj
Write-Host "**************************The test projects considered for execution: $TestProjects ******************************"
Expand All @@ -138,8 +138,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
nuget pack CA.nuspec -Version 5.1.1
Write-Host "::set-output name=nupkg-LicenseClearingTool::continuous-clearing.5.1.1.nupkg"
nuget pack CA.nuspec -Version 6.0.0
Write-Host "::set-output name=nupkg-LicenseClearingTool::continuous-clearing.6.0.0.nupkg"

- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
Expand All @@ -152,9 +152,9 @@ jobs:
id: builddocker
#if: ${{ false }} # disable for now
run: |
docker build . --file Dockerfile --tag ${{ github.repository }}:continuous-clearing-v5.1.1
docker save ${{ github.repository }}:continuous-clearing-v5.1.1 -o continuous-clearing-v5.1.1.tar
Write-Host "::set-output name=docker-LicenseClearingTool::continuous-clearing-v5.1.1.tar"
docker build . --file Dockerfile --tag ${{ github.repository }}:continuous-clearing-v6.0.0
docker save ${{ github.repository }}:continuous-clearing-v6.0.0 -o continuous-clearing-v6.0.0.tar
Write-Host "::set-output name=docker-LicenseClearingTool::continuous-clearing-v6.0.0.tar"

- name: Archive docker image
#if: ${{ false }} # disable for now
Expand Down Expand Up @@ -195,9 +195,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v5.1.1
tag_name: v6.0.0
#tag_name: ${{ needs.build.outputs.semver }}
release_name: Release v5.1.1
release_name: Release v6.0.0
body: |
${{ github.event.head_commit.message }}
draft: true
Expand Down
3 changes: 2 additions & 1 deletion CA.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<package >
<metadata>
<id>continuous-clearing</id>
<version>5.1.1</version>
<version>6.0.0</version>
<authors>Siemens AG</authors>
<owners>continuous-clearing contributors</owners>
<projectUrl>https://github.com/siemens/continuous-clearing</projectUrl>
Expand Down Expand Up @@ -123,6 +123,7 @@
<file src="out\net6.0\NuGet.Versioning.dll" target="tools"/>
<file src="out\net6.0\NuGet.Resolver.dll" target="tools"/>
<file src="out\net6.0\Tommy.dll" target="tools"/>
<file src="out\net6.0\YamlDotNet.dll" target="tools"/>
<file src="out\net6.0\runtimes\linux-arm\native\libpsl-native.so" target="tools\runtimes\linux-arm\native"/>
<file src="out\net6.0\runtimes\linux-arm64\native\libpsl-native.so" target="tools\runtimes\linux-arm64\native"/>
<file src="out\net6.0\runtimes\linux-musl-x64\native\libpsl-native.so" target="tools\runtimes\linux-musl-x64\native"/>
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN apt-get update && \
ENV PATH="/root/.local/bin:$PATH"

# Copying files from host to current working directory
COPY /out/net6.0 /app/out
COPY /out/net6.0 /app/out
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
![Publish NuGet Packages](https://github.com/siemens/continuous-clearing/workflows/Publish%20NuGet%20Packages/badge.svg)



# Introduction

The Continuous Clearing Tool scans and collects the 3rd party OSS components used in a NPM/NuGet/Maven/Python/Debian and uploads it to SW360 and Fossology by accepting respective project ID for license clearing.
Expand Down
320,583 changes: 57,731 additions & 262,852 deletions ReadmeOSS_continuous-clearing_DockerImage.html

Large diffs are not rendered by default.

4,318 changes: 2,590 additions & 1,728 deletions ReadmeOSS_continuous-clearing_nupkg.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"BomFormat": "CycloneDX",
"SpecVersion": 4,
"SpecVersionString": "1.4",
"SerialNumber": null,
"Version": null,
"Metadata": {
"Tools": [
{
"Vendor": "Siemens AG",
"Name": "Clearing Automation Tool",
"Version": "5.0.0",
"Hashes": null
}
],
"Authors": null,
"Component": null,
"Manufacture": null,
"Supplier": null
},
"Components": [
{
"Type": 0,
"MimeType": null,
"BomRef": "pkg:conan/protobuf@3.21.9",
"Supplier": null,
"Author": null,
"Publisher": null,
"Group": null,
"Name": "protobuf",
"Version": "3.21.9",
"Description": "",
"Scope": null,
"Hashes": null,
"Licenses": null,
"Copyright": null,
"Cpe": null,
"Purl": "pkg:conan/protobuf@3.21.9",
"Swid": null,
"Modified": null,
"Pedigree": null,
"Components": null,
"Properties": [
{
"Name": "internal:siemens:clearing:development",
"Value": "false"
},
{
"Name": "internal:siemens:clearing:identifier-type",
"Value": "Discovered"
},
{
"Name": "internal:siemens:clearing:is-internal",
"Value": "true"
},
{
"Name": "internal:siemens:clearing:repo-name",
"Value": "energy-dev-conan-egll"
},
{
"Name": "internal:siemens:clearing:project-type",
"Value": "CONAN"
},
{
"Name": "internal:siemens:clearing:sw360:release-url",
"Value": "http://md2pdvnc.ad001.siemens.net:8095/resource/api/releases/e13e0e564b004ef4adabbd01bf0b93ce"
},
{
"Name": "internal:siemens:clearing:fossology:url",
"Value": null
}
],
"Evidence": null
},
{
"Type": 0,
"MimeType": null,
"BomRef": "pkg:conan/zlib@1.2.11",
"Supplier": null,
"Author": null,
"Publisher": null,
"Group": null,
"Name": "zlib",
"Version": "1.2.11",
"Description": "",
"Scope": null,
"Hashes": null,
"Licenses": null,
"Copyright": null,
"Cpe": null,
"Purl": "pkg:conan/zlib@1.2.11",
"Swid": null,
"Modified": null,
"Pedigree": null,
"Components": null,
"Properties": [
{
"Name": "internal:siemens:clearing:development",
"Value": "false"
},
{
"Name": "internal:siemens:clearing:identifier-type",
"Value": "Discovered"
},
{
"Name": "internal:siemens:clearing:is-internal",
"Value": "false"
},
{
"Name": "internal:siemens:clearing:repo-name",
"Value": "Not Found in JFrogRepo"
},
{
"Name": "internal:siemens:clearing:project-type",
"Value": "CONAN"
},
{
"Name": "internal:siemens:clearing:clearing-state",
"Value": "NEW_CLEARING"
},
{
"Name": "internal:siemens:clearing:sw360:release-url",
"Value": "http://md2pdvnc.ad001.siemens.net:8095/resource/api/releases/701403e53f254fc5a074e24fd867be2c"
},
{
"Name": "internal:siemens:clearing:fossology:url",
"Value": null
}
],
"Evidence": null
}
],
"Dependencies": [
{
"Ref": "pkg:conan/protobuf@3.21.9",
"Dependencies": [
{
"Ref": "pkg:conan/zlib@1.2.11",
"Dependencies": null
}
]
}
],
"Compositions": null
}
Loading
Loading