8000 Releases · fcolista/apkfile · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: fcolista/apkfile

Release 0.1.2

09 Jun 12:02
Compare
Choose a tag to compare
Added missing check() call and updated README.md

Signed-off-by: Francesco Colista <francesco.colista@gmail.com>

Release 0.1.1

23 Mar 06:09
Compare
Choose a tag to compare
v0.1.1

Release version 0.1.1 - POSIX compliance updates

Release 0.1

06 Mar 11:13
Compare
Choose a tag to compare

Release Notes for apkfile v0.1

We’re excited to announce the release of apkfile v0.1! This update introduces several improvements to make the script more user-friendly, robust, and feature-rich. Below is a summary of the changes:


New Features and Improvements

  1. Automatic Branch Normalization:

    • The script now automatically normalizes branch inputs like 3.21 to v3.21.
    • Example: ./apkfile "wget" "x86_64" "3.21" is treated as v3.21.
  2. Improved Input Handling:

    • The script is now smarter in handling arguments for ARCH and BRANCH.
    • If the second argument is a valid branch (e.g., 3.21 or v3.21), it is treated as the branch, and the default ARCH (x86_64) is used.
    • If the second argument is a valid architecture (e.g., aarch64), it is treated as the ARCH, and the default BRANCH (edge) is used.
  3. Better Output Formatting:

    • The script now provides cleaner and more readable output for search results.
    • Results are formatted in a table-like structure for easier reading.
  4. Caching for API Responses:

    • API responses are now cached to avoid repeated requests for the same data.
    • Cache directory: /tmp/apkfile_cache.
  5. Logging Feature:

    • Added a -l flag to log script output to a file.
    • Log file: /tmp/apkfile.log.
  6. Version Flag:

    • Added a -v flag to display the script's version.
    • Example: ./apkfile -v.
  7. Improved Error Handling:

    • The script now provides clear error messages for invalid inputs (e.g., invalid ARCH or BRANCH).
  8. Configuration File:

    • Added support for a configuration file (~/.apkfilerc) to specify default values for ARCH and BRANCH.

Bug Fixes

  • Fixed an issue where the script would fail if $1 (pattern) was not provided.
  • Improved handling of multi-line HTML responses in the query function.

How to Use

Basic Usage

./apkfile PATTERN [ARCH] [BRANCH]

- PATTERN: The file you are looking for. Supports wildcards (e.g., wge*).
- ARCH: Optional. Default: x86_64
- BRANCH: Optional. Default: edge.

Full List of Options

Option Description
-h Show help
-c Check supported versions and architectures
-l Log output to /tmp/apkfile.log
-v Show version

Examples

Search for a File:

./apkfile "wget"

Search for a File with Custom Arch and Branch:

./apkfile "wget" "aarch64" "v3.18"

Search for a File with Automatic Branch Normalization:

./apkfile "wget" "x86_64" "3.21"

Check Supported Versions and Architectures:

./apkfile -c

Log Output to File:

./apkfile -l "wget"

Show Version:
./apkfile -v

Configuration File

You can create a configuration file (~/.apkfilerc) to specify default values for ARCH and BRANCH.

Example:

# Default architecture
arch="x86_64"

# Default branch
branch="edge"

Valid Values

Parameter Valid Values
ARCH x86_64, x86, aarch64, armhf, ppc64le, s390x, armv7, riscv64, loongarch64, all
BRANCH v3.21, v3.20, v3.19, v3.18, v3.17, v3.16, v3.15, v3.14, v3.13, v3.12, v3.11, v3.10, v3.9, v3.8, v3.7, v3.6, v3.5, v3.4, v3.3, edge, all

Feedback and Support

We hope you enjoy the new features! If you have any questions, feedback, or issues, please open an issue on our GitHub repository.

v0.08

06 Dec 12:14
Compare
Choose a tag to compare

Full Changelog: v0.07...v0.08

v0.07

30 Oct 16:10
Compare
Choose a tag to compare

Fixed issue that made the script fail after changes done on https://pkgs.alpinelinux.org

v0.06

27 May 09:50
Compare
Choose a tag to compare

Added Alpine v3.20

v0.05

20 Dec 21:55
Compare
Choose a tag to compare

Added Alpine v3.19

v0.04

20 Dec 21:58
Compare
Choose a tag to compare

Added Alpine v3.18

v0.03

21 Dec 14:49
Compare
Choose a tag to compare

Added Alpine v3.17

v0.02

21 Dec 14:44
Compare
Choose a tag to compare

Added Alpine v.316

0