Project

General

Profile

Feature #24553

Update "pychirp"

Added by Marco Mambelli about 2 months ago. Updated 25 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
06/19/2020
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

Update the condor_chirp replacement sent w/ glideinWMS to use the updated HTChirp

  • check if the changes are OK for GlideinWMS
  • move to the new version if OK
  • otherwise maintain a changed version and port what good

GWMS should still provide a drop-in replacement called condor_chirp

Hi Bruno,

Sorry it's been so long, but I have made my own take on this and released a new version of HTChirp. The major differences between what we did is:

1. I kept almost everything inside htchirp.py so that end users can choose to copy only a single Python file in to their job sandboxes, and so that we can (soon) include htchirp.py as an extension of the HTCondor Python bindings while only having to keep track of a single file.
2. I check commands against a list of known commands and use getattr to invoke methods out of the HTChirp object instead of using eval so that we never execute arbitrary user code.

Let me know what you think of my changes and feel free to submit more PRs against it. Certainly the help command can be improved since right now it's all or nothing.

Thank you for pushing on the idea of turning HTChirp into a command line tool!

Jason

History

#1 Updated by Marco Mambelli 25 days ago

  • Target version changed from v3_6_3 to v3_6_4


Also available in: Atom PDF