Azure / Azure/bicep

Improve module restore messages

Open
#10,233 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

1) spelling
```
10:10:51 AM: Restore (force) skipped. No modules references in input file.
```
EXPECTED:
```
10:10:51 AM: Restore (force) skipped. No modules referenced in input file.
or
10:10:51 AM: Restore (force) skipped. No module references in input file.
```

2) We should output a message when we start to restore modules. The activity normally takes at least a few seconds, and can be much longer. Right now there's nothing output until the end of the process, making the user (e.g. me) wonder whether anything is even happening.

Suggest:
```
10:17:40 AM: Restoring modules in input file /path/to/file.bicep'... <<<< add this
10:17:47 AM: Restore (force) summary:
* br:mcr.microsoft.com/bicep/storage/storage-account:0.0.1: Succeeded
* br:mcr.microsoft.com/bicep/storage/storage-account:1.0.0: Failed
```

Contributor guide

Open the contributing guide

Research direction

The issue does not name files or tests. Start by locating the module restore command's existing skipped and summary message formatting, then trace where restore begins; done means correcting the grammar and emitting a start message with the input file before the existing restore summary.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.