Merge ~kaxing/hwcert-tools:check-before-push into hwcert-tools:master
Status: | Merged |
---|---|
Approved by: | Yung Shen |
Approved revision: | 790d6ddb9c17487a04a49699450792a580ebba5c |
Merged at revision: | 790d6ddb9c17487a04a49699450792a580ebba5c |
Proposed branch: | ~kaxing/hwcert-tools:check-before-push |
Merge into: | hwcert-tools:master |
Diff against target: |
76 lines (+29/-13) 1 file modified
sru_tools/manage_sru (+29/-13) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yung Shen (community) | Approve | ||
Review via email:
|
Description of the change
I would like to automate following task:
copy and rename test report on people.
It's actually quite straight forward until following restrictions:
1. only certification@lauma are able to 'scp' to hwcert@people, and 'ssh' won't work.
2. 'manage_sru' uses lauchpadlib that keeps credential per application on Launchpad.net;
There is a possibility that we could give each manage_sru-`$USER` as different application, but then I don't think it's ideal to keep all credential under /home/certifica
3. users in certification groups on lauma had limited 'su' usage, it's not possible to do 'su - certification -c some_commands'.
While bypassing above limits, my approach is to show an assisted instruction that gives copy-paste-then-run ease on this task, as semi-automated, please check detail workflow in _push_file().
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Self-approving, had been used in couple cycles.