Merge "Remove filesystem-based code path"
This commit is contained in:
commit
efcf3b5fe8
@ -43,38 +43,14 @@ declare -A plugins
|
||||
|
||||
test -r data/devstack-plugins-registry.header && cat data/devstack-plugins-registry.header
|
||||
|
||||
if test -n "$git_dir"; then
|
||||
pushd ${git_dir} >/dev/null
|
||||
for i in *; do
|
||||
pushd ${i} >/dev/null
|
||||
if output="$(git log --diff-filter=A --format='%cd' --date=short -1 -- devstack/plugin.sh)"; then
|
||||
test -n "$output" && plugins[$i]=${output}
|
||||
fi
|
||||
popd >/dev/null
|
||||
done
|
||||
popd >/dev/null
|
||||
sorted_plugins=$(python tools/generate-devstack-plugins-list.py)
|
||||
|
||||
sorted_plugins=( $(for k in "${!plugins[@]}"; do echo "$k"; done | sort))
|
||||
|
||||
for k in "${sorted_plugins[@]}"; do
|
||||
project=${k:0:18}
|
||||
giturl="git://git.openstack.org/openstack/${k:0:26}"
|
||||
pdate="${plugins[$k]}"
|
||||
printf "|%-18s|%-60s (%-10s)|\n" "${project}" "${giturl}" "${pdate}"
|
||||
printf "+------------------+-------------------------------------------------------------------------+\n"
|
||||
done
|
||||
|
||||
else
|
||||
sorted_plugins=$(python tools/generate-devstack-plugins-list.py)
|
||||
|
||||
for k in ${sorted_plugins}; do
|
||||
project=${k:0:18}
|
||||
giturl="git://git.openstack.org/openstack/${k:0:26}"
|
||||
printf "|%-18s|%-73s|\n" "${project}" "${giturl}"
|
||||
printf "+------------------+-------------------------------------------------------------------------+\n"
|
||||
done
|
||||
|
||||
fi
|
||||
for k in ${sorted_plugins}; do
|
||||
project=${k:0:18}
|
||||
giturl="git://git.openstack.org/openstack/${k:0:26}"
|
||||
printf "|%-18s|%-73s|\n" "${project}" "${giturl}"
|
||||
printf "+------------------+-------------------------------------------------------------------------+\n"
|
||||
done
|
||||
|
||||
test -r data/devstack-plugins-registry.footer && cat data/devstack-plugins-registry.footer
|
||||
) > doc/source/plugin-registry.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user