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

Update SPDX spec links to current #765

Merged
merged 3 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion samples/About this sample.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The [manifest.spdx.json](manifest.spdx.json) linked in this folder is the SBOM for the sbom-tool itself. It was generated using the sbom-tool, and is distributed along with every release.

The SBOM is compatible with the SPDX 2.2 format, more information about SPDX 2.2 format can be found [here](https://spdx.github.io/spdx-spec/introduction/).
The SBOM is compatible with the SPDX 2.2 format, more information about SPDX 2.2 format can be found [here](https://spdx.github.io/spdx-spec/v2.2.2/introduction/).
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.Sbom.Extensions.Entities;
/// target element.
/// </summary>
/// <remarks>
/// See https://spdx.github.io/spdx-spec/relationships-between-SPDX-elements/.
/// See https://spdx.github.io/spdx-spec/v2.2.2/relationships-between-SPDX-elements/.
/// </remarks>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum RelationshipType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Sbom.Parsers.Spdx22SbomParser.Entities.Enums;

/// <summary>
/// Type of the external reference. These are defined in an appendix in the SPDX specification.
/// https://spdx.github.io/spdx-spec/appendix-VI-external-repository-identifiers/.
/// https://spdx.github.io/spdx-spec/v2.2.2/external-repository-identifiers/.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
[SuppressMessage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Microsoft.Sbom.Parsers.Spdx22SbomParser.Entities.Enums;

/// <summary>
/// This field provides information about the type of file identified.
/// Full definition here: https://spdx.github.io/spdx-spec/file-information/#83-file-type-field.
/// Full definition here: https://spdx.github.io/spdx-spec/v2.2.2/file-information/#83-file-type-field.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum SPDXFileType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Sbom.Parsers.Spdx22SbomParser.Entities.Enums;
/// Defines the type of <see cref="SPDXRelationship"/> between the source and the
/// target element.
///
/// Full definition here: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/#71-relationship.
/// Full definition here: https://spdx.github.io/spdx-spec/v2.2.2/relationships-between-SPDX-elements/.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum SPDXRelationshipType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ExternalReference

/// <summary>
/// Gets or sets type of the external reference. These are defined in an appendix in the SPDX specification.
/// https://spdx.github.io/spdx-spec/appendix-VI-external-repository-identifiers/.
/// https://spdx.github.io/spdx-spec/v2.2.2/external-repository-identifiers/.
/// </summary>
[JsonPropertyName("referenceType")]
public string Type { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static string GetPackageName(this IInternalMetadataProvider internalMetad
/// <summary>
/// Generates the package verification code for a given package using the SPDX 2.2 specification.
///
/// Algorithm defined here https://spdx.github.io/spdx-spec/3-package-information/#39-package-verification-code.
/// Algorithm defined here https://spdx.github.io/spdx-spec/v2.2.2/package-information/.
/// </summary>
/// <param name="internalMetadataProvider"></param>
/// <returns></returns>
Expand Down