very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

Retrieve bricks for "create" from remote source (aka do not include bundles in the codebase)

Open renancaraujo opened this issue 3 years ago • 2 comments

Today we include the bundles for each "very_good create" template as dart bundles in the codebase. These bundles are often generated from bricks that live in different repositories.

To easy the effort of updating these bricks and improve the quality of life of contributors, we shall retrieve the bundles in runtime from either brickhub or git repositores, making it clear the where these bundles come from.

The goal is to update templates without having to push new versions of Very Good CLI

Phase 1: Publish to Brickhub

  • [ ] Dart CLI - Needs to be done After the verbose flag issue (https://github.com/VeryGoodOpenSource/very_good_dart_cli/issues/18)
  • [ ] Flutter Plugin
  • [ ] Very Good Core

Phase 2:

  • [ ] Update CLI to support downloading templates from remote registry

Phase 3:

  • [ ] Upgrade and cache logic - Check for newer or nonbreaking versions, otherwise use the cached version.

renancaraujo avatar Jun 27 '22 17:06 renancaraujo

This is currently blocked by the fact that some of our bundles are currently in a private repository, once those are in their own public repos we can start working on this.

wolfenrain avatar Jul 13 '22 17:07 wolfenrain

Unblocked, as we now have access to some publishing accounts that we can use

BeatriceMitchell avatar Jul 28 '22 14:07 BeatriceMitchell