Project

General

Profile

Actions

action #117118

closed

coordination #96596: [qe-core][CI] CI/CD and Coding style improvements

[qe-core] CI/CD and Coding style improvements - Forbid usage of fgrep and egrep

Added by szarate about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Refactor/Code Improvements
Target version:
Start date:
2022-09-23
Due date:
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: October Sprint (Sep 28 - Oct 26)

Description

As a follow up to https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15547

Since we're having multiple styles of coding and tools, often we end up with a mix, and in the case of grep, it seems that the time for unification has arrived:

fgrep and egrep are now deprecated, so to avoid warnings, we should switch to using extended mode,

Acceptance criteria

  1. Style checks t/01_style.t also verify that neither egrep nor fgrep are being used.
  2. RFC to CONTRIBUTING.md with the above rule in has been created (Or merged in case os-autoinst-distri-opensuse#15547 has been already merged)

Suggestions

Evaluate how #96675 was done

Actions

Also available in: Atom PDF