Project

General

Profile

action #96716

coordination #96596: [qe-core][CI] Implement checks in the CI for common errors/coding style

[qe-core][CI] Add CI check for module header not being updated

Added by punkioudi 3 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
Start date:
2021-08-10
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

When an existing perl module is being edited or a new one is created, the Copyright date has to be up-to-date.
A CI check can be implemented, which will compare the current year date with the one included in the header of the edited module.

Acceptance criteria

  • AC1: Each subtask is proposed as an RFC in the os-autoinst-distri-opensuse repo.
  • AC2: There's a corresponding entry in the contributing document.

History

#1 Updated by punkioudi 3 months ago

PR for adding missing information in the file header from already existing pms : https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13061

#2 Updated by punkioudi 2 months ago

Another PR for adding missing information in tests' file header : https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13073

#3 Updated by punkioudi 2 months ago

As a first step to the CI Story, I created this [PR]
There was already an implementation for the Maintainer and Summary field and I added one more check for the Copyright area.

#4 Updated by okurz about 2 months ago

  • Category set to Enhancement to existing tests

#5 Updated by punkioudi about 2 months ago

  • Status changed from In Progress to Resolved

#6 Updated by szarate about 2 months ago

  • Target version set to QE-Core: Ready

Also available in: Atom PDF