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

Support SNAPSHOTs and fix dependency cache #1853

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Support SNAPSHOTs and fix dependency cache #1853

merged 1 commit into from
Jul 12, 2023

Commits on Jul 12, 2023

  1. Support SNAPSHOTs and fix dependency cache

    We will no longer fail when a SNAPSHOT dependency is used. In order
    to make sure that SNAPSHOTs are periodically re-resolved, a TTL of
    1 day was added to the cache file so that the cache is invalidated
    every 24 hours. The cache can be manually invalidated using
    `smithy clean`.
    
    When implementing a TTL, I noticed that caching wasn't actually
    working and was always invalidated. That's fixed now by using the
    correct timestamp comparisons, and several new test cases were added.
    
    Closes #1850
    mtdowling committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    7500d0b View commit details
    Browse the repository at this point in the history