kevinschoon commented on PR #2035:
URL: https://github.com/apache/buildstream/pull/2035#issuecomment-3097268853

   Here is an example of the current state of the inspect output against a test 
project.
   
   Any insight into specifically what types of fields we would like to include 
in this output as well as general feedback would be appreciated.
   
   ```json
   {
     "project": [
       {
         "duplicates": [],
         "declarations": [],
         "config": {
           "name": "test",
           "directory": 
"/home/kevin/repos/external/github.com/apache/buildstream/tests/frontend/inspect",
           "aliases": {
             "example": "https://example.org/";
           },
           "element_overrides": {},
           "source_overrides": {},
           "plugins": [
             {
               "name": "stack",
               "description": "core plugin",
               "plugin_type": "element"
             },
             {
               "name": "import",
               "description": "core plugin",
               "plugin_type": "element"
             },
             {
               "name": "local",
               "description": "core plugin",
               "plugin_type": "source"
             },
             {
               "name": "remote",
               "description": "core plugin",
               "plugin_type": "source"
             },
             {
               "name": "tar",
               "description": "core plugin",
               "plugin_type": "source"
             },
             {
               "name": "local",
               "description": "core plugin",
               "plugin_type": "source-mirror"
             },
             {
               "name": "remote",
               "description": "core plugin",
               "plugin_type": "source-mirror"
             },
             {
               "name": "tar",
               "description": "core plugin",
               "plugin_type": "source-mirror"
             }
           ]
         }
       }
     ],
     "user_config": {
       "configuration": "/home/kevin/.config/buildstream.conf",
       "cache_directory": "/home/kevin/.cache/buildstream",
       "log_directory": "/home/kevin/.cache/buildstream/logs",
       "source_directory": "/home/kevin/.cache/buildstream/sources",
       "build_directory": "/home/kevin/.cache/buildstream/build",
       "source_mirrors": "/home/kevin/.cache/buildstream/sources",
       "build_area": "/home/kevin/.cache/buildstream/build",
       "strict_build_plan": "/home/kevin/.config/buildstream.conf",
       "maximum_fetch_tasks": 10,
       "maximum_build_tasks": 4,
       "maximum_push_tasks": 4,
       "maximum_network_retries": 2
     },
     "elements": [
       {
         "name": "import-local-files.bst",
         "description": "",
         "environment": {
           "PATH": "/usr/bin:/bin:/usr/sbin:/sbin",
           "SHELL": "/bin/sh",
           "TERM": "dumb",
           "USER": "tomjon",
           "USERNAME": "tomjon",
           "LOGNAME": "tomjon",
           "LC_ALL": "C",
           "HOME": "/tmp",
           "TZ": "UTC",
           "SOURCE_DATE_EPOCH": "1321009871"
         },
         "variables": {
           "prefix": "/usr",
           "exec_prefix": "/usr",
           "bindir": "/usr/bin",
           "sbindir": "/usr/sbin",
           "libexecdir": "/usr/libexec",
           "datadir": "/usr/share",
           "sysconfdir": "/etc",
           "sharedstatedir": "/usr/com",
           "localstatedir": "/var",
           "lib": "lib",
           "libdir": "/usr/lib",
           "debugdir": "/usr/lib/debug",
           "includedir": "/usr/include",
           "docdir": "/usr/share/doc",
           "infodir": "/usr/share/info",
           "mandir": "/usr/share/man",
           "build-root": "/buildstream/test/import-local-files.bst",
           "conf-root": ".",
           "install-root": "/buildstream-install",
           "strip-binaries": "",
           "schema": "https",
           "project-name": "test",
           "max-jobs": "8",
           "element-name": "import-local-files.bst"
         },
         "dependencies": [],
         "build_dependencies": [],
         "runtime_dependencies": [],
         "sources": [
           {
             "kind": "local",
             "url": "files",
             "medium": "local",
             "version-type": "cas-digest",
             "version": 
"d8c20623d7160ffe2fd69bd03b3ad7b24a6d1dfd7c96f3ed6c8deb3f268d2d64/85"
           }
         ]
       },
       {
         "name": "import-remote-files.bst",
         "description": "",
         "environment": {
           "PATH": "/usr/bin:/bin:/usr/sbin:/sbin",
           "SHELL": "/bin/sh",
           "TERM": "dumb",
           "USER": "tomjon",
           "USERNAME": "tomjon",
           "LOGNAME": "tomjon",
           "LC_ALL": "C",
           "HOME": "/tmp",
           "TZ": "UTC",
           "SOURCE_DATE_EPOCH": "1321009871"
         },
         "variables": {
           "prefix": "/usr",
           "exec_prefix": "/usr",
           "bindir": "/usr/bin",
           "sbindir": "/usr/sbin",
           "libexecdir": "/usr/libexec",
           "datadir": "/usr/share",
           "sysconfdir": "/etc",
           "sharedstatedir": "/usr/com",
           "localstatedir": "/var",
           "lib": "lib",
           "libdir": "/usr/lib",
           "debugdir": "/usr/lib/debug",
           "includedir": "/usr/include",
           "docdir": "/usr/share/doc",
           "infodir": "/usr/share/info",
           "mandir": "/usr/share/man",
           "build-root": "/buildstream/test/import-remote-files.bst",
           "conf-root": ".",
           "install-root": "/buildstream-install",
           "strip-binaries": "",
           "schema": "https",
           "project-name": "test",
           "max-jobs": "8",
           "element-name": "import-remote-files.bst"
         },
         "dependencies": [],
         "build_dependencies": [],
         "runtime_dependencies": [],
         "sources": [
           {
             "kind": "remote",
             "url": "https://example.org/foo.bar.bin";,
             "medium": "remote-file",
             "version-type": "sha256",
             "version": 
"d1bc8d3ba4afc7e109612cb73acbdddac052c93025aa1f82942edabb7deb82a1"
           },
           {
             "kind": "tar",
             "url": "https://example.org/baz.qux.tar.gz";,
             "medium": "remote-file",
             "version-type": "sha256",
             "version": 
"d1bc8d3ba4afc7e109612cb73acbdddac052c93025aa1f82942edabb7deb82a1"
           }
         ]
       },
       {
         "name": "target.bst",
         "description": "Main stack target for the bst build test",
         "environment": {
           "PATH": "/usr/bin:/bin:/usr/sbin:/sbin",
           "SHELL": "/bin/sh",
           "TERM": "dumb",
           "USER": "tomjon",
           "USERNAME": "tomjon",
           "LOGNAME": "tomjon",
           "LC_ALL": "C",
           "HOME": "/tmp",
           "TZ": "UTC",
           "SOURCE_DATE_EPOCH": "1321009871"
         },
         "variables": {
           "prefix": "/usr",
           "exec_prefix": "/usr",
           "bindir": "/usr/bin",
           "sbindir": "/usr/sbin",
           "libexecdir": "/usr/libexec",
           "datadir": "/usr/share",
           "sysconfdir": "/etc",
           "sharedstatedir": "/usr/com",
           "localstatedir": "/var",
           "lib": "lib",
           "libdir": "/usr/lib",
           "debugdir": "/usr/lib/debug",
           "includedir": "/usr/include",
           "docdir": "/usr/share/doc",
           "infodir": "/usr/share/info",
           "mandir": "/usr/share/man",
           "build-root": "/buildstream/test/target.bst",
           "conf-root": ".",
           "install-root": "/buildstream-install",
           "strip-binaries": "",
           "schema": "https",
           "project-name": "test",
           "max-jobs": "8",
           "element-name": "target.bst"
         },
         "dependencies": [
           "import-local-files.bst",
           "import-remote-files.bst"
         ],
         "build_dependencies": [
           "import-local-files.bst",
           "import-remote-files.bst"
         ],
         "runtime_dependencies": [
           "import-local-files.bst",
           "import-remote-files.bst"
         ],
         "sources": []
       }
     ]
   }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to