Skip to content

Conversation

@piotr-roslaniec
Copy link
Contributor

Related Issues

Summary

  • Manifest v1 is now deprecated
  • The new currently supported and enforced Manifest version is 2
  • Manifests with other versions will fail validation from now on

Required Reviews

Minimum number of reviews before merge: 1

@piotr-roslaniec piotr-roslaniec marked this pull request as ready for review March 13, 2025 07:53
Copy link
Contributor

@Autoparallel Autoparallel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

// /// Description of the manifest
// pub description: String,
/// Manifest version
pub manifest_version: String,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth having this be "typed" in any way?

probably not, i'm sure a String is just fine.

let mut summary = ManifestValidationResult::default();

// Validate manifest version
if self.manifest_version != "2" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@0xJepsen 0xJepsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done

@0xJepsen 0xJepsen merged commit aff2be4 into main Mar 13, 2025
18 checks passed
@0xJepsen 0xJepsen deleted the feat/enforce-manifest-version branch March 13, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants