Skip to content

Commit

Permalink
HTCONDOR-1968: Minor re-wording, example link, and python syntax impr…
Browse files Browse the repository at this point in the history
…ovements
  • Loading branch information
ColeBollig committed Sep 1, 2023
1 parent 467fa52 commit 219a475
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion config/01-ce-router-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ MERGE_JOB_ROUTER_DEFAULT_ADS=True
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/01-ce-router.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ MERGE_JOB_ROUTER_DEFAULT_ADS=True
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-bosco-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-bosco.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-condor-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-condor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-lsf-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-lsf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-pbs-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-pbs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-sge-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-sge.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-slurm-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion config/02-ce-slurm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
2 changes: 1 addition & 1 deletion contrib/puppet/osg_ce_condor/files/config.d/02-ce-pbs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Warning: JOB_ROUTER_DEFAULTS, JOB_ROUTER_ENTRIES, JOB_ROUTER_ENTRIES_CMD, and
# JOB_ROUTER_ENTRIES_FILE are deprecated and will be removed for V24 of
# HTCondor. New configuration syntax for the job router is defined using
# the HTCondor Software Suite. New configuration syntax for the job router is defined using
# JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For new syntax example visit:
# https://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration
# Note: The removal will occur during the lifetime of the HTCondor V23 feature series.
Expand Down
8 changes: 4 additions & 4 deletions src/verify_ce_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def main():
if knob in htcondor.param:
used_deprecated_knobs.append(knob)
if len(used_deprecated_knobs) > 0:
warn("%s are deprecated and will be removed for V24 of HTCondor. New configuration"
% ", ".join(used_deprecated_knobs)
+ " syntax for the job router is defined using JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>."
+ " Note: The removal will occur during the lifetime of the HTCondor V23 feature series.\n")
warn(f"{', '.join(used_deprecated_knobs)} are deprecated and will be removed for V24 of HTCondor. New configuration"
+ " syntax for the job router is defined using JOB_ROUTER_ROUTE_NAMES and JOB_ROUTER_ROUTE_<name>. For example"
+ " use of new syntax visit:\nhttps://htcondor.readthedocs.io/en/latest/grid-computing/job-router.html#an-example-configuration\n\n"
+ " Note: The removal will occur during the lifetime of the HTCondor V23 feature series.\n")

for attr in ['JOB_ROUTER_DEFAULTS', 'JOB_ROUTER_ENTRIES']:
try:
Expand Down

0 comments on commit 219a475

Please sign in to comment.