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

feat: Add dist-manifest.json support #1450

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

feat: Add dist-manifest.json support #1450

wants to merge 10 commits into from

Commits on Jan 13, 2024

  1. Add new optional dep cargo-dist-schema

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    ce5b3db View commit details
    Browse the repository at this point in the history
  2. Add initial data structure for dist-manifest.json

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    3b8b4b9 View commit details
    Browse the repository at this point in the history
  3. Impl new type binstalk_downloader::cacher::HTTPCacher

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    926d44b View commit details
    Browse the repository at this point in the history
  4. Add unit testing for HTTPCacher

    and fix the bug in it.
    
    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    a6e93a2 View commit details
    Browse the repository at this point in the history
  5. Add HTTPCacher to binstalk_fetchers::Fetcher::new

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    ce1ae9e View commit details
    Browse the repository at this point in the history
  6. Impl parsing code for DistManifest

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    95ec3ac View commit details
    Browse the repository at this point in the history
  7. Add dep normalize-path to binstalk-fetchers

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    eb95a3e View commit details
    Browse the repository at this point in the history
  8. Fix DistManifest parsing: Normalize path before verifying

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    80522cc View commit details
    Browse the repository at this point in the history
  9. Rewrite and refactor DistManifest::parse

    Parse and verify all checksum artifacts and then the executable-zip
    artifacts.
    
    Then collect them into binaries based on releases.
    
    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    6f194aa View commit details
    Browse the repository at this point in the history
  10. Fixed compilation of cargo-binstall

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    2d980e4 View commit details
    Browse the repository at this point in the history