1
0
Fork 0

Merging upstream version 0.12.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-10 06:39:52 +01:00
parent f45bc3d463
commit 8d2f70e3c7
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
77 changed files with 23610 additions and 2331 deletions

77
docs/usage/mapping.md Normal file
View file

@ -0,0 +1,77 @@
# Get information about software mapping
`ardl` comes with a tool to get all supoprted package format for both CVP and EOS softwares. It helps to know which format to use for a specific file extension.
## Get information about available versions
```bash
$ ardl info mapping --help
Usage: ardl info mapping [OPTIONS]
List available flavors of Arista packages (eos or CVP) packages.
Options:
--package [eos|cvp]
--format [json|text|fancy] Output format
--details Show details for each flavor
--help Show this message and exit.
```
## Usage example
With this CLI, you can specify either a branch or a release type when applicable to filter information:
```bash
# Get list of supported packages for EOS.
$ ardl info mapping --package eos
Log Level is: error
╭─────────────────────────── Flavors ───────────────╮
│ │
│ * Flavor: 64 │
│ * Flavor: INT │
│ * Flavor: 2GB-INT │
│ * Flavor: cEOS │
│ * Flavor: cEOS64 │
│ * Flavor: vEOS │
│ * Flavor: vEOS-lab │
│ * Flavor: EOS-2GB │
│ * Flavor: RN │
│ * Flavor: SOURCE │
│ * Flavor: default │
│ │
╰───────────────────────────────────────────────────╯
# Get list of supported packages for EOS with filename information
$ ardl info mapping --package eos
Log Level is: error
╭─────────────────────────────────────────────────── Flavors ─────────╮
│ │
│ * Flavor: 64 │
│ - Information: extension='.swi' prepend='EOS64' │
│ * Flavor: INT │
│ - Information: extension='-INT.swi' prepend='EOS' │
│ * Flavor: 2GB-INT │
│ - Information: extension='-INT.swi' prepend='EOS-2GB' │
│ * Flavor: cEOS │
│ - Information: extension='.tar.xz' prepend='cEOS-lab' │
│ * Flavor: cEOS64 │
│ - Information: extension='.tar.xz' prepend='cEOS64-lab' │
│ * Flavor: vEOS │
│ - Information: extension='.vmdk' prepend='vEOS' │
│ * Flavor: vEOS-lab │
│ - Information: extension='.vmdk' prepend='vEOS-lab' │
│ * Flavor: EOS-2GB │
│ - Information: extension='.swi' prepend='EOS-2GB' │
│ * Flavor: RN │
│ - Information: extension='-' prepend='RN' │
│ * Flavor: SOURCE │
│ - Information: extension='-source.tar' prepend='EOS' │
│ * Flavor: default │
│ - Information: extension='.swi' prepend='EOS' │
│ │
╰─────────────────────────────────────────────────────────────────────╯
```