Skip to content

When updating packages, if a package is updated with more dependencies, those dependencies aren't fetched. #10

@ioquatix

Description

@ioquatix

The unit-test package was updated, to include streams as a dependency, but it must be fetched twice to get to a fixed point:

^_^ > teapot fetch --update
Processing clones platforms from http://github.com/kurocha/platforms...
Updating package at path async/teapot/packages/development/platforms...
Processing clones build-files from http://github.com/kurocha/build-files...
Updating package at path async/teapot/packages/development/build-files...
Processing clones unit-test from http://github.com/kurocha/unit-test...
Updating package at path async/teapot/packages/development/unit-test...
Updating lockfile for package unit-test: 73aa1c21098fbe4ee28abf5d9d1fceb77d64ed07...
Processing clones generate-travis from http://github.com/kurocha/generate-travis...
Updating package at path async/teapot/packages/development/generate-travis...
Processing clones generate-project from http://github.com/kurocha/generate-project...
Updating package at path async/teapot/packages/development/generate-project...
Processing clones generate-cpp-class from http://github.com/kurocha/generate-cpp-class...
Updating package at path async/teapot/packages/development/generate-cpp-class...
Processing clones concurrent from http://github.com/kurocha/concurrent...
Updating package at path async/teapot/packages/development/concurrent...
Updating lockfile for package concurrent: d78f217f6f01656a503ebee11bab1e1a6435a3da...
Processing clones time from http://github.com/kurocha/time...
Updating package at path async/teapot/packages/development/time...
Processing clones memory from http://github.com/kurocha/memory...
Updating package at path async/teapot/packages/development/memory...
Processing clones variants from http://github.com/kurocha/variants...
Updating package at path async/teapot/packages/development/variants...
Processing clones platform-darwin-osx from http://github.com/kurocha/platform-darwin-osx...
Updating package at path async/teapot/packages/development/platform-darwin-osx...
Processing clones platform-darwin-ios from http://github.com/kurocha/platform-darwin-ios...
Updating package at path async/teapot/packages/development/platform-darwin-ios...
Processing clones build-clang from http://github.com/kurocha/build-clang...
Updating package at path async/teapot/packages/development/build-clang...
Processing clones build-darwin from http://github.com/kurocha/build-darwin...
Updating package at path async/teapot/packages/development/build-darwin...
Processing clones generate-template from http://github.com/kurocha/generate-template...
Updating package at path async/teapot/packages/development/generate-template...
Completed fetch successfully.
Elapsed Time: 20.654s
^_^ > teapot fetch --update
Processing clones platforms from http://github.com/kurocha/platforms...
Updating package at path async/teapot/packages/development/platforms...
Processing clones build-files from http://github.com/kurocha/build-files...
Updating package at path async/teapot/packages/development/build-files...
Processing clones unit-test from http://github.com/kurocha/unit-test...
Updating package at path async/teapot/packages/development/unit-test...
Processing clones generate-travis from http://github.com/kurocha/generate-travis...
Updating package at path async/teapot/packages/development/generate-travis...
Processing clones generate-project from http://github.com/kurocha/generate-project...
Updating package at path async/teapot/packages/development/generate-project...
Processing clones generate-cpp-class from http://github.com/kurocha/generate-cpp-class...
Updating package at path async/teapot/packages/development/generate-cpp-class...
Processing clones concurrent from http://github.com/kurocha/concurrent...
Updating package at path async/teapot/packages/development/concurrent...
Processing clones time from http://github.com/kurocha/time...
Updating package at path async/teapot/packages/development/time...
Processing clones memory from http://github.com/kurocha/memory...
Updating package at path async/teapot/packages/development/memory...
Processing clones variants from http://github.com/kurocha/variants...
Updating package at path async/teapot/packages/development/variants...
Processing clones platform-darwin-osx from http://github.com/kurocha/platform-darwin-osx...
Updating package at path async/teapot/packages/development/platform-darwin-osx...
Processing clones platform-darwin-ios from http://github.com/kurocha/platform-darwin-ios...
Updating package at path async/teapot/packages/development/platform-darwin-ios...
Processing clones build-clang from http://github.com/kurocha/build-clang...
Updating package at path async/teapot/packages/development/build-clang...
Processing clones build-darwin from http://github.com/kurocha/build-darwin...
Updating package at path async/teapot/packages/development/build-darwin...
Processing clones streams from http://github.com/kurocha/streams...
Cloning package at path async/teapot/packages/development/streams...
Updating lockfile for package streams: 05b488f43f01f4a0c483a89c178f673c8e818e22...
Processing clones generate-template from http://github.com/kurocha/generate-template...
Updating package at path async/teapot/packages/development/generate-template...
Completed fetch successfully.
Elapsed Time: 19.052s
^_^ > 

The suggested fix would be to reload the teapot.rb file if the package was updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions