Skip to content

Releases: AOSC-Dev/oma

v0.42.0

09 Jun 04:45
Compare
Choose a tag to compare

Chore

  • Update all deps

New Features

  • Improve redo logic
    redo is now generated relative to undo, and only undo operations are recorded in the redo list

    • Also improve history undo/redo output

Style

  • Use cargo-fmt to format code

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

v0.41.1

08 Jun 06:22
Compare
Choose a tag to compare

Chore

  • Update all deps
  • Remove useless line in Cargo.toml
  • Update all deps

Bug Fixes

  • Sometimes progress bar println message not print to new line
  • Add missing fish completions
  • Use console::measure_text_width to calc string width to fix sometimes strip prefix will panic
  • Fix some subcommand packages name completion
  • Add some missing oma bash completions

Style

  • Run cargo clippy and cargo fmt to lint code

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Run cargo clippy and cargo fmt to lint code (4b727fc)
    • Update all deps (1db7f9e)
    • Remove useless line in Cargo.toml (e7d051f)
    • Sometimes progress bar println message not print to new line (6c1d26d)
    • Update all deps (414d362)
    • Add missing fish completions (c2c7977)
    • Use console::measure_text_width to calc string width to fix sometimes strip prefix will panic (028876b)
    • Fix some subcommand packages name completion (9840707)
    • Add some missing oma bash completions (4ceaad6)

v0.41.0

06 Jun 05:33
Compare
Choose a tag to compare

Chore

  • Update all deps
  • Add not automatic build i18n method
  • If i18n translate updated re run build.rs script
    • Also lint code
  • Remove git rebase comment

New Features

  • If action not empty display undo tips
  • Add missing op done tips
  • Add oma optration done undo tips
  • Add oma history feature
  • Oma download add --with-deps flag to download package(s) with deps
    • Also fix path argument requires packages argument
  • Add scan topic to remove string
  • Move help message from inquire to topics.rs to translate
  • Add checksum.rs translate template
  • Add contents.rs translate template
  • Add db.rs translate template
  • Add download.rs translate template
  • Add formatter.rs translate template
  • Add main.rs translate template
  • Add oma.rs translate template
  • Add pager.rs translate template
  • Add tpkgrs translate template
  • Add topics.rs translate template
  • Add verify.rs translate template
  • Add utils.rs translate template
  • Use indicium search engine to oma search package

Bug Fixes

  • Fluent some need use string
  • Use fluent new line format
  • Remove useless " in oma.ftl
  • Fix do-not-edit-topic-sources-list new line
  • Remove useless entry in oma.ftl
  • Fix some provide package order

Other

  • (zh-CN) complete localization
  • (en-US) improve UI strings
  • Sync en-US translate string to zh-CN
  • Add all history string to i18n
  • Adapt some string to i18n; fix redo install package
  • (zh-CN) finish translation
  • (en-US) tweak wording and punctuation marks
  • Fix scan-topic-is-removed name display
  • Fix debug-symbol-available ui string issue
  • Fill zh-CN missing translate template
  • Delete repeated full comma
  • Add missing i18n string
  • Add 'pick-tips' string
  • Fix dep-error-desc desc
  • Add colon symbol; adjust some output format
  • (WIP) zh-CN localization
  • Fix typos in en-US
  • Remove 'type to filter item' in topic tips
  • Reword pid => PID
  • Make Omakase speak English

Refactor

  • Add InstallOptions::default()
  • Refactor db.rs
  • Refactor contents.rs
  • Remove repeated string

Style

  • Run cargo clippy and cargo fmt to lint code
  • Add missing new line symbol in zh-CN/oma.ftl

