Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update the read_manifest helper#25

Merged
artob merged 2 commits into
masterfrom
samuel/manifest-helper
Jul 31, 2025
Merged

Update the read_manifest helper#25
artob merged 2 commits into
masterfrom
samuel/manifest-helper

Conversation

@SamuelSarle
Copy link
Copy Markdown
Member

Updates the read_manifest helper to match the new asimov_installer implementation.

The helper is/may be used by:

  1. modules to read their own manifest and/or config
  2. currently asimov-cli but I'm updating that

@race-of-sloths

@race-of-sloths
Copy link
Copy Markdown

race-of-sloths commented Jul 31, 2025

@SamuelSarle Thank you for your contribution! Your pull request is now a part of the Race of Sloths!

Shows inviting banner with latest news.

Shows profile picture for the author of the PR

Current status: executed
Reviewer Score
@race-of-sloths 2

Your contribution is much appreciated with a final score of 2!
You have received 22 (20 base + 10% lifetime bonus) Sloth points for this contribution

We would appreciate your feedback or contribution idea that you can submit here

What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow

For contributors:

  • Tag @race-of-sloths inside your pull requests
  • Wait for the maintainer to review and score your pull request
  • Check out your position in the Leaderboard
  • Keep weekly and monthly streaks to reach higher positions
  • Boast your contributions with a dynamic picture of your Profile

For maintainers:

  • Score pull requests that participate in the Race of Sloths and receive a reward
  • Engage contributors with fair scoring and fast responses so they keep their streaks
  • Promote the Race to the point where the Race starts promoting you
  • Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands
  • For contributors
    • Include a PR: @race-of-sloths include to enter the Race with your PR
  • For maintainers:
    • Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
    • Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
    • Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
    • Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@artob artob requested a review from Copilot July 31, 2025 15:12
@artob artob added the enhancement New feature or request label Jul 31, 2025
@artob artob moved this to In review in ASIMOV Platform 25 Jul 31, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the read_manifest helper function to search for module manifests in multiple locations and formats to maintain backward compatibility while supporting a new JSON-based installation format.

Key changes:

  • Replaces single-path manifest reading with multi-path search strategy
  • Adds support for both JSON and YAML manifest formats
  • Implements fallback logic for legacy manifest locations

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
lib/asimov-snapshot/src/snapshot.rs Removes unused import of asimov_root function
lib/asimov-module/src/models/module_manifest.rs Updates read_manifest to search multiple paths and support JSON/YAML formats

Comment thread lib/asimov-module/src/models/module_manifest.rs
Comment thread lib/asimov-module/src/models/module_manifest.rs
@artob artob merged commit 8a7190e into master Jul 31, 2025
5 checks passed
@artob artob deleted the samuel/manifest-helper branch July 31, 2025 15:30
@github-project-automation github-project-automation Bot moved this from In review to Done in ASIMOV Platform 25 Jul 31, 2025
@artob artob changed the title Update read_manifest helper Update the read_manifest helper Jul 31, 2025
@race-of-sloths
Copy link
Copy Markdown

🥁 Score it!

@artob, please score the PR with @race-of-sloths score [1/2/3/5/8/13]. The contributor deserves it.
If no scoring is provided within 24 hours, this PR will be scored as 2 🦥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants