mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
azure-cli: document update procedure
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
a46bc380ca
commit
2a16961ba7
@ -1,5 +1,22 @@
|
||||
# Azure CLI
|
||||
|
||||
## Updating the CLI
|
||||
|
||||
- Update `version` and `src.hash` in default.nix
|
||||
- Check out the changes made to the azure-cli [setup.py](https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/setup.py) since the last release
|
||||
- Try build the CLI, will likely fail with `ModuleNotFoundError`, for example
|
||||
```
|
||||
ModuleNotFoundError: No module named 'azure.mgmt.storage.v2023_05_01'
|
||||
```
|
||||
Sometimes it will also fail with other import errors.
|
||||
- Check the referenced module (`azure-mgmt-storage`) in the setup.py
|
||||
- Find the actual version required, for example
|
||||
```
|
||||
'azure-mgmt-storage==21.2.0',
|
||||
```
|
||||
- Update version and hash of this dependency in python-packages.nix
|
||||
- Repeat until it builds
|
||||
|
||||
## Extensions
|
||||
|
||||
There are two sets of extensions: the one in `extensions-generated.nix` is generated with the script
|
||||
|
Loading…
Reference in New Issue
Block a user