Commit Graph

21 Commits

Author SHA1 Message Date
Marvin Zhang
3438919068 fix: update Python installation script to require version specification
- Modified the Python installation script to remove the default version assignment and enforce version specification during installation.
- Updated usage instructions to reflect the change from a default version to requiring a user-defined version, improving clarity and preventing installation errors.
- This change enhances the robustness of the installation process by ensuring users explicitly define the Python version they wish to install.
2024-12-30 15:23:54 +08:00
Marvin Zhang
d4d771449d feat: add setup command to Python installation script
- Introduced a new "setup" command in the Python installation script to facilitate the setup of pyenv.
- This enhancement improves the usability of the script by allowing users to easily configure their Python environment.
2024-12-30 13:52:33 +08:00
Marvin Zhang
54800974eb feat: refactor system info retrieval and enhance logo output
- Replaced viper calls with utility functions in GetSystemInfo to improve code clarity and maintainability.
- Added a new system.go file with utility functions for retrieving system version and edition information.
- Enhanced PrintLogoWithWelcomeInfo to include detailed system information, improving user experience during server startup.
- Updated output formatting for better readability and consistency in welcome messages.
2024-12-29 19:01:23 +08:00
Marvin Zhang
a8bf1156c4 fix: update default Python version in installation script to 3.12.8
- Changed the default Python version in the Docker base image installation script from 3.12 to 3.12.8 to ensure the latest patch version is used.
- This update enhances the reliability and security of the Python installation process in Docker environments.
2024-12-25 18:14:39 +08:00
Marvin Zhang
17f8917d0a chore: update dependencies and enhance gRPC services
- Updated various dependencies in go.mod and go.sum files, including cloud.google.com/go/compute/metadata to v0.5.2, google.golang.org/grpc to v1.69.2, and google.golang.org/protobuf to v1.36.1.
- Refactored gRPC service definitions to use the latest protoc-gen-go and protoc versions, ensuring compatibility with the latest gRPC-Go features.
- Introduced a new logger utility in core/utils/logger.go to improve logging capabilities across the application.
- Added a README.md for gRPC setup and compilation guidance, enhancing developer experience.
- Improved the Python installation script to handle version listing more effectively and ensure user-specific environment setup.
2024-12-25 17:46:49 +08:00
Marvin Zhang
f03b346ba3 feat: enhance Python installation script with requirements handling and dependency updates
- Added jq to the dependencies in the Docker base image installation script.
- Updated the Python installation script to support handling of custom requirements via command-line arguments.
- Implemented a new function to manage requirements installation, falling back to a default requirements file if none is provided.
- Improved version check logic to prevent redundant installations of Python versions, enhancing efficiency in Docker environments.
2024-12-25 15:26:04 +08:00
Marvin Zhang
4144271a38 feat: enhance Python installation script with command handling and verification
- Refactored the Python installation script to support multiple commands: install, uninstall, switch, and list.
- Added functions for usage printing, dependency installation, pyenv setup, Python version verification, symlink creation, and cleanup.
- Improved error handling for version checks and command execution, enhancing usability and flexibility in Docker environments.
- Default Python version is set to 3.12, with the option to specify a different version during installation.
2024-12-25 15:01:58 +08:00
Marvin Zhang
c4c7d259c6 fix: update pyenv installation script to use user-specific environment file
- Changed the installation script for pyenv to create a user-specific environment file at $HOME/.pyenv-env.sh instead of a system-wide file in /etc/profile.d/.
- Updated the script to source the new environment file, ensuring that the pyenv setup is applied correctly for the user.
- This change improves the flexibility and usability of the pyenv installation in Docker environments.
2024-12-25 14:51:50 +08:00
Marvin Zhang
19b9135238 fix: ci issue 2024-12-17 19:39:26 +08:00
Marvin Zhang
e77d4cdd31 feat: updated dependency management 2024-12-17 19:32:16 +08:00
Marvin Zhang
b125ba340e ci: updated base-image 2024-11-23 10:51:46 +08:00
Marvin Zhang
534f66eabf ci: updated workflow 2024-11-22 20:51:56 +08:00
Marvin Zhang
cd2abe9547 ci: updated workflow 2024-11-22 20:44:26 +08:00
Marvin Zhang
d50383d47a feat: added ipc to task runner 2024-11-21 18:24:29 +08:00
Marvin Zhang
1c618bd152 ci: optimized base-image size 2024-11-20 15:17:03 +08:00
Marvin Zhang
db4dce33a4 ci: updated base-image 2024-11-20 15:04:25 +08:00
Marvin Zhang
46100ebaf5 ci: updated base-image 2024-11-20 14:55:42 +08:00
Marvin Zhang
874f02a9fe ci: updated dockerfile 2024-11-20 14:34:45 +08:00
Marvin Zhang
2203be98c3 ci: updated base-image 2024-11-20 14:24:53 +08:00
Marvin Zhang
1e2cad899d ci: updated dockerfiles 2024-11-20 14:21:05 +08:00
Marvin Zhang
82e078076c refactor: cleanup code 2024-10-25 11:18:57 +08:00