ClusterLabs / hawk

A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager
http://hawk-ui.github.io/
GNU General Public License v2.0
151 stars 51 forks source link

Dev: rename 'Score' to 'Kind' #290

Open aleksei-burlakov opened 1 month ago

aleksei-burlakov commented 1 month ago

This is the next iteration of renaming score -> kind. Here we replace all occurences of the score visible to the user. So, an English version hawk will display all correctly (kind). However

  1. The part hidden from the user: backend, html and js tags, etc. are still score. Changing those variables is an epic, so maybe it's better not to touch them.
  2. Renaming was mostly done automatically, Score of INFINITY becomes Kind of INFINITY.
  3. In the other languages the 'score' remains 'score'.
liangxin1300 commented 1 month ago

But from the pacemaker's doc (Generated on Thu Aug 8 23:31:38 UTC 2024 from version Pacemaker-2.1.8) There are still score attribute in location 1 and colocation2

@gao-yan , what do you think?