From: Nadav Har'El <n...@scylladb.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master
Remove deprecated "mgmt" submodule
The "mgmt" submodule was a shell (called "Crsh") and ssh implementation
written in Jruby. It predated OSv's REST API and the simple shell written
in Lua on top of it, and once those came out, the old "mgmt" shell became
deprecated and un-recommended.
Moreover, running "scripts/build image=mgmt" hasn't been working for about
a year, because it relies on some external repository holding an
OSv-specific version of the Crsh shell, which is no longer available.
So it's time we get rid of this "mgmt" submodule. Its git repository will
remain (https://github.com/cloudius-systems/mgmt) but it will no longer be
attached to the OSv repository as a submodule.
Signed-off-by: Nadav Har'El <n...@scylladb.com>
Message-Id: <1467017504-13732-1-git-send-email-...@scylladb.com>
---
diff --git a/.gitmodules b/.gitmodules
--- a/.gitmodules
+++ b/.gitmodules
@@ -22,10 +22,6 @@
path = external/x64/misc.bin
url = ../../cloudius-systems/misc.bin.git
ignore = dirty
-[submodule "mgmt"]
- path = mgmt
- url = ../../cloudius-systems/mgmt.git
- ignore = dirty
[submodule "apps"]
path = apps
url = ../../cloudius-systems/osv-apps
diff --git a/config.json b/config.json
--- a/config.json
+++ b/config.json
@@ -4,10 +4,6 @@
"type": "direct-dir",
"path": "${OSV_BASE}/modules/cloud-init/"
},
- "mgmt": {
- "type": "direct-dir",
- "path": "${OSV_BASE}/mgmt/"
- },
"repositories": [
"${OSV_BASE}/apps",
"${OSV_BASE}/modules"
diff --git a/images/specjvm.py b/images/specjvm.py
--- a/images/specjvm.py
+++ b/images/specjvm.py
@@ -1,5 +0,0 @@
-from osv.modules.api import *
-
-_mgmt = require('mgmt')
-_specjvm = require('specjvm')
-run = [ _mgmt.full ]
diff --git a/mgmt b/mgmt
--- a/mgmt
+++ b/mgmt
@@ -1 +0,0 @@
-Subproject commit 7e2bcfd943f92747f45b0746214e3be134313424
diff --git a/modules/mgmt/bootfs.manifest b/modules/mgmt/bootfs.manifest
--- a/modules/mgmt/bootfs.manifest
+++ b/modules/mgmt/bootfs.manifest
null
diff --git a/scripts/build-capstan-images b/scripts/build-capstan-images
--- a/scripts/build-capstan-images
+++ b/scripts/build-capstan-images
@@ -10,7 +10,6 @@ $build cloudius/osv-base
httpserver,cloud-init "OSv bas
$build cloudius/osv-openjdk
java,httpserver,cloud-init "OpenJDK 7/OSv base image for
developers"
$build cloudius/osv-openjdk8
openjdk8-fedora,httpserver,cloud-init "OpenJDK 8/OSv base image for
developers"
$build cloudius/osv-node
node,httpserver,cloud-init "Node/OSv"
-$build cloudius/osv-crash
mgmt,httpserver,cloud-init "OSv/CRaSH shell for developers"
# Appliances:
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -333,7 +333,7 @@ sub top_of_kernel_tree {
my @tree_check = (
"Makefile", "README.md", "arch", "bsd", "compiler",
"core", "documentation", "drivers",
- "fs", "include", "mgmt", "modules",
+ "fs", "include", "modules",
);
foreach my $check (@tree_check) {
diff --git a/scripts/loader.py b/scripts/loader.py
--- a/scripts/loader.py
+++ b/scripts/loader.py
@@ -11,7 +11,6 @@
arch = 'x64'
build_dir = os.path.dirname(gdb.current_objfile().filename)
osv_dir = os.path.abspath(os.path.join(build_dir, '../..'))
-mgmt_dir = os.path.join(osv_dir, 'mgmt')
apps_dir = os.path.join(osv_dir, 'apps')
external = os.path.join(osv_dir, 'external', arch)
modules = os.path.join(osv_dir, 'modules')
@@ -120,7 +119,7 @@ def syminfo(addr):
def translate(path):
'''given a path, try to find it on the host OS'''
name = os.path.basename(path)
- for top in [build_dir, mgmt_dir, external, modules, apps_dir, '/zfs']:
+ for top in [build_dir, external, modules, apps_dir, '/zfs']:
for root, dirs, files in os.walk(top):
if name in files:
return os.path.join(root, name)
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.