Skip to content

Copy necessary ruleset and rules to migrate old labels to new labels.

Notifications You must be signed in to change notification settings

csmanutd/pce-label-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

pce-label-migration

Copy ruleset and rules to migrate old labels to new labels.

  1. Export all rulesets and rules with workloader. Use option --no-href.
  2. Run the script "replace_ruleset" with -input "ruleset name"
    This will generate a csv file to create the ruleset with new label both as the name and the ruleset scope.
  3. Import the ruleset with the workloader.
  4. Run the script "copy_rules". This script will generate a csv file to copy the following rules:
    a. copy all rules in the old ruleset to the new ruleset.
    b. copy all rules in scopeless ruleset with specified application label and the label you want to migrate.
    c. copy all extra-scope rules with specified application label and the label you want to migrate.
  5. Import the csv file with the workloader.

About

Copy necessary ruleset and rules to migrate old labels to new labels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages