Project

General

Profile

action #33745

coordination #58184: [saga][epic][use case] full version control awareness within openQA, e.g. user forks and branches, fully versioned test schedules and configuration settings

coordination #94750: [epic] Support needles from git-cloned or separate repo if casedir points to a git-repo

Improve handling external Git repositories (for needles)

Added by mkittler over 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2018-03-23
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

When working on #9906 (Show added/updated needles in editor) general problems regarding how openQA handles the Git repository came up. This ticket is only meant to describe the general problems and might be used for further discussion.

current way it works

  1. There are two ways openQA can detect a new needle:
    1. running a job which uses the needle
    2. the needle is created in the needle editor
  2. There is a Gru task which periodically checks whether needle files are still present. It doesn't delete any entries in the openQA database. Only the absence of files is tracked. This will also not detect any new needles.
  3. When creating a needle via the needle editor, openQA commits that change to the Git repository. It also instantly creates a database entry for that needle.
  4. When removing a needle via the web interface, openQA commits the deletion to the Git repository or just removes the file. The needle is also deleted from the internal database if the needle files could be removed successfully.

problems

  • The feature 'Show added/updated needles in editor' only works when the new needle has been created via the needle editor or at least one job loading it has been started.
  • When restarting a job, newly created needles are not instantly available.
  • In 3. and 4. conflicts can occur. In this case openQA will push to another branch. Needles could get lost in that case.

Related issues

Related to openQA Project - action #9906: Show added/updated needles in editorResolved2015-12-14

Related to openQA Project - action #70774: save_needle Minion tasks fail frequentlyNew2020-09-01

History

#1 Updated by okurz over 3 years ago

  • Description updated (diff)
  • Category set to Feature requests

Nicely written, looks good

#2 Updated by mkittler over 3 years ago

  • Related to action #9906: Show added/updated needles in editor added

#3 Updated by mkittler over 3 years ago

  • Description updated (diff)

#4 Updated by mkittler over 3 years ago

  • Description updated (diff)

#5 Updated by okurz almost 2 years ago

  • Parent task set to #58184

#6 Updated by okurz about 1 year ago

  • Target version set to Ready

#7 Updated by mkittler 11 months ago

  • Related to action #70774: save_needle Minion tasks fail frequently added

#8 Updated by okurz 9 months ago

  • Target version changed from Ready to future

#9 Updated by okurz about 1 month ago

  • Parent task changed from #58184 to #94750

Also available in: Atom PDF