Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add out-of-cheese-error/the-way #10876

Merged

Conversation

CrystalMethod
Copy link
Contributor

out-of-cheese-error/the-way: A code snippets manager for your terminal

$ aqua g -i out-of-cheese-error/the-way

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ the-way --help
A code snippets manager for your terminal

Record, retrieve, search, and categorize code snippets

Usage: the-way [OPTIONS] <COMMAND>

Commands:
  new
          Add a new code snippet
  cmd
          Add a new shell snippet
  search
          Fuzzy search to find a snippet and copy, edit or delete it
  sync
          Sync snippets to a Gist
  list
          Lists (optionally filtered) snippets
  import
          Imports code snippets from JSON
  export
          Saves (optionally filtered) snippets to JSON
  clear
          Clears all data
  complete
          Generate shell completions
  themes
          Manage syntax highlighting themes
  config
          Manage the-way data locations
  edit
          Change snippet
  del
          Delete snippet
  cp
          Copy snippet to clipboard
  view
          View snippet
  help
          Print this message or the help of the given subcommand(s)

Options:
  -c, --colorize
          Force colorization even when not in TTY mode

  -p, --plain
          Turn off colorization

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

[out-of-cheese-error/the-way](https://github.com/out-of-cheese-error/the-way): A code snippets manager for your terminal
@CrystalMethod
Copy link
Contributor Author

trimSuffix seems not to be supported yet? Or is there any other chance of stripping -osx in v0.2.1?

INFO[0000] download and unarchive the package            aqua_version=1.37.0 env=darwin/amd64 package_name=out-of-cheese-error/the-way package_version=v0.2.1-osx program=aqua registry=standard
ERRO[0000] install the package                           aqua_version=1.37.0 env=darwin/amd64 error="the asset isn't found: the-way-macos.tar.gz" package_name=out-of-cheese-error/the-way package_version=v0.2.1-osx program=aqua registry=standard
FATA[0000] aqua failed                                   aqua_version=1.37.0 env=darwin/amd64 error="it failed to install some packages" program=aqua

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Mar 18, 2023
@suzuki-shunsuke suzuki-shunsuke added this to the v3.146.0 milestone Mar 18, 2023
@suzuki-shunsuke
Copy link
Member

trimSuffix seems not to be supported yet?

What's trimSuffix?
sprig provides a function trimSuffix, but you talk about different trimSuffix?

http://masterminds.github.io/sprig/strings.html

@suzuki-shunsuke
Copy link
Member

Oh, I see.
You want trim the suffix -osx from the version v0.2.1-osx.
https://github.com/out-of-cheese-error/the-way/releases/tag/v0.2.1-osx

@suzuki-shunsuke
Copy link
Member

suzuki-shunsuke commented Mar 18, 2023

Hmm. aqua doesn't provide the feature to trim the suffix from version at the moment.
This feature is seldom needed.

@suzuki-shunsuke
Copy link
Member

https://github.com/aquaproj/aqua-registry/actions/runs/4454734972/jobs/7824116854?pr=10876

ERRO[0000] install the package                           aqua_version=1.37.0 env=darwin/arm64 error="the asset isn't found: the-way-macos.tar.gz" package_name=out-of-cheese-error/the-way package_version=v0.2.1-osx program=aqua registry=standard

@CrystalMethod
Copy link
Contributor Author

v0.2.1 is the very first release from early 2020, I would be fine with ignoring this release.

@suzuki-shunsuke suzuki-shunsuke merged commit 8230ce7 into aquaproj:main Mar 18, 2023
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... I am always learning new things.

@CrystalMethod CrystalMethod deleted the feat/out-of-cheese-error/the-way branch October 17, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants