Project

General

Profile

User story #4330

Rule names should be only unique by categories, not globally

Added by Dennis Cabooter almost 5 years ago. Updated 8 months ago.

Status:
New
Priority:
3
Assignee:
-
Category:
Web - Config management
Target version (plugin):
Suggestion strength:
User visibility:
Effort required:
Pull Request:

Description

In 2.8 I had those Rules:

  • CentOS desktops: files
  • CentOS desktops: packages
  • Ubuntu servers: files
  • Ubuntu servers: packages

In 2.9 I tried To split those Rules into two categories (Ubuntu/Centos):

  • CentOS desktops
    • files
    • packages
  • Ubuntu servers
    • files
    • packages

Unfortunatly that's not allowed.

In my humble opinion the rules names should change to ${category}.${rulename} instead of ${rulename}. You should check only if there is a rule with same name within the category.

History

#1 Updated by Dennis Cabooter almost 5 years ago

I forgot the <pre></pre> tags. Sorry for the inconvenience.

In 2.8 I had:

-
  - CentOS desktops: files
  - CentOS desktops: packages
  - Ubuntu servers: files
  - Ubuntu servers: packages

In 2.9 I tried:

- CentOS desktops
  - files
  - packages
- Ubuntu servers
  - files
  - packages

Unfortunatly that's not allowed.

In my humble opinion the rules names should change to ${category}.${rulename} instead of ${rulename}. You should check only if there is a rule with same name within the category.

#2 Updated by Vincent MEMBRÉ almost 5 years ago

  • Description updated (diff)
  • Category set to Web - Config management
  • Assignee set to Vincent MEMBRÉ
  • Priority changed from N/A to 3

I edited the description:

So you were trying to have two Rules named files in different categories (Ubuntu and Centos).

As we kept the old behavior in Rule naming, this is not allowed, but you're right and I think that should be changed to Refuse only Rules with same name in the same category

#3 Updated by Vincent MEMBRÉ almost 5 years ago

  • Description updated (diff)

#4 Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.9.2 to 2.9.3

#5 Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.9.3 to 2.9.4

#6 Updated by Dennis Cabooter over 4 years ago

Is this still going forward?

#7 Updated by François ARMAND over 4 years ago

  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE

I don't thing we took a decision about that.

Assigning to Jon so that he can set his Product Owner eyes on it :)

#8 Updated by Jonathan CLARKE over 4 years ago

  • Assignee changed from Jonathan CLARKE to François ARMAND

I agree with Vincent, we should change this to allow only Rules with duplicated names so long as they are not in the same category.

#9 Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.9.4 to 2.9.5

#10 Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.9.5 to 2.9.6

#11 Updated by Jonathan CLARKE over 4 years ago

  • Target version changed from 2.9.6 to 2.9.7

#12 Updated by Jonathan CLARKE over 4 years ago

  • Target version changed from 2.9.7 to 150

#13 Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 150 to 2.10.4

#14 Updated by Nicolas PERRON about 4 years ago

  • Target version changed from 2.10.4 to 2.10.5

#15 Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.10.5 to 2.10.6

#16 Updated by Dennis Cabooter about 4 years ago

Can someone look @ this again?

#17 Updated by Matthieu CERDA about 4 years ago

  • Target version changed from 2.10.6 to 2.10.7

#18 Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.10.7 to 2.10.8

#19 Updated by François ARMAND almost 4 years ago

If I remember correctly, we chose to forbid rules with the same name application-wide to not have ambiguities in reports, when only the rule name is diplayed.

#20 Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.10.8 to 2.10.9

#21 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.9 to 2.10.10

#22 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.10 to 2.10.11

#23 Updated by François ARMAND over 3 years ago

  • Subject changed from Rule names in categories to Rule names should be only unique by categories, not globally

#24 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.11 to 2.10.12

#25 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.12 to 2.10.13

#26 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.13 to 2.10.14

#27 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.14 to 2.10.15

#28 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.15 to 2.10.16

#29 Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 2.10.16 to 2.10.17

#30 Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 2.10.17 to 2.10.18

#31 Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 2.10.18 to 2.10.19

#32 Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 2.10.19 to 2.10.20

#33 Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 2.10.20 to 2.11.18

#34 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.18 to 2.11.19

#35 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.19 to 2.11.20

#36 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.20 to 2.11.21

#37 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.21 to 2.11.22

#38 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.22 to 2.11.23

#39 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 2.11.23 to 2.11.24

#40 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 2.11.24 to 308

#41 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 308 to 3.1.14

#42 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.14 to 3.1.15

#43 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.15 to 3.1.16

#44 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.16 to 3.1.17

#45 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 3.1.17 to 3.1.18

#46 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.18 to 3.1.19

#47 Updated by Benoît PECCATTE over 1 year ago

  • Tracker changed from Bug to User story

#48 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.19 to 3.1.20

#49 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.20 to 3.1.21

#50 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.21 to 3.1.22

#51 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 3.1.22 to 3.1.23

#52 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 3.1.23 to 3.1.24

#53 Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 3.1.24 to 3.1.25

#54 Updated by Benoît PECCATTE 12 months ago

  • Target version changed from 3.1.25 to 4.1.9

#55 Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 4.1.9 to 4.1.10

#56 Updated by François ARMAND 8 months ago

  • Assignee deleted (François ARMAND)
  • Target version changed from 4.1.10 to Ideas (not version specific)

Also available in: Atom PDF