Commit Statistics

  • 57 commits contributed to the release over the course of 10 calendar days.
  • 11 days passed between releases.
  • 56 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Run cargo clippy and cargo fmt to lint code (3f300df)
    • Update all deps (f1000e6)
    • I18n improve total-download-size and change-storage-usage translate logic (26a5f59)
    • If action not empty display undo tips (678d28c)
    • Add missing op done tips (a5aaaea)
    • (zh-CN) complete localization (a0ecccc)
    • (en-US) improve UI strings (565e0e0)
    • Add oma optration done undo tips (5887f83)
    • Add missing new line symbol in zh-CN/oma.ftl (ae44603)
    • Sync en-US translate string to zh-CN (49e63a1)
    • Add all history string to i18n (20c5644)
    • Adapt some string to i18n; fix redo install package (97bf425)
    • Add InstallOptions::default() (16e7824)
    • Add oma history feature (c71116e)
    • (zh-CN) finish translation (9f0a6a1)
    • (en-US) tweak wording and punctuation marks (93f71e7)
    • Oma download add --with-deps flag to download package(s) with deps (09d507e)
    • Refactor db.rs (77e34ca)
    • Refactor contents.rs (dd96621)
    • Add not automatic build i18n method (dabaf02)
    • If i18n translate updated re run build.rs script (0d3efff)
    • Fix scan-topic-is-removed name display (a2ca88d)
    • Remove git rebase comment (8071d68)
    • Fix debug-symbol-available ui string issue (b2eb60d)
    • Fill zh-CN missing translate template (7c7a30c)
    • Delete repeated full comma (f9e4f56)
    • Add missing i18n string (e929eb8)
    • Add 'pick-tips' string (b1690fe)
    • Fix dep-error-desc desc (fd232b3)
    • Add colon symbol; adjust some output format (21116de)
    • Fluent some need use string (732e17e)
    • (WIP) zh-CN localization (1a67fa9)
    • Fix typos in en-US (256b84d)
    • Remove 'type to filter item' in topic tips (d958f44)
    • Reword pid => PID (a62831f)
    • Make Omakase speak English (76932b6)
    • Remove repeated string (d874e91)
    • Use fluent new line format (ff4844c)
    • Add scan topic to remove string (27fa7a7)
    • Remove useless " in oma.ftl (18412e1)
    • Move help message from inquire to topics.rs to translate (d1187ca)
    • Fix do-not-edit-topic-sources-list new line (2c05590)
    • Remove useless entry in oma.ftl (44a0444)
    • Add checksum.rs translate template (ba9a165)
    • Add contents.rs translate template (c169017)
    • Add db.rs translate template (59f887d)
    • Add download.rs translate template (7e8d0ee)
    • Add formatter.rs translate template (6cc6b0b)
    • Add main.rs translate template (ed226a0)
    • Add oma.rs translate template (8837159)
    • Add pager.rs translate template (5263de3)
    • Add tpkgrs translate template (1c547dd)
    • Add topics.rs translate template (07b60b2)
    • Add verify.rs translate template (728cfc7)
    • Add utils.rs translate template (f5e0c95)
    • Fix some provide package order (243ce7a)
    • Use indicium search engine to oma search package (2e6c1fe)

v0.40.0

25 May 16:43
Compare
Choose a tag to compare

Chore

  • Update all deps
  • Remove useless dep

Documentation

  • Add more code comment

New Features

  • Add i18n support framework
  • Add oma provides/list-files --bin flag to only search bin files
  • Oma contents bin search use strsim to filter result

Bug Fixes

  • Fix only noarch topic enable
  • (again) try to fix unicode width new line display issue
  • Fix oma compile and add i18n example
  • Fix oma list-files --bin argument name

Refactor

  • Box dyn Iterator can auto infer type
  • No need to use Either

Style

  • Use cargo-fmt to format code
  • Run cargo clippy to lint code

Commit Statistics

  • 14 commits contributed to the release over the course of 10 calendar days.
  • 11 days passed between releases.
  • 14 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Use cargo-fmt to format code (70f94f4)
    • Update all deps (4e5de74)
    • Fix only noarch topic enable (d085919)
    • Add more code comment (ab3de4a)
    • Remove useless dep (3768394)
    • (again) try to fix unicode width new line display issue (970b6b3)
    • Fix oma compile and add i18n example (d3f59e8)
    • Add i18n support framework (25b577c)
    • Run cargo clippy to lint code (e6b0898)
    • Box dyn Iterator can auto infer type (2c74220)
    • No need to use Either (eb77b47)
    • Fix oma list-files --bin argument name (19c36ad)
    • Add oma provides/list-files --bin flag to only search bin files (4c192e9)
    • Oma contents bin search use strsim to filter result (ce53688)

v0.39.0

14 May 08:07
Compare
Choose a tag to compare

Chore

  • Update all deps
  • Use zlib-ng to improve performance

New Features

  • Oma search if strsim score is 1000 (max) display 'full match'
  • Max terminal len limit to 150
  • Oma download success display downloaded package count
  • Always lowercase search word
  • Ignore case search word and pkg description

Bug Fixes

  • Oma list only installed version display installed
  • Oma list glob support
  • No need to unlock oma two twice

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Update all deps (4fa16e6)
    • Oma search if strsim score is 1000 (max) display 'full match' (9be10e8)
    • Max terminal len limit to 150 (90584ac)
    • Oma download success display downloaded package count (5930c32)
    • Oma list only installed version display installed (e6ffcd5)
    • Oma list glob support (b78cb13)
    • Always lowercase search word (ad119c5)
    • Ignore case search word and pkg description (6b681b4)
    • No need to unlock oma two twice (f251869)
    • Use zlib-ng to improve performance (fa0efe5)

v0.38.2

12 May 05:47
Compare
Choose a tag to compare

New Features

  • Try to flushing file add progress spinner again
  • Try to flushing file add progress spinner

