Skip to content

Can we clean the clutter #2311

Description

@zack-vii

The repo is pretty big and its hard to tell whats used and whats still there for historical reasons.

I propose we gather the code and reorganize the folder layout a bit.. i.e. API related stuff into one folder .. one folder for 1to1 files . e.g.

  • mdspus.sh, mdsplus.csh,and stuff together with the content of rpm.

  • idl stuff togethser in one folder.

  • device stuff (mitdevices, camshr, remshr) into ./devices

  • tcl, ccl into mdsdcl

  • Kbsidevices contains binaries (?) and java files that are not referenced anywhere but the change logs?

  • Then there is Fix/Cleanup broken/unfinished tdi functions #2014.

  • manpages, docs, ?

We could then order the build of the modules according to
core, core-tests, apis (cpp, idl, java, hdf5 etc), api-tests, devices, docs

Folder structure might as well be

README.md # consolidate README.INSTALL and maybe README.JENKINS.md
conf/
  clang-format # available thru 'make clang'
  (all make stuff, bootstrap, generators automake autoconfig scripts, suppressions)
m4/
configure.m4
Makefile.in
Makefile.inc.in
aclocal.m4
deploy/
include/ # public, API we want to keep intact
_include/ # private but shared, e.g. pthread_port.h, API that may change
core/
  libs/
    mdsshr/
    tdishr/
    mdsipshr/
    mdsdcl/
    ...
  bins/
    actions/
    tdic/
    tditest/
    setevent/
    wfevent/
  tdi/
    *.tdi
  xml/
  os/
    win/
      setJDK_DIR.bat
      icons/
        *.ico
    linux/
      desktop/
      icons/
        $pixmaps
      install/ # (./rpm)
        envsyms.in
        setup.sh
        setup.csh
    macosx/
  misc/
    sites.csv
    mdsplus.jpg
    mdsplus_logo.jpg
apis/
  cpp/
  java/
    java/
      jscope/
      jtraerser/
      ...
    libs/
      mdsjava
      ...
   matlab/
      matlab/
        *.m
   php/
   idl/
     idl/
       *.pro
     libs/
       mdsip/ # former mdslibidl
       mdsevent/ # former idlmdsevent
       mdswidgets/ # former idlmdswidgets
  sql/
  hdf5/
  epics/
  jsnode/
  labview/
    labview/
      MDSplus/
      *.lv
    libs/
      mdsobjects/
  roam/ # ?
devices/
  support/ # former ./device_support/
  d3dshr/ # ?
  camshr/
  ramshr/
  mitdevices/
  pydevices/
  mdsvme/
docs/
examples/
testing/
.gitignore
.gitattributes
.gitmodules
.clang-format

remove

ntwdblib.dll
ntwdblib.lib
scripts/
devscripts/
mdsobjects/labview/MDSplus_LV2012 # zip it and make it available for download on mdsplus.org/dist/LabView
mdsobjects/labview/MDSplus_LV2015 # zip it and make it available for download on mdsplus.org/dist/LabView
updatepkg.log

Metadata

Metadata

Labels

documentationThis is a need for, or an addition to the documentationrefactorRelates to refactoring or code quality improvements

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions