crystal-lang / shards

Dependency manager for the Crystal language
Other
758 stars 99 forks source link

Tell why upgrading more #566

Open rdp opened 1 year ago

rdp commented 1 year ago

Today if I run

$ shards update kemal
Resolving dependencies
Fetching https://github.com/kemalcr/kemal-session.git
Fetching https://github.com/sdogruyol/kemal.git
Fetching https://github.com/crystal-lang/crystal-mysql.git
Fetching https://github.com/crystal-lang/json_mapping.cr.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/luislavena/radix.git
Fetching https://github.com/crystal-loot/exception_page.git
Fetching https://github.com/sija/backtracer.cr.git
Using radix (0.4.1)
Installing backtracer (1.2.2)
Installing exception_page (0.3.0)
Installing kemal (1.3.0)
Using kemal-session (1.0.0 at 2ebaf68)
Using db (0.10.1)
Using mysql (0.13.0 at 1a9b992)
Using json_mapping (0.1.1)
Writing shard.lock

It doesn't tell me "why" it's installing a new version of backtracer. Might be nice. Also a message "updating kemal" would be kind.

In the ideal world maybe something like:

Updating kemal (to 1.3.0)
Installing backtracer (new kemal dependency) (1.2.2)

Thanks!