Bug Fixes

  • Use tokio::io::copy replaced tokio::fs::copy

Style

  • Use cargo-fmt to format 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
    • Use cargo-fmt to format code (0d99d40)
    • Try to flushing file add progress spinner again (f17b335)
    • Try to flushing file add progress spinner (128b930)
    • Use tokio::io::copy replaced tokio::fs::copy (ae9aa24)

v0.38.1

12 May 03:25
Compare
Choose a tag to compare

Chore

  • Update all deps

New Features

  • Copy file use fs::copy to improve preforence; use ProgressSpinner to display fetch local source progress

Bug Fixes

  • Download global bar reset position if checksum fail and not allow resume
  • Fix mirror is updated oma refresh will checksum mismatch
  • Half-configure do not mark pkg as reinstall status
  • Fetch local source inc global bar

Style

  • Use cargo clippy to lint code
  • Use cargo-fmt to format code

Commit Statistics

  • 8 commits contributed to the release.
  • 8 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 (36acc15)
    • Use cargo-fmt to format code (dfb0ea7)
    • Update all deps (ef92fe7)
    • Download global bar reset position if checksum fail and not allow resume (94ac90d)
    • Fix mirror is updated oma refresh will checksum mismatch (e712031)
    • Half-configure do not mark pkg as reinstall status (8fe73f0)
    • Fetch local source inc global bar (019878f)
    • Copy file use fs::copy to improve preforence; use ProgressSpinner to display fetch local source progress (abea1ec)

v0.38.0

11 May 14:19
Compare
Choose a tag to compare

Chore

  • Update all deps

New Features

  • Improve oma show APT-Source info output
  • Add more debug output for fetch local source
    • Also cargo-fmt
  • Use current thread to fetch local source
  • Add fetch local source package progress bar
  • Add some update database debug message

Bug Fixes

  • Use right method to get apt style source
  • Fetch local source InRelease inc progress
  • Oma refresh progress bar inc
  • Fix run decompress file
  • Fetch local source do not uncompress in local source (from) directory
  • Fetch local source pkg use oma style progress bar

Refactor

  • Do not read buf all to memory in download_and_extract_db_local method

Style

  • Use cargo clippy to lint code

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Update all deps (9ea4973)
    • Use cargo clippy to lint code (8a1b4b6)
    • Use right method to get apt style source (6f79419)
    • Improve oma show APT-Source info output (f3b3181)
    • Add more debug output for fetch local source (d4303a2)
    • Revert "feat: use current thread to fetch local source" (e854b81)
    • Use current thread to fetch local source (dbccc72)
    • Fetch local source InRelease inc progress (e605c6b)
    • Oma refresh progress bar inc (2ed87f6)
    • Fix run decompress file (b793959)
    • Fetch local source do not uncompress in local source (from) directory (95c2ee6)
    • Do not read buf all to memory in download_and_extract_db_local method (8d4d28c)
    • Fetch local source pkg use oma style progress bar (1f72ff0)
    • Add fetch local source package progress bar (a4c0f68)
    • Add some update database debug message (a505125)

v0.37.1

11 May 03:24
Compare
Choose a tag to compare

Chore

  • Update all deps

Bug Fixes

  • Fix fetch local source database filename
  • Check file is exist in download_and_extract_db_local
  • Fix fetch local source database file

Style

  • Use cargo fmt to format code
  • Use cargo clippy to lint code

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
    • Fix fetch local source database filename (cfebaf5)
    • Check file is exist in download_and_extract_db_local (798fe79)
    • Fix fetch local source database file (cc6f289)
    • Use cargo fmt to format code (d103963)
    • Use cargo clippy to lint code (7a9a1c1)
    • Update all deps (6af62b0)

v0.37.0

11 May 02:30
Compare
Choose a tag to compare

New Features

  • Improve try_download error output
  • More precise handling of IOError in the try_download function
  • Improve download dir not exist error output
  • Tips user virtual package didn't mark
  • Search order move package to top if pkg.name == input and installed

Bug Fixes

  • Cli::writeln do not output next empty line
    • Also, download method return Reqwest::Error, do not return anyhow
  • Fix run oma install --install-dbg
  • Fix run oma fix-broken
  • Do not display error to due_to in oma topics

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Improve try_download error output (8c5b1a8)
    • Cli::writeln do not output next empty line (1ee0b2f)
    • More precise handling of IOError in the try_download function (d5f6aef)
    • Improve download dir not exist error output (ca7099a)
    • Fix run oma install --install-dbg (cd2ba53)
    • Tips user virtual package didn't mark (bdc2ecc)
    • Fix run oma fix-broken (13c0a6f)
    • Do not display error to due_to in oma topics (baeea2a)
    • Search order move package to top if pkg.name == input and installed (95cf354)