-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import DBS3SetDatasetStatus and DBS3SetFileStatus into CRAB #5204
Comments
@novicecpp @mapellidario while I am the default volunteer/victim here, this is something that you should be able to do as well. Feel free to pick it up in case (change the assignee) and then feel free to ask me questions ! |
|
initial version of Examples from my branch https://github.com/belforte/CRABClient/tree/add-change-DBS-dataset-file-status-fix-5204
|
I got parameter manipulation under control to replicate the |
should change command names to:
|
From my side code changes are completed, pending review of #5241 and full validation for "nothing broke" Now
or when indicating a single file (I use same code/format):
|
* add setdataset.py for #5204 * refactor and add setfiles * add Content-type arg to HTTPRequests * setdataset to use contentType * rename commands to setdatasetstatus setfilestatus * add autocomplete * list of LFNs not supported yet * some pylint and pep8 * add logging for setfilestatus
actions from Wa's review in #5241 (review)
|
* add setdataset.py for #5204 * refactor and add setfiles * add Content-type arg to HTTPRequests * setdataset to use contentType * rename commands to setdatasetstatus setfilestatus * add autocomplete * list of LFNs not supported yet * some pylint and pep8 * add logging for setfilestatus * more HTTPRequest,CRABRest,getDBSRest to new RestInterfaces.py * do not pass version to REST clients, it is set in HTTPRequests * removed one import __version__ too many ! * fix use of version and UserAgent * fix use of version and UserAgent * simpley make userAgent=CRABClient/__version__ the default * cleanup use of Content-type * cleanup use of Content-type * add comment
copy files from https://github.com/dmwm/DBS/tree/master/Client/utils/DataOpsScripts to our repo
make them py2/3 compatible
make them work as
crab
commands. We should replace calls to new DBS3 python client with directcurl
to server (as per Valentin's instructions) so that code will work with both py2 and py3Also update instructions in https://twiki.cern.ch/twiki/bin/view/CMSPublic/Crab3DataHandling#Changing_a_dataset_or_file_statu
Add to Jenkins ClientValidation test
The text was updated successfully, but these errors were encountered: