cms-PdmV / cmsPdmV

CERN CMS McM repository
4 stars 10 forks source link

dbs or das #980

Open srimanob opened 5 years ago

srimanob commented 5 years ago

I just realize that we use "dbs" in McM, and "das" in relval? What should be used? I think we migrate from dbs to das in relvals long ago.

https://cms-pdmv.cern.ch/mcm/public/restapi/requests/get_test/B2G-RunIIAutumn18DRPremix-00001

vs (i.e. relvals)

https://github.com/cms-sw/cmssw/blob/master/Configuration/PyReleaseValidation/python/relval_steps.py#L1069

justinasr commented 5 years ago

I don't have an explanation for that. If I'm not mistaken, DAS uses DBS (alond with some other things), so it is kind of the same thing?

vlimant commented 1 month ago

https://github.com/cms-sw/cmssw/blob/72f75e663b32f494b3acecf8f20ba6d37d8b5462/Configuration/Applications/python/ConfigBuilder.py#L419

                elif entry.startswith("dbs:") or entry.startswith("das:"):
                    filesFromDASQuery('file dataset = %s'%(entry[4:]),self._options.dasoption,self.process.source)

it is fine indeed to move dbs: to das: in McM.

Or close the issue.