chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template - Delete .lycheeignore link checker exclusion rules - Delete .nvmrc Node.js version specification - Add advanced search panel with filters for address, amount range, transaction type, time range, and validator - Add analytics dashboard with transaction volume, active addresses, and block time metrics - Add Chart.js integration
This commit is contained in:
2
cli/debian/DEBIAN/conffiles
Normal file
2
cli/debian/DEBIAN/conffiles
Normal file
@@ -0,0 +1,2 @@
|
||||
/etc/aitbc/config.yaml
|
||||
/etc/bash_completion.d/aitbc
|
||||
15
cli/debian/DEBIAN/control
Normal file
15
cli/debian/DEBIAN/control
Normal file
@@ -0,0 +1,15 @@
|
||||
Package: aitbc-cli
|
||||
Version: 0.1.0
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Installed-Size: 1
|
||||
Depends: python3 (>= 3.13), python3-pip, python3-venv
|
||||
Maintainer: AITBC Team <team@aitbc.net>
|
||||
Description: AITBC Command Line Interface
|
||||
A comprehensive CLI for interacting with the AITBC network,
|
||||
supporting job submission, mining operations, wallet management,
|
||||
blockchain queries, marketplace operations, and more.
|
||||
.
|
||||
This package includes the AITBC CLI with all dependencies
|
||||
and virtual environment setup for easy deployment on Debian systems.
|
||||
12
cli/debian/DEBIAN/control_dev
Normal file
12
cli/debian/DEBIAN/control_dev
Normal file
@@ -0,0 +1,12 @@
|
||||
Package: aitbc-cli-dev
|
||||
Version: 0.1.0
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Installed-Size: 50
|
||||
Depends: aitbc-cli, python3-dev, build-essential, python3-build
|
||||
Maintainer: AITBC Team <team@aitbc.net>
|
||||
Description: AITBC CLI Development Tools
|
||||
Development tools and headers for the AITBC CLI.
|
||||
Includes build tools, testing frameworks, and development
|
||||
dependencies for extending or modifying the AITBC CLI.
|
||||
6
cli/debian/DEBIAN/md5sums
Normal file
6
cli/debian/DEBIAN/md5sums
Normal file
@@ -0,0 +1,6 @@
|
||||
b10f843a0cddbf9207a6358b8ab64527 usr/share/aitbc/dist/aitbc_cli-0.1.0-py3-none-any.whl
|
||||
01d0497370c8d0cb45244cd30f41f01f usr/share/aitbc/man/aitbc.1
|
||||
005144c9f237dd641663663d1330b1c2 usr/share/aitbc/completion/aitbc_completion.sh
|
||||
01d0497370c8d0cb45244cd30f41f01f usr/share/man/man1/aitbc.1
|
||||
6b880571794eca4896f66a56751460ac etc/bash_completion.d/aitbc
|
||||
5d9930e8cf02efd5e312987c4d7d6a5d etc/aitbc/config.yaml
|
||||
37
cli/debian/DEBIAN/postinst
Executable file
37
cli/debian/DEBIAN/postinst
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Post-installation script for aitbc-cli
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# Create virtual environment after installation
|
||||
VENV_PATH="/opt/aitbc/venv"
|
||||
|
||||
if [ ! -d "$VENV_PATH" ]; then
|
||||
echo "Creating AITBC CLI virtual environment..."
|
||||
python3 -m venv "$VENV_PATH"
|
||||
|
||||
# Install the CLI in the virtual environment
|
||||
"$VENV_PATH/bin/pip" install --upgrade pip
|
||||
"$VENV_PATH/bin/pip" install /usr/share/aitbc/dist/aitbc_cli-0.1.0-py3-none-any.whl
|
||||
|
||||
# Create symlink for system-wide access
|
||||
ln -sf "$VENV_PATH/bin/aitbc" /usr/local/bin/aitbc
|
||||
|
||||
echo "AITBC CLI installed successfully!"
|
||||
fi
|
||||
|
||||
# Set up completion
|
||||
if [ -f "/etc/bash_completion.d/aitbc" ]; then
|
||||
. /etc/bash_completion.d/aitbc
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade|failed-upgrade)
|
||||
echo "Post-installation script failed"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
26
cli/debian/DEBIAN/prerm
Executable file
26
cli/debian/DEBIAN/prerm
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Pre-removal script for aitbc-cli
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|failed-upgrade)
|
||||
# Remove symlink
|
||||
if [ -L "/usr/local/bin/aitbc" ]; then
|
||||
rm -f /usr/local/bin/aitbc
|
||||
fi
|
||||
|
||||
# Remove virtual environment (optional, keep data)
|
||||
# VENV_PATH="/opt/aitbc/venv"
|
||||
# if [ -d "$VENV_PATH" ]; then
|
||||
# rm -rf "$VENV_PATH"
|
||||
# fi
|
||||
;;
|
||||
|
||||
disappear)
|
||||
# Package is being removed
|
||||
rm -f /usr/local/bin/aitbc
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user