Skip to content

Releases: AOSC-Dev/oma

v0.33.1

04 May 08:47
Compare
Choose a tag to compare

Documentation

  • improve oma install --install-recommend and --install-suggest help message

New Features

  • add Shell integrations
    Currently available for Bash/Zsh (command-not-found.sh) and Fish (command-not-found.fish).

Bug Fixes

  • improve command-not-found directions
  • push missing fish command-not-found commit
  • oma command-not-found always return 127
  • oma command-not-fould should return 127
  • improve UI strings for oma refresh output

Other

  • license code under GPLv3
    A key dependency, rust-apt, is licensed under GPLv3.
  • move PolicyKit rules to /data/policykit

Commit Statistics

  • 9 commits contributed to the release.
  • 9 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Improve command-not-found directions (b0d14fb)
    • Push missing fish command-not-found commit (070dd36)
    • Oma command-not-found always return 127 (261d35a)
    • License code under GPLv3 (22d449d)
    • Move PolicyKit rules to /data/policykit (9a540fe)
    • Add Shell integrations (6dd5327)
    • Oma command-not-fould should return 127 (2b89d1c)
    • Improve UI strings for oma refresh output (cea6107)
    • Improve oma install --install-recommend and --install-suggest help message (3923169)

v0.33.0

04 May 06:44
Compare
Choose a tag to compare

Chore

  • update all deps
  • update all deps

New Features

  • add terminal bell if oma operation is done
  • add query upgadable packages progress spinner
  • add more debug for download method
  • oma install add --install-recommend and --install-suggest argument
  • add more debug message for needs_fix_system method
  • handle if pkg current_state == 4 or 2 (half-install or half-configure)

Bug Fixes

  • do not panic with display CJK message
  • both contents-all and contents-ARCH must be downloaded

Refactor

  • no need to collect in search_pkgs method
  • use Box to optimize logic in decompress method
  • use BufReader to decompress package database
  • use BinContents to command-not-found feature
    Twice as fast
  • no need to download multi contents
  • no need to collect checksum entry to parse
  • optmize search_pkgs filter logic
    Remove stupid sort after reverse
  • optmize search_pkgs filter logic again
  • optmize search_pkgs filter logic
  • no need to collect upgrade package in update_inner method
  • abstract install_other logic

Style

  • use cargo clippy and cargo fmt to lint code
  • use cargo-fmt and cargo-clippy to lint code

Commit Statistics

  • 25 commits contributed to the release over the course of 1 calendar day.
  • 2 days passed between releases.
  • 23 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Update all deps (b5faa67)
    • Do not panic with display CJK message (34a190b)
    • Revert "fix: do not panic with display CJK message" (f0da2c3)
    • No need to collect in search_pkgs method (f5a5571)
    • Use cargo clippy and cargo fmt to lint code (03ca22e)
    • Use Box to optimize logic in decompress method (478c2e8)
    • Use BufReader to decompress package database (4f8da4a)
    • Use BinContents to command-not-found feature (64d88bf)
    • Revert "refactor: no need to download multi contents" (4e98e2f)
    • No need to download multi contents (d08e903)
    • No need to collect checksum entry to parse (86432a7)
    • Both contents-all and contents-ARCH must be downloaded (4cec322)
    • Optmize search_pkgs filter logic (04133e0)
    • Optmize search_pkgs filter logic again (bbee127)
    • Optmize search_pkgs filter logic (9296db3)
    • Update all deps (ebf8d73)
    • Use cargo-fmt and cargo-clippy to lint code (fe1d5ff)
    • Add terminal bell if oma operation is done (2ee74ed)
    • Add query upgadable packages progress spinner (a50f65e)
    • No need to collect upgrade package in update_inner method (01e8cfd)
    • Abstract install_other logic (50bca89)
    • Add more debug for download method (31634d3)
    • Oma install add --install-recommend and --install-suggest argument (b627c8a)
    • Add more debug message for needs_fix_system method (a5e6e1f)
    • Handle if pkg current_state == 4 or 2 (half-install or half-configure) (537d428)

v0.32.2

02 May 06:26
Compare
Choose a tag to compare

Bug Fixes

  • truncate file and set file length == 0 if file_size >= download total_size
  • fetch inrelease return checksum mismatch error if mirror inrelease is updated

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Truncate file and set file length == 0 if file_size >= download total_size (0a04b48)
    • Fetch inrelease return checksum mismatch error if mirror inrelease is updated (978173e)

v0.32.1

02 May 05:56
Compare
Choose a tag to compare

Chore

  • update anstream to 0.3.2

New Features

  • return 0 if operation allow ctrlc
  • open new thread to check contents file metadata

Bug Fixes

  • oma mark needs root

Refactor

  • optmize local mirror download and extract logic
  • optmize download db logic again
    • Do not checksum multi times
    • Do not download contents compress file multi times

Commit Statistics

  • 6 commits contributed to the release.
  • 6 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Update anstream to 0.3.2 (49b899d)
    • Optmize local mirror download and extract logic (90e16b1)
    • Return 0 if operation allow ctrlc (ba2c3a9)
    • Optmize download db logic again (bfb455e)
    • Oma mark needs root (6fa58bd)
    • Open new thread to check contents file metadata (277decc)

v0.32.0

01 May 12:13
Compare
Choose a tag to compare

New Features

  • adjust terminal width < 90 progress bar style

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Adjust terminal width < 90 progress bar style (6307688)

v0.31.1

01 May 10:05
Compare
Choose a tag to compare

New Features

  • check contents create time to tell user contents file may not be accurate
  • display searching contents message if match is empty

Bug Fixes

  • do not panic with display CJK message

Refactor

  • download progress spinner no need to use new thread wait request send

Commit Statistics

  • 4 commits contributed to the release.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Do not panic with display CJK message (dc3e49d)
    • Check contents create time to tell user contents file may not be accurate (e74d9aa)
    • Display searching contents message if match is empty (dc413ad)
    • Download progress spinner no need to use new thread wait request send (beed5ad)

v0.31.0

30 Apr 18:02
Compare
Choose a tag to compare

Documentation

  • add some comment in download method

New Features

  • display resume info
  • improve ui string
  • do not inc global bar if file exist and running checksum

Refactor

  • re use validator to improve checksum
  • improve download methold open file times
  • use validator to verify integrity while downloading
  • improve get file_size logic

Style

  • use cargo-clippy to lint code
  • inline function in download method

Commit Statistics

  • 13 commits contributed to the release.
  • 10 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Use cargo-clippy to lint code (3843cbd)
    • Revert "feat: display resume info" (698e983)
    • Display resume info (cffa40f)
    • Improve ui string (164a134)
    • Inline function in download method (c8dbd5a)
    • Re use validator to improve checksum (234ef60)
    • Revert "feat: do not inc global bar if file exist and running checksum" (2b20204)
    • Do not inc global bar if file exist and running checksum (e7d6592)
    • Improve download methold open file times (aa21dda)
    • Add some comment in download method (a9b8e62)
    • Use validator to verify integrity while downloading (7e710d2)
    • Revert "refactor: improve get file_size logic" (568eae9)
    • Improve get file_size logic (da89ed6)

v0.30.3

30 Apr 06:29
Compare
Choose a tag to compare

Chore

  • update all deps
  • remove useless test

Refactor

  • improve resume download logic

Style

  • use cargo clippy to lint code

Commit Statistics

  • 4 commits contributed to the release.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized

v0.30.2

29 Apr 11:19
Compare
Choose a tag to compare

Chore

  • update all deps

Bug Fixes

  • revert retry 2 times start dpkg-force-all mode
  • download again when checksum does not match and returns 416

Commit Statistics

  • 3 commits contributed to the release.
  • 3 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Revert retry 2 times start dpkg-force-all mode (30f20fd)
    • Download again when checksum does not match and returns 416 (38262ff)
    • Update all deps (4af6ab4)

v0.30.1

29 Apr 09:06
Compare
Choose a tag to compare

Chore

  • remove uselses test

Bug Fixes

  • Reson => Reason
  • add missing ! to fix wrong logic in scan_closed_topic

Refactor

  • improve auto close topic

Commit Statistics

  • 4 commits contributed to the release.
  • 2 days passed between releases.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Remove uselses test (22ce5aa)
    • Reson => Reason (dca23ff)
    • Add missing ! to fix wrong logic in scan_closed_topic (e378423)
    • Improve auto close topic (fed5365)