Skip to content
Permalink
master

Commits on Aug 5, 2020

  1. Release 0.12.0 (#427)

    bcardiff committed Aug 5, 2020
  2. Update check, list, outdated commands to work against source changes …

    …and overrides (#429)
    
    * Fix check command to handle different sources
    
    * Fix check command to handle overrides
    
    * Add list command spec to handle source change and override
    
    No need to check resolver or apply overrides in list command
    
    * Update specs description
    
    * Fix outdated command to handle different sources
    
    * Fix outdated command to detect invalid lock
    
    * Fix outdated command to handle overrides
    bcardiff committed Aug 5, 2020

Commits on Aug 4, 2020

  1. Use Package for locks and installed shards (#428)

    waj committed Aug 4, 2020
  2. Move install responsibilities from Resolver to Package (#426)

    waj committed Aug 4, 2020

Commits on Jul 31, 2020

  1. Shards overrides (#422)

    bcardiff committed Jul 31, 2020

Commits on Jul 28, 2020

  1. Fix: reinstall when resolver changes (#425)

    * Fix: reinstall when resolver changes
    
    * Added spec to test reinstall when info file is missing and path resolver is used
    waj committed Jul 28, 2020

Commits on Jul 24, 2020

  1. Bump required crystal to 0.35 (#424)

    * Bump requirement for Crystal >= 0.35
    
    * Update shard.lock to version 2.0
    
    Otherwise make lib target will trigger on CI because the shard.lock version is overwritten by shards install _after_ the creation of lib folder.
    
    Since Crystal 0.35 ships with shards 0.11 which supports lock version 2.0, and required crystal was bumped in previous commit we can make this change now.
    
    * Test nightly on every commit also
    
    * Memoize crystal_path in specs
    bcardiff committed Jul 24, 2020

Commits on Jul 22, 2020

  1. Fix nightly builds (#421)

    * Avoid using shards to install dependencies
    
    Grab version from lock and install using curl
    
    * Curl is not available, use --ignore-crystal-version
    
    Since SHARDS_OPTS is not available yet we can't use it
    bcardiff committed Jul 22, 2020
  2. Remove abstract def run definition (#423)

    Each command implements a different run. There is no generic Command reference that requires a unified API among all of the subclasses.
    bcardiff committed Jul 22, 2020
  3. Handle ambiguous dependencies and update shard.lock on if source of d…

    …ependency changes change (#419)
    
    * Update lock file if source change (but not version)
    
    Ensure resolver cache does not bother when parsing shard.lock and .shards.info files in integration specs
    
    Include key, name and source in the resolver cache
    
    * Refactor source normalization
    
    * Ensure it fails on ambiguous sources
    
    * Fix spec that where using git: git_path instead of git_url
    
    * Skip adding lock if resolver of lock and dependency changes
    
    * Mimic proper fork in specs
    
    * Preserve locked version on changed source
    
    Emit warning on source change
    Reject lock file on install --production if source changed
    
    * Add spec for updating to forked branch
    
    * Code clean-up
    bcardiff committed Jul 22, 2020
  4. Add --ignore-crystal-version related suggestion and warnings to guide…

    … user (#418)
    
    * Add --ignore-crystal-version suggestion when conflict on crystal
    
    * Rephrase suggestions
    
    * Add warning regarding incompatible shards
    
    when those shards were installed due to --ignore-crystal-version option
    
    it will also warn if the option was specified but not needed
    bcardiff committed Jul 22, 2020

Commits on Jul 16, 2020

  1. Allow SHARDS_OPTS/--ignore-crystal-version in build & default command (

    …#420)
    
    Add --ignore-crystal-version as OptionParser option so the 
    
    shards --ignore-crystal-version 
    or
    SHARDS_OPTS=--ignore-crystal-version shards
    
    do not pick --ignore-crystal-version as the command name in args[0]?
    bcardiff committed Jul 16, 2020

Commits on Jun 29, 2020

  1. Allow shards to read SHARDS_OPTS for addition command options (#417)

    This allows users to set --no-color global
    And is another way to use --ignore-crystal-version most likely in CI
    bcardiff committed Jun 29, 2020

Commits on Jun 25, 2020

  1. Fix spec for running under 32-bit linux (#416)

    * Restricted to the valid time range for that system
    lugia-kun committed Jun 25, 2020
  2. Add shard context to ParseError (#408)

    * Improve error format for duplicate attribute
    
    * Add Resolver#load_spec
    
    * Add shard context to ParserError
    straight-shoota committed Jun 25, 2020
  3. Spec: Add stdout and stderr to FailedCommand message (#410)

    straight-shoota committed Jun 25, 2020
  4. Disable interactive credential prompt for git resolver (#411)

    * Disable interactive credential prompt for git resolver
    
    * Simplify ASKPASS
    
    * Add comment
    straight-shoota committed Jun 25, 2020
  5. Add convenient makefile arguments for packaging (#414)

    * Allow make all FLAGS="--no-debug --release" 
    
    When packaging shards is usually compiled with --no-debug and --release. This change will allow using the makefile in those scripts.
    
    Otherwise we need to manually use the crystal build or CRYSTAL_OPTS env var
    
    * Add release debug static makefile arguments
    
    Same as the ones found in crystal-lang/crystal
    bcardiff committed Jun 25, 2020

Commits on Jun 8, 2020

  1. Release 0.11.1 (#405)

    bcardiff committed Jun 8, 2020
  2. Allow crystal: x.y values (without patch) (#404)

    * Allow crystal: x.y values (without patch)
    
    * Use single regex. >= x.y works fine
    bcardiff committed Jun 8, 2020

Commits on Jun 5, 2020

  1. Release 0.11.0 (#402)

    bcardiff committed Jun 5, 2020

Commits on Jun 3, 2020

  1. Delete old .sha1 files (#401)

    waj committed Jun 3, 2020
  2. Bump lock version (#400)

    waj committed Jun 3, 2020
  3. Reinstall shards not present in info file (#399)

    waj committed Jun 3, 2020
  4. Use `crystal` property to filter shard compatibility (#395)

    waj committed Jun 3, 2020

Commits on May 29, 2020

  1. Fix Crystal 0.35 compatibility (#397)

    bcardiff committed May 29, 2020

Commits on May 21, 2020

  1. Support intersection of versions (#394)

    waj committed May 21, 2020

Commits on May 19, 2020

  1. Make errors with git refs more descriptive (#389)

    waj committed May 19, 2020

Commits on May 18, 2020

  1. Revert change of install dir (#393)

    waj committed May 18, 2020

Commits on May 15, 2020

  1. Fix Crystal 0.35 compatibility (#391)

    bcardiff committed May 15, 2020

Commits on May 12, 2020

  1. Fix: allow commit hashes to be abbreviated (#388)

    waj committed May 12, 2020
  2. Make sure tags aren't signed (#382)

    repomaa committed May 12, 2020
  3. Add error on duplicate arguments in shard.yml (#387)

    straight-shoota committed May 12, 2020
  4. Touch lib directory after installing dependencies (#380)

    waj committed May 12, 2020
  5. Change install dir to `.crystal/shards` (#367)

    waj committed May 12, 2020
Older
You can’t perform that action at this time.