From bfac0e3b833e99cfcec6d83dd9e9a66de80dfeb7 Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Mon, 5 Jun 2017 17:47:13 -0400 Subject: [PATCH] Add plugin.json for existing plugins #1157 --- libraries/plugins/account_by_key/plugin.json | 4 ++++ libraries/plugins/account_history/plugin.json | 4 ++++ libraries/plugins/account_statistics/plugin.json | 4 ++++ libraries/plugins/auth_util/plugin.json | 4 ++++ libraries/plugins/block_info/plugin.json | 4 ++++ libraries/plugins/blockchain_statistics/plugin.json | 4 ++++ libraries/plugins/debug_node/plugin.json | 4 ++++ libraries/plugins/delayed_node/plugin.json | 4 ++++ libraries/plugins/follow/plugin.json | 4 ++++ libraries/plugins/market_history/plugin.json | 4 ++++ libraries/plugins/private_message/plugin.json | 4 ++++ libraries/plugins/raw_block/plugin.json | 4 ++++ libraries/plugins/tags/plugin.json | 4 ++++ libraries/plugins/witness/plugin.json | 4 ++++ programs/util/newplugin.py | 7 +++++++ 15 files changed, 63 insertions(+) create mode 100644 libraries/plugins/account_by_key/plugin.json create mode 100644 libraries/plugins/account_history/plugin.json create mode 100644 libraries/plugins/account_statistics/plugin.json create mode 100644 libraries/plugins/auth_util/plugin.json create mode 100644 libraries/plugins/block_info/plugin.json create mode 100644 libraries/plugins/blockchain_statistics/plugin.json create mode 100644 libraries/plugins/debug_node/plugin.json create mode 100644 libraries/plugins/delayed_node/plugin.json create mode 100644 libraries/plugins/follow/plugin.json create mode 100644 libraries/plugins/market_history/plugin.json create mode 100644 libraries/plugins/private_message/plugin.json create mode 100644 libraries/plugins/raw_block/plugin.json create mode 100644 libraries/plugins/tags/plugin.json create mode 100644 libraries/plugins/witness/plugin.json diff --git a/libraries/plugins/account_by_key/plugin.json b/libraries/plugins/account_by_key/plugin.json new file mode 100644 index 0000000000..f9b5c7b605 --- /dev/null +++ b/libraries/plugins/account_by_key/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "account_by_key", + "plugin_project": "steemit_account_by_key" +} diff --git a/libraries/plugins/account_history/plugin.json b/libraries/plugins/account_history/plugin.json new file mode 100644 index 0000000000..c6c1f83a8e --- /dev/null +++ b/libraries/plugins/account_history/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "account_history", + "plugin_project": "steemit_account_history" +} diff --git a/libraries/plugins/account_statistics/plugin.json b/libraries/plugins/account_statistics/plugin.json new file mode 100644 index 0000000000..9e6e60b27d --- /dev/null +++ b/libraries/plugins/account_statistics/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "account_statistics", + "plugin_project": "steemit_account_statistics" +} diff --git a/libraries/plugins/auth_util/plugin.json b/libraries/plugins/auth_util/plugin.json new file mode 100644 index 0000000000..5e4321d585 --- /dev/null +++ b/libraries/plugins/auth_util/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "auth_util", + "plugin_project": "steemit_auth_util" +} diff --git a/libraries/plugins/block_info/plugin.json b/libraries/plugins/block_info/plugin.json new file mode 100644 index 0000000000..9f2ccf29c4 --- /dev/null +++ b/libraries/plugins/block_info/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "block_info", + "plugin_project": "steemit_block_info" +} diff --git a/libraries/plugins/blockchain_statistics/plugin.json b/libraries/plugins/blockchain_statistics/plugin.json new file mode 100644 index 0000000000..a01553e0a1 --- /dev/null +++ b/libraries/plugins/blockchain_statistics/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "blockchain_statistics", + "plugin_project": "steemit_blockchain_statistics" +} diff --git a/libraries/plugins/debug_node/plugin.json b/libraries/plugins/debug_node/plugin.json new file mode 100644 index 0000000000..13c047667e --- /dev/null +++ b/libraries/plugins/debug_node/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "debug_node", + "plugin_project": "steemit_debug_node" +} diff --git a/libraries/plugins/delayed_node/plugin.json b/libraries/plugins/delayed_node/plugin.json new file mode 100644 index 0000000000..d2db4be169 --- /dev/null +++ b/libraries/plugins/delayed_node/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "delayed_node", + "plugin_project": "steemit_delayed_node" +} diff --git a/libraries/plugins/follow/plugin.json b/libraries/plugins/follow/plugin.json new file mode 100644 index 0000000000..887129d31f --- /dev/null +++ b/libraries/plugins/follow/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "follow", + "plugin_project": "steemit_follow" +} diff --git a/libraries/plugins/market_history/plugin.json b/libraries/plugins/market_history/plugin.json new file mode 100644 index 0000000000..046a805856 --- /dev/null +++ b/libraries/plugins/market_history/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "market_history", + "plugin_project": "steemit_market_history" +} diff --git a/libraries/plugins/private_message/plugin.json b/libraries/plugins/private_message/plugin.json new file mode 100644 index 0000000000..9cf317f3a0 --- /dev/null +++ b/libraries/plugins/private_message/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "private_message", + "plugin_project": "steemit_private_message" +} diff --git a/libraries/plugins/raw_block/plugin.json b/libraries/plugins/raw_block/plugin.json new file mode 100644 index 0000000000..2c8d419785 --- /dev/null +++ b/libraries/plugins/raw_block/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "raw_block", + "plugin_project": "steemit_raw_block" +} diff --git a/libraries/plugins/tags/plugin.json b/libraries/plugins/tags/plugin.json new file mode 100644 index 0000000000..e2334e301b --- /dev/null +++ b/libraries/plugins/tags/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "tags", + "plugin_project": "steemit_tags" +} diff --git a/libraries/plugins/witness/plugin.json b/libraries/plugins/witness/plugin.json new file mode 100644 index 0000000000..6e95fa3b55 --- /dev/null +++ b/libraries/plugins/witness/plugin.json @@ -0,0 +1,4 @@ +{ + "plugin_name": "witness", + "plugin_project": "steemit_witness" +} diff --git a/programs/util/newplugin.py b/programs/util/newplugin.py index c778bc441a..b8f0f42725 100755 --- a/programs/util/newplugin.py +++ b/programs/util/newplugin.py @@ -1,6 +1,13 @@ #!/usr/bin/env python3 templates = { +"plugin.json" : +"""{ + "plugin_name": "{{plugin_name}}", + "plugin_project": "{{plugin_provider}}_{{plugin_name}}" +} +""", + "CMakeLists.txt" : """file(GLOB HEADERS "include/{plugin_provider}/plugins/{plugin_name}/*.hpp")