** Description changed: [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 pointing to an existing script. + 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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1721272 Title: Create 'ua' symlink pointing at 'ubuntu-advantage' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1721272/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
