Project

General

Profile

Actions

User story #12164

closed

Add a package provider for zypper patterns

Added by Alexis Mousset almost 5 years ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Regression:

Description

Currently we support the zypper package manager, which uses zypper and rpm to manage packages.

To be able to handle properly the zypper patterns, we need to manage a cache of the list of installed packages.

The metapackages installed when installing a pattern do not have the same name, so the easiest way to implement patterns is:

  • to add a new zypper-pattern package provider
  • manage the pattern list using zypper instead of rpm

We will want to invalidate cache of the other provider when using zypper of zypper-pattern in the generic method to avoid package list mismatch.

This new provider (package module) will be based on the zypper one with a "-t pattern", plus a new parser for the list of installed patterns through zypper instead of rpm for the zypper module.

It would probably be upstreamable too.


Subtasks 1 (0 open1 closed)

Bug #12762: Add zypper_pattern provider in package techniqueReleasedBenoît PECCATTEActions

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #12700: Add zypper_pattern provider in package techniqueReleasedBenoît PECCATTEActions
Related to Rudder - Bug #13621: 4.3+ version of 12164ReleasedAlexis MoussetActions
Actions #1

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #3

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 4.1.13 to 411
Actions #4

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 411 to 4.1.13
Actions #5

Updated by Nicolas CHARLES over 4 years ago

  • Assignee set to Félix DALLIDET
Actions #6

Updated by Félix DALLIDET over 4 years ago

  • Status changed from New to In progress
Actions #7

Updated by Félix DALLIDET over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/ncf/pull/762
Actions #8

Updated by François ARMAND over 4 years ago

  • Related to Bug #12700: Add zypper_pattern provider in package technique added
Actions #9

Updated by François ARMAND over 4 years ago

  • Related to deleted (Bug #12700: Add zypper_pattern provider in package technique)
Actions #10

Updated by François ARMAND over 4 years ago

  • Parent task set to #12700
Actions #11

Updated by Vincent MEMBRÉ over 4 years ago

  • Parent task deleted (#12700)
Actions #12

Updated by Vincent MEMBRÉ over 4 years ago

  • Related to Bug #12700: Add zypper_pattern provider in package technique added
Actions #13

Updated by Félix DALLIDET over 4 years ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from Benoît PECCATTE to Félix DALLIDET
Actions #14

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #15

Updated by Félix DALLIDET over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
Actions #16

Updated by Benoît PECCATTE over 4 years ago

  • Assignee changed from Benoît PECCATTE to Félix DALLIDET
Actions #17

Updated by Félix DALLIDET over 4 years ago

I was missing informartion on how zypper is supposed to handle the removal and the update of patterns, luckily re-building patterns is not documented but really easy.
=> it can be done with rpmrebuild on the rpm source pattern file, changing the packages provided is just changing dependencies of the pattern
=> changing version is just changeing a line in the rpm spec file

From now we should be able to build tests with a local repo and patterns in it.

Actions #18

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #19

Updated by Félix DALLIDET over 4 years ago

  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
Actions #20

Updated by Félix DALLIDET over 4 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:6da0676538b8e61f08eee1b59f26f2148711bef5.

Actions #21

Updated by Félix DALLIDET over 4 years ago

  • Related to Bug #13621: 4.3+ version of 12164 added
Actions #22

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.15, 4.3.5 and 5.0.1 which were released today.
Changelog
Changelog
Changelog
Actions #23

Updated by Alexis Mousset 8 months ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - Package Management to Generic methods
Actions

Also available in: Atom PDF