Create 'ua' symlink pointing at 'ubuntu-advantage'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
Medium
|
Andreas Hasenack |
Bug Description
[Impact]
We want to add a short alias named 'ua' to the ubuntu-advantage script.
This can be easily accomplished by creating a 'ua' symlink pointing at the 'ubuntu-advantage' script. Likewise for its manpage.
Documentation and tests were updated.
Full diff of all changes on github: https:/
v13 also enables running the tests during package build (as requested by SRU verification team (sil2100)).
[Test Case]
{ua symlink}
* Install v13 ubuntu-
* Look if symlink "/usr/bin/ua" exist, pointing to /usr/bin/
* Validate "man ua" which should display the manpage of its symlink TARGET "/usr/bin/
Basically "ubuntu-advantage" script or symlink "ua" can be use to perform the same set of tasks.
{Testsuite at build time}
* Look the buildlog and make sure dh_auto_test succeed as follow :
Output took from PPA build test :
debian/rules override_
python3 -m unittest discover tests
Ran 55 tests in 4.995s
OK
[Regression Potential]
* Regression is low
* First, the fix incorporate the testsuite at build time (as requested by SRU verification team), so no effect on the actual source code and secondly, it introduce a new symlink "ua" pointing to an existing script "ubuntu-advantage"
[Other Info]
GitHub Upstream commit:
https:/
[Original Description]
We want to add a short alias named 'ua' to the ubuntu-advantage script.
This can be easily accomplished by creating a 'ua' symlink pointing at the 'ubuntu-advantage' script. Likewise for its manpage.
Documentation and tests were updated.
Full diff of all changes on github: https:/
v13 also enables running the tests during package build.
summary: |
- Update ubuntu-advantage-tools to version 11 which renames the script + Rename 'ubuntu-advantage' script to 'advantage' |
summary: |
- Rename 'ubuntu-advantage' script to 'advantage' + [FFe] Rename 'ubuntu-advantage' script to 'advantage' |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: patch |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu): | |
status: | In Progress → New |
assignee: | Andreas Hasenack (ahasenack) → nobody |
description: | updated |
summary: |
- [FFe] Rename 'ubuntu-advantage' script to 'advantage' + [FFe] Main script should be called 'advantage' |
description: | updated |
tags: | added: sts |
summary: |
- [FFe] Main script should be called 'advantage' + [FFe] Create 'ua' symlink pointing at 'ubuntu-advantage' |
description: | updated |
description: | updated |
description: | updated |
summary: |
- [FFe] Create 'ua' symlink pointing at 'ubuntu-advantage' + Create 'ua' symlink pointing at 'ubuntu-advantage' |
description: | updated |
tags: | added: sts-sru-needed |
description: | updated |
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu): | |
importance: | High → Medium |
status: | New → In Progress |
assignee: | nobody → Andreas Hasenack (ahasenack) |
v11