← Back to team overview

sts-sponsors team mailing list archive

[Bug 1721272] [NEW] Create 'ua' symlink pointing at 'ubuntu-advantage'

 

You have been subscribed to a public bug by Eric Desrochers (slashd):

[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://github.com/CanonicalLtd
/ubuntu-advantage-script/compare/v10...v13

v13 also enables running the tests during package build (as requested by
SRU verification team (sil2100)).

[Test Case]

{ua symlink}
 * Install v13 ubuntu-advantage-tool package
 * Look if symlink "/usr/bin/ua" exist, pointing to /usr/bin/ubuntu-advantage  and working.
 * Validate "man ua" which should display the manpage of its symlink TARGET "/usr/bin/ubuntu-advantage"

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_dh_auto_test
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://github.com/CanonicalLtd/ubuntu-advantage-script/commit/9963f1907a5f13c705bbeaa7e8c8dd2bfa0eee84

[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://github.com/CanonicalLtd
/ubuntu-advantage-script/compare/v10...v13

v13 also enables running the tests during package build.

** Affects: ubuntu-advantage-tools (Ubuntu)
     Importance: Medium
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress


** Tags: patch sts sts-sru-needed
-- 
Create 'ua' symlink pointing at 'ubuntu-advantage'
https://bugs.launchpad.net/bugs/1721272
You received this bug notification because you are a member of STS Sponsors, which is subscribed to the bug report.