Commit Graph
190 Commits
Author SHA1 Message Date
xixu-me 5ecb10411f Update compression level error message in test
Adjusted the expected error message in the test for invalid compression level to match the new format, specifying that the value must be an integer between 1 and 22.
2025-10-04 20:36:23 +08:00
xixu-me 2cb2b9eaa7 Fix regex in compression level validation test
Updated the regex pattern in the compression level validation test to escape the dot character, ensuring correct matching of invalid input '1.5'.
2025-10-03 22:05:22 +08:00
xixu-me e5ad0336f3 Add CLAUDE.md with contributor guidance
Introduces CLAUDE.md to provide architecture overview, development commands, code quality checks, build instructions, key features, and testing patterns for the tzst Python library. This file is intended to guide contributors and AI assistants working with the repository.
2025-10-03 21:37:44 +08:00
xixu-me 6442ba91f3 Merge pull request #9 from xixu-me/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-10-03 12:26:45 +08:00
dependabot[bot] e5f6fd2bc4 Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 04:19:18 +00:00
xixu-me ff6c321f0d Merge pull request #8 from xixu-me/dependabot/github_actions/actions/download-artifact-5
Bump actions/download-artifact from 4 to 5
2025-09-01 18:51:25 +08:00
xixu-me 1fc8a85c64 Merge pull request #7 from xixu-me/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-09-01 18:50:40 +08:00
dependabot[bot] 0aae913613 Bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 09:55:01 +00:00
dependabot[bot] 4987bcd468 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 09:32:46 +00:00
xixu-me fd11edd877 Add funding options to FUNDING.yml 2025-08-24 17:44:18 +08:00
xixu-me aca7b5f42c Merge pull request #6 from xixu-me/dependabot/github_actions/stefanzweifel/git-auto-commit-action-6
Bump stefanzweifel/git-auto-commit-action from 5 to 6
2025-07-04 17:17:06 +08:00
dependabot[bot] e454f79e18 Bump stefanzweifel/git-auto-commit-action from 5 to 6
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 6.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 07:25:41 +00:00
xixu-me bcfb299bfb Add SECURITY.md with security policy and best practices
Introduces a SECURITY.md file detailing supported versions, security features, best practices for safe archive extraction, vulnerability reporting procedures, and development security practices for the tzst project.
2025-06-17 21:16:31 +08:00
xixu-me 171c00c8ce Create CODE_OF_CONDUCT.md 2025-06-17 21:04:08 +08:00
xixu-me e6f81ab68b Bump version to 1.2.8
CI/CD / test (macos-latest, 3.12) (push) Waiting to run
CI/CD / test (macos-latest, 3.13) (push) Waiting to run
CI/CD / test (ubuntu-latest, 3.12) (push) Waiting to run
CI/CD / test (ubuntu-latest, 3.13) (push) Waiting to run
CI/CD / test (windows-latest, 3.12) (push) Waiting to run
CI/CD / test (windows-latest, 3.13) (push) Waiting to run
Update the package version from 1.2.7 to 1.2.8 in preparation for a new release.
v1.2.8
2025-06-15 16:22:19 +08:00
xixu-me 0a827ec260 Normalize archive path in CLI output
Introduces a helper to ensure the archive path shown in CLI output matches the final file created, mirroring the extension logic from core.py. This improves user clarity by displaying the correct archive filename before and after creation.
2025-06-15 15:17:10 +08:00
xixu-me 3645979315 Bump version to 1.2.7
CI/CD / test (macos-latest, 3.12) (push) Waiting to run
CI/CD / test (macos-latest, 3.13) (push) Waiting to run
CI/CD / test (ubuntu-latest, 3.12) (push) Waiting to run
CI/CD / test (ubuntu-latest, 3.13) (push) Waiting to run
CI/CD / test (windows-latest, 3.12) (push) Waiting to run
CI/CD / test (windows-latest, 3.13) (push) Waiting to run
Update the __version__ variable in __init__.py to 1.2.7 to reflect the new release.
v1.2.7
2025-06-10 21:34:16 +08:00
xixu-me 3d85da8267 Add cross-platform file move utility for extraction
Introduced _move_file_cross_platform to handle file moves across drives, especially on Windows where rename may fail. Updated archive extraction logic to use this utility, ensuring robust file operations during extraction and conflict resolution.
2025-06-10 20:04:58 +08:00
xixu-me 4e87976fde Bump version to 1.2.6
Updated the __version__ variable in __init__.py to reflect the new release version 1.2.6.
2025-06-10 18:56:30 +08:00
xixu-me 372ad5d653 Update binary filenames in docs and READMEs
Standardized the naming convention for downloadable binaries across all documentation and translated README files. The new format uses 'tzst-{version}-{platform}-{arch}.zip' (e.g., 'tzst-{version}-linux-amd64.zip') for all platforms and architectures, replacing the previous inconsistent patterns.
2025-06-10 18:27:37 +08:00
xixu-me ffa12db17b Update CI workflow for architecture and naming consistency
Replaced 'x86_64' and 'aarch64' with 'amd64' and 'arm64' for consistency in architecture naming. Updated macOS 'os_name' to 'darwin' and removed 'v' prefix from artifact filenames to standardize naming conventions. Adjusted related conditions and paths in the workflow.
2025-06-10 15:18:19 +08:00
xixu-me 4ba2749e82 Update logo URLs in README files
CI/CD / test (macos-latest, 3.12) (push) Waiting to run
CI/CD / test (macos-latest, 3.13) (push) Waiting to run
CI/CD / test (ubuntu-latest, 3.12) (push) Waiting to run
CI/CD / test (ubuntu-latest, 3.13) (push) Waiting to run
CI/CD / test (windows-latest, 3.12) (push) Waiting to run
CI/CD / test (windows-latest, 3.13) (push) Waiting to run
Replaced relative paths for the logo image with absolute URLs pointing to the GitHub repository. This ensures the logo is correctly displayed across all localized README files.
v1.2.5
2025-06-09 13:48:06 +08:00
xixu-me 3fc59f248a Bump version to 1.2.5
Updated the `__version__` in `__init__.py` from 1.2.4 to 1.2.5 to reflect the latest changes or release.
2025-06-09 13:44:27 +08:00
xixu-me 308e7e3c12 Add custom icon to PyInstaller builds
Updated the PyInstaller commands in the CI workflow to include a custom icon (`docs/_static/favicon.ico`) for all binary builds. This ensures the binaries have a consistent branding across platforms.
2025-06-09 13:43:58 +08:00
xixu-me 68800be7a9 Bump version to 1.2.4
Updated the __version__ attribute in the __init__.py file to reflect the new version 1.2.4.
2025-06-09 12:20:49 +08:00
xixu-me af3e657aa4 Update README files with logo and documentation link
Added a centered logo and a link to the documentation in all README files across multiple languages. This enhances the visual presentation and provides direct access to the project's documentation.
2025-06-09 12:18:44 +08:00
xixu-me 305c13119f Improve robustness and clarity in TzstArchive
Refactored error handling, added default behaviors for unknown resolutions, and improved documentation for unsupported modes. Enhanced memory efficiency and compatibility in archive operations, streamlined extraction logic, and validated compression levels more effectively.
2025-06-09 11:14:01 +08:00
xixu-me efbcbbce99 Improve error handling and path validation
Updated compression level validation to use a fallback max level if the zstandard constant is unavailable. Added checks to ensure paths are not None before file operations in the extract_archive function, improving robustness and preventing potential errors.
2025-06-09 10:51:20 +08:00
xixu-me 320ed0a27a Improve robustness in TzstArchive handling
Enhanced error handling and validation in TzstArchive methods, including better checks for file object initialization and compressed stream creation. Updated compression level validation to use dynamic max level from zstd library. Simplified and clarified comments and error messages for unsupported modes and extraction operations.
2025-06-09 10:41:09 +08:00
xixu-me 36ffd4fd2b Update index.md 2025-06-08 11:42:28 +08:00
xixu-me 8abad3616a Update publish_docs.yml 2025-06-08 11:35:26 +08:00
xixu-me ec8705a7cf Update README.pt.md 2025-06-08 11:31:48 +08:00
xixu-me 89efc8e3e8 Update README.ko.md 2025-06-08 11:31:34 +08:00
xixu-me 64f2dd6757 Update README.fr.md 2025-06-08 11:31:18 +08:00
xixu-me 7b306554f7 Update README.de.md 2025-06-08 11:31:01 +08:00
xixu-me c78d74768b Update README.ru.md 2025-06-08 11:30:43 +08:00
xixu-me 37af38e8bd Update README.ar.md 2025-06-08 11:30:16 +08:00
xixu-me 6476e2445a Update README.ja.md 2025-06-08 11:29:59 +08:00
xixu-me d9ca6d0d4e Update README.es.md 2025-06-08 11:29:38 +08:00
xixu-me 641256a133 Update README.zh.md 2025-06-08 11:29:19 +08:00
xixu-me 0b37b707b2 Update README.md 2025-06-08 11:27:22 +08:00
xixu-me 069ac67eea Update examples.md 2025-06-07 00:30:24 +08:00
xixu-me 7e3bb1cf6a Update quickstart.md 2025-06-07 00:12:44 +08:00
xixu-me 57c5fd0e6c Update development.md 2025-06-07 00:00:49 +08:00
xixu-me 7dc51f18c1 Add docs/_static/tzst-square-logo.png 2025-06-06 22:55:37 +08:00
xixu-me 2e40a77f29 Delete docs/_static/tzst-square-logo.png 2025-06-06 22:53:58 +08:00
xixu-me e60f252abc Update development.md 2025-06-06 22:41:45 +08:00
xixu-me 56b39fea44 Update index.md 2025-06-06 22:31:44 +08:00
xixu-me ce061aa396 Update index.md 2025-06-06 22:19:41 +08:00
xixu-me 8de8ec0356 Add social media metadata to documentation
Updated multiple documentation files to include Open Graph and Twitter metadata for better social media sharing. Added a new logo image to the static assets folder and referenced it in the metadata.
2025-06-06 22:15:54 +08:00