dmwm / DMWMMON

1 stars 8 forks source link

extraneous APIs in dmwmmon/datasvc #19

Closed nataliaratnikova closed 8 years ago

nataliaratnikova commented 9 years ago

As of this version: DMWMMON::Web::Core - fetch, format, and return DMWMMON data (v.1.0.2-comp8)

some PhEDEx API have mixed in DMWMMON distribution, which should not be there:

Currently we remove unwanted APIs in DMWMMON-datasvc.spec %setup :

rm -rf perl_lib/PHEDEX/Web/API/{Agent*,Block*,ComponentStatus.pm,D*,Error*,File*,Group*,Inject.pm,L*,M*,NodeUsage*,P*,Request*,SENames.pm,Shift,Subscri*,T*,U*}

Quick fix would be:

/{Agent*,Block*,ComponentsStatus.pm,D*,Error*,File*,Group*,Inject.pm,L*,M*,NodeUsage*,P*,Request*,Route*,SENames.pm,Shift,Subscri*,T*,U*}

Note ComponentStatus renamed to ComponentsStatus, Route* added ...

As a long-term solution we may look into possibility of using sparse checkout, or cutting unwanted stuff at the tag level. The idea is to define an inclusive list, instead of exclusive one.

nataliaratnikova commented 8 years ago

This is fixed in October release.