Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-1388

Removed installed.apps.d folder

    XMLWordPrintable

    Details

    • Story Points:
      8

      Description

      I'm still dreaming of replacing the whole installed.apps.d folder handling and management with a the following like, which prints all currently installed oA apps:

      [
          p[len(settings.BASE_DIR) +1 :-len('restapi.py') -1 ] 
          for p 
          in glob.glob('{}/*/restapi.py'.format(settings.BASE_DIR))
      ]
      

      Example:

      In [32]: [p[len(settings.BASE_DIR) +1 :-len('restapi.py') -1 ] for p in glob.glob('{}/*/restapi.py'.format(settings.BASE_DIR))]
      Out[32]: 
      ['nagios',
       'nfs',
       'nodb',
       'peering',
       'ceph',
       'cmdlog',
       'rest',
       'drbd',
       'http',
       'samba',
       'ifconfig',
       'lio',
       'userprefs',
       'volumes',
       'taskqueue']
      

      IMHO, the installed.apps.d folder is completely redundant.

      Fixing this has major effects on lots of components, including oaconfig, packages, or the backend.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              swagner Sebastian Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: