action #105127
closedcoordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes
coordination #99579: [epic][retro] Follow-up to "Published QCOW images appear to be uncompressed"
coordination #99660: [epic] Use more perl signatures in our perl projects
Use more perl signatures - openQA - some simple classes size:S
Description
Acceptance criteria¶
- AC1: Some method signatures have been introduced
Suggestions¶
- In https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/CLI/api.pm#L5 replace
use Mojo::Base 'OpenQA::Command';
withuse Mojo::Base 'OpenQA::Command', -signatures;
- In https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/CLI/api.pm#L18 do what I did with https://github.com/os-autoinst/openQA/pull/4201/files . At best create a pull request already with just this line change or conduct tests locally first
- Read about signatures in https://docs.mojolicious.org/perlsub#Signatures
- Extend as many other references as you can
Updated by okurz almost 3 years ago
- Copied from action #100967: Use more perl signatures - openQA size:M added
Updated by livdywan almost 3 years ago
- Subject changed from Use more perl signatures - openQA - some simple classes to Use more perl signatures - openQA - some simple classes size:S
- Description updated (diff)
- Status changed from New to Workable
Updated by kodymo almost 3 years ago
- Status changed from Workable to In Progress
- Assignee set to kodymo
Updated by kodymo almost 3 years ago
Signatures changed for openQA/lib/OpenQA/CLI/api.pm and archive.pm
Updated by livdywan almost 3 years ago
- Status changed from In Progress to Feedback
kodymo wrote:
Signatures changed for openQA/lib/OpenQA/CLI/api.pm and archive.pm
Merged - does this conclude the ticket or were you planning on proposing another branch?
Updated by okurz almost 3 years ago
As discussed in the daily we can continue for some more changes in a row before concluding the ticket regardless if all methods in openQA introduced signatures or not :)
Updated by kodymo almost 3 years ago
Forgot to add my Pull requests to this:
https://github.com/os-autoinst/openQA/pull/4471
https://github.com/os-autoinst/openQA/pull/4476
Updated by kodymo almost 3 years ago
- Status changed from Feedback to In Progress
Updated by kodymo almost 3 years ago
Sorry I never update my tickets with PRs
These are the ones I've done on this:
https://github.com/os-autoinst/openQA/pull/4481
https://github.com/os-autoinst/openQA/pull/4484
https://github.com/os-autoinst/openQA/pull/4486
https://github.com/os-autoinst/openQA/pull/4490
https://github.com/os-autoinst/openQA/pull/4497
Updated by kodymo almost 3 years ago
- Status changed from In Progress to Feedback
Updated by kodymo almost 3 years ago
Put it into resolved, as there were no reported failures in the recent PRs and this was an open-ended ticket.