Updated the log directory structure to change all log paths from `/home/user/logs` to `/home/user/log` to simplify file management. Also update related scripts and configuration files to reflect this change.
Update the Dockerfile to simplify the directory structure, remove unnecessary file copying steps, and update the documentation to reflect how configuration files are used. Modified the restic startup script to directly reference configuration file paths within containers to ensure clearer logic for configuration file creation and path replacement.
- Update the Dockerfile to keep port 7860 for compatibility with older versions of HuggingFace Spaces.
- Add WebDAV related configuration items and their default values in USAGE.md.
- Added webdav-install.sh script for installing WebDAV (FlyDAV).
- Added webdav-start.sh script to start WebDAV service and load configuration.
- Updated documentation to reflect usage and configuration details of the WebDAV service.
Updated Minio service startup script to simplify log output and remove redundant prompts.
- Add a new perform_restic_restore function to docker-entrypoint.sh to perform restic data recovery before service startup.
- Added check_backup_service_conflicts function to check for backup service conflicts to ensure that persistence and restic services cannot be enabled at the same time.
- Update the USAGE.md documentation to add the RESTIC_ENABLED configuration item and emphasize the restriction that persistence and restic services cannot be enabled at the same time.
- Added aria2 profile template with basic options, RPC options, download options, and more.
- Added prepare-aria2-config.sh script for preparing and generating aria2 configuration.
- A new start-aria2.sh script has been added to start the aria2 service and check port availability.
- A new aria2-install.sh script has been added to install aria2 and its dependencies, and to download the AriaNg Web UI.
- All scripts include logging for debugging and monitoring service status.
Refactoring core service installation and startup scripts
- Removed the creation step for service configuration templates and replaced it with copying the template file from a specified path.
- Updated the creation of startup script templates to simplify the initialization of configuration files.
- Cleaned up unnecessary comments and code to improve the readability and maintainability of scripts.
Enhanced dataset upload and rebuild logic to ensure datasets exist and are private before uploading. Updated relevant API calls to create private datasets.
Add Minio configuration templates and service configuration templates and update the installation script to copy these templates to the target directory. Ensure that the configuration files are available and easily customizable.
- Add Minio API and console port exposure to the Dockerfile.
- Update the README.md title to "Minio" and change the application port to 9001.
- Add Minio server and client installation steps to the install script, create configuration templates and startup scripts, set default credentials and health check logic.
Refactoring core service installation and startup scripts
- Updated logging functions to reflect the installation and startup of core services.
- Remove KodBox related installation steps and replace them with basic dependency installation and configuration templates for core services.
- Add service configuration templates and startup script templates for easy customization of service logic.
- Clean up KodBox-specific directories and configurations that are no longer needed to ensure scripts are generic and extensible.
Remove LFS storage cleanup configuration and refactor pre-upload checking and cleanup logic
- Remove LFS cleanup related settings from the configuration file.
- Rename and refactor the `manage_archives` method to `check_and_cleanup_before_upload` to check the archive file count and perform the necessary cleanup before upload.
- Updated scripts to invoke new cleanup logic before upload to ensure more efficient archive management.
Adding Hugging Face data persistence tool and related configurations
- Add rules file to define writing requirements for project code and documentation.
- Add LFS storage cleanup configuration option in the configuration file.
- Added Python scripts to implement Hugging Face data persistence features, including uploading, managing, and restoring archived files.
- Updated Shell scripts to call new Python modules to streamline archive processing.
Enhance persistence configuration and scripts for Hugging Face integration
- Updated Dockerfile to create additional directories for caching and downloads.
- Modified persistence.conf to adjust sync interval and exclude patterns.
- Improved persistence-start.sh to set up Hugging Face cache directory.
- Refined persistence.sh for better error handling and configuration management.
- Added initial backup delay and improved archive handling in scripts.