Skip to content

Commit

Permalink
Update links (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
tevoinea authored Nov 19, 2021
1 parent 2c6ad00 commit b1507a4
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/new_detector_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Please complete this new detector checklist -->
#### New Detector Checklist

- [ ] I have gone through the docs for creating a new detector [here](https://github.com/microsoft/componentdetection-bcde/blob/main/docs/creating-a-new-detector.md)
- [ ] I have gone through the docs for creating a new detector [here](https://github.com/microsoft/component-detection/blob/main/docs/creating-a-new-detector.md)
- [ ] My new detector implements `IDefaultOffComponentDetector`
- [ ] I have created a PR to the [verification repo](https://github.com/microsoft/componentdetection-verification) with components that my new detector can find
- [ ] (If necessary) I have updated the [Feature Overview](https://github.com/microsoft/componentdetection-bcde/blob/main/README.md#feature-overview) table in the README
- [ ] (If necessary) I have updated the [Feature Overview](https://github.com/microsoft/component-detection/blob/main/README.md#feature-overview) table in the README
8 changes: 4 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<Copyright>Copyright © Microsoft Corporation. All rights reserved.</Copyright>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/microsoft/componentdetection-bcde</PackageProjectUrl>
<RepositoryUrl>https://github.com/microsoft/componentdetection-bcde.git</RepositoryUrl>
<PackageProjectUrl>https://github.com/microsoft/component-detection</PackageProjectUrl>
<RepositoryUrl>https://github.com/microsoft/component-detection.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>https://github.com/microsoft/componentdetection-bcde/releases</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/microsoft/component-detection/releases</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup Label="Package References">
Expand All @@ -37,4 +37,4 @@
<ItemGroup Label="Package References">
<PackageReference Include="MinVer" PrivateAssets="all"/>
</ItemGroup>
</Project>
</Project>
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@

# Component Detection
![Component Detection CI](https://github.com/microsoft/componentdetection-bcde/workflows/Component%20Detection%20CI/badge.svg)
![Component Detection CI](https://github.com/microsoft/component-detection/workflows/Component%20Detection%20CI/badge.svg)

**For bugs, issues, and support please create an issue.**

# Introduction

ComponentDetection (BCDE) is a package scanning tool intended to be used at build time. BCDE produces a graph-based output of all detected components and supports a variety of open source package ecosystems.
ComponentDetection is a package scanning tool intended to be used at build time. CD produces a graph-based output of all detected components and supports a variety of open source package ecosystems.

# Table of Contents

* [Feature Overview](#Feature-Overview)
* [My favorite language/ecosystem isn't supported!](#My-favorite-language/ecosystem-isn't-supported!)
* [Building and running BCDE](#Building-and-running-BCDE)
* [Building and running Component Detection](#Building-and-running-Component-Detection)
* [Running in Visual Studio (2019+)](#Running-in-Visual-Studio-(2019+))
* [Running from command line](#Running-from-command-line)
* [After building](#After-building)
Expand All @@ -38,10 +38,10 @@ For a complete feature overview refer to [feature-overview.md](docs/feature-over

# My favorite language/ecosystem isn't supported!

BCDE is built with extensibility in mind! Please see our [CONTRIBUTING.md](CONTRIBUTING.md) to get started where you can find additional docs on adding your own detector.
Component Detection is built with extensibility in mind! Please see our [CONTRIBUTING.md](CONTRIBUTING.md) to get started where you can find additional docs on adding your own detector.


# Building and running BCDE
# Building and running Component Detection
DotNet Core SDK 6.0.0-rc2 is currently in use, you can install it from https://dotnet.microsoft.com/download/dotnet/6.0
We also use node and npm, you can install them from https://nodejs.org/en/download/

Expand All @@ -59,14 +59,14 @@ From the base folder:

## Using Codespaces

If you have access to [GitHub Codespaces](https://docs.github.com/en/free-pro-team@latest/github/developing-online-with-codespaces/about-codespaces), select the `Code` button from the [repository homepage](https://github.com/microsoft/componentdetection-bcde) then select `Open with Codespaces`. That's it! You have a full developer environment that supports debugging, testing, auto complete, jump to definition, everything you would expect.
If you have access to [GitHub Codespaces](https://docs.github.com/en/free-pro-team@latest/github/developing-online-with-codespaces/about-codespaces), select the `Code` button from the [repository homepage](https://github.com/microsoft/component-detection) then select `Open with Codespaces`. That's it! You have a full developer environment that supports debugging, testing, auto complete, jump to definition, everything you would expect.

## Using VS Code DevContainer

This is similar to Codespaces:

1. Make sure you meet [the requirements](https://code.visualstudio.com/docs/remote/containers#_getting-started) and follow the installation steps for DevContainers in VS Code
1. `git clone https://github.com/microsoft/componentdetection-bcde`
1. `git clone https://github.com/microsoft/component-detection`
1. Open this repo in VS Code
1. A notification should popup to reopen the workspace in the container. If it doesn't, open the [`Command Palette`](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette) and type `Remote-Containers: Reopen in Container`.

Expand Down
2 changes: 1 addition & 1 deletion docs/linux-scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ There are 2 options for working on the Linux scanner:
**NOTE**: Docker + WSL2 is not a shortcut for this :( The bind mount is still not support even if it's created in WSL2. (See the Windows way to udnerstand why it's necessary)

1. [Using Hyper-V Quick Create](https://blogs.windows.com/windowsdeveloper/2018/09/17/run-ubuntu-virtual-machines-made-even-easier-with-hyper-v-quick-create/), create a Ubuntu virtual machine. Make sure you give it at least 30gb of storage, docker and the images use a lot of space.
2. Clone BCDE in your VM
2. Clone Component Detection in your VM
3. Install docker
4. Start developing!

Expand Down
12 changes: 4 additions & 8 deletions docs/renewing-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@

Almost all of our [workflows](../.github/workflows) require secrets and those secrets can be invalidated, deleted or expired so we need to know how to renew them.

The secrets in use today in the BCDE repo can be found [here](https://github.com/microsoft/componentdetection-bcde/settings/secrets):
The secrets in use today in the Component Detection repo can be found [here](https://github.com/microsoft/component-detection/settings/secrets):

* GH_PRIVATE_REPO_PAT

## Before Starting

Verify your account has sufficient permissions. You can do this by building BCDE locally. This will verify you have access to read the packages being created and read the private BCDE repo.

## Renewing GH_PRIVATE_REPO_PAT

1. Click this link: https://github.com/settings/tokens/new
1. (Optional) Name the token BCDE_GH_PRIVATE_REPO_PAT. This will make things easier to track in the future
1. (Optional) Name the token COMPONENT_DETECTION_GH_PRIVATE_REPO_PAT. This will make things easier to track in the future
1. Check the following permissions:
* Full `repo` scope
* `read:packages` scope
1. Click **Generate token**
1. Copy and paste that token into notepad once you see it because it will disappear as soon as you leave the page
1. Enable SSO for both GitHub and Microsoft organizations for the token
1. In the [BCDE secrets page](https://github.com/microsoft/componentdetection-bcde/settings/secrets) click update on **GH_PRIVATE_REPO_PAT**
1. Enable SSO for Microsoft organizations for the token
1. In the [Component Detection secrets page](https://github.com/microsoft/component-detection/settings/secrets) click update on **GH_PRIVATE_REPO_PAT**
1. Paste in your new token
1. Click **Update Secret**
Original file line number Diff line number Diff line change
Expand Up @@ -9240,11 +9240,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Source\\componentdetection-bcde\\src\\Loader\\MS.VS.Services.Governance.ComponentDetection.Loader.csproj",
"projectUniqueName": "D:\\Source\\component-detection\\src\\Loader\\MS.VS.Services.Governance.ComponentDetection.Loader.csproj",
"projectName": "Microsoft.VisualStudio.Services.Governance.ComponentDetection.Loader",
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Loader\\MS.VS.Services.Governance.ComponentDetection.Loader.csproj",
"projectPath": "D:\\Source\\component-detection\\src\\Loader\\MS.VS.Services.Governance.ComponentDetection.Loader.csproj",
"packagesPath": "C:\\Users\\brphelps\\.nuget\\packages\\",
"outputPath": "D:\\Source\\componentdetection-bcde\\src\\Loader\\obj\\",
"outputPath": "D:\\Source\\component-detection\\src\\Loader\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
Expand All @@ -9263,17 +9263,17 @@
"frameworks": {
"netcoreapp2.2": {
"projectReferences": {
"D:\\Source\\componentdetection-bcde\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj": {
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj"
"D:\\Source\\component-detection\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj": {
"projectPath": "D:\\Source\\component-detection\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj"
},
"D:\\Source\\componentdetection-bcde\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj": {
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj"
"D:\\Source\\component-detection\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj": {
"projectPath": "D:\\Source\\component-detection\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj"
},
"D:\\Source\\componentdetection-bcde\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj": {
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj"
"D:\\Source\\component-detection\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj": {
"projectPath": "D:\\Source\\component-detection\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj"
},
"D:\\Source\\componentdetection-bcde\\src\\Orchestrator\\MS.VS.Services.Governance.ComponentDetection.Orchestrator.csproj": {
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Orchestrator\\MS.VS.Services.Governance.ComponentDetection.Orchestrator.csproj",
"D:\\Source\\component-detection\\src\\Orchestrator\\MS.VS.Services.Governance.ComponentDetection.Orchestrator.csproj": {
"projectPath": "D:\\Source\\component-detection\\src\\Orchestrator\\MS.VS.Services.Governance.ComponentDetection.Orchestrator.csproj",
"privateAssets": "all"
}
}
Expand Down Expand Up @@ -9341,4 +9341,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4133,11 +4133,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Source\\componentdetection-bcde\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj",
"projectUniqueName": "D:\\Source\\component-detection\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj",
"projectName": "Microsoft.VisualStudio.Services.Governance.ComponentDetection.Detectors",
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj",
"projectPath": "D:\\Source\\component-detection\\src\\Detectors\\MS.VS.Services.Governance.ComponentDetection.Detectors.csproj",
"packagesPath": "C:\\Users\\brphelps\\.nuget\\packages\\",
"outputPath": "D:\\Source\\componentdetection-bcde\\src\\Detectors\\obj\\",
"outputPath": "D:\\Source\\component-detection\\src\\Detectors\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
Expand All @@ -4156,11 +4156,11 @@
"frameworks": {
"netcoreapp2.2": {
"projectReferences": {
"D:\\Source\\componentdetection-bcde\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj": {
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj"
"D:\\Source\\component-detection\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj": {
"projectPath": "D:\\Source\\component-detection\\src\\Common\\MS.VS.Services.Governance.ComponentDetection.Common.csproj"
},
"D:\\Source\\componentdetection-bcde\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj": {
"projectPath": "D:\\Source\\componentdetection-bcde\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj"
"D:\\Source\\component-detection\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj": {
"projectPath": "D:\\Source\\component-detection\\src\\Contracts\\MS.VS.Services.Governance.ComponentDetection.Contracts.csproj"
}
}
}
Expand Down Expand Up @@ -4291,4 +4291,4 @@
}
}
}
}
}

0 comments on commit b1507a4

Please sign in to comment.