Git Product home page Git Product logo

huber's People

Contributors

da-moon avatar dancemore avatar dependabot[bot] avatar dtolnay avatar duck1123 avatar innobead avatar kianmeng avatar return-misapuding avatar sangam14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

huber's Issues

Allow operations based on a specific repo instead of all repos only

Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to install firecrakcer due to the release file change

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Search packages via repo

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

`make generate` to update package list w/ the new added packages

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Update all installed packages at once

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Support for musl based distro and non-bash shell

Describe the bug

Unable to run on musl based distro and the installation script unable setup path for non-bash shell

To Reproduce

Follow the instruction on musl based distro

Expected behavior

Working properly.

Environment

  • OS version
    alpine or openwrt
  • Huber version
    • unable to run huber -Vdue to link error (from latest version 0.3.6)
โฏ ldd =huber
        /lib64/ld-linux-x86-64.so.2 (0x7f2888827000)
Error loading shared library libarchive.so.13: No such file or directory (needed by /root/.huber/bin/huber)
        libz.so.1 => /lib/libz.so.1 (0x7f2888244000)
        libssl.so.1.1 => /lib/libssl.so.1.1 (0x7f28881c3000)
        libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0x7f2887f42000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f2887f28000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f2888827000)
        libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f2888827000)
        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f2888827000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f2888827000)
Error relocating /root/.huber/bin/huber: __vsnprintf_chk: symbol not found
Error relocating /root/.huber/bin/huber: __fprintf_chk: symbol not found
Error relocating /root/.huber/bin/huber: __strncpy_chk: symbol not found
Error relocating /root/.huber/bin/huber: __memcpy_chk: symbol not found
Error relocating /root/.huber/bin/huber: __snprintf_chk: symbol not found
Error relocating /root/.huber/bin/huber: archive_entry_hardlink: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_close: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_free: symbol not found
Error relocating /root/.huber/bin/huber: __res_init: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_disk_set_standard_lookup: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_disk_set_options: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_header: symbol not found
Error relocating /root/.huber/bin/huber: archive_set_error: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_data_block: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_support_format_all: symbol not found
Error relocating /root/.huber/bin/huber: archive_errno: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_support_filter_all: symbol not found
Error relocating /root/.huber/bin/huber: archive_error_string: symbol not found
Error relocating /root/.huber/bin/huber: archive_entry_set_hardlink: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_next_header: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_support_format_raw: symbol not found
Error relocating /root/.huber/bin/huber: archive_entry_set_pathname: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_finish_entry: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_data_block: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_set_seek_callback: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_close: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_open: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_disk_new: symbol not found
Error relocating /root/.huber/bin/huber: archive_write_free: symbol not found
Error relocating /root/.huber/bin/huber: archive_entry_pathname: symbol not found
Error relocating /root/.huber/bin/huber: archive_read_new: symbol not found
Error relocating /root/.huber/bin/huber: archive_entry_free: symbol not found

Additional context

I would like to use huber as a replacement for brew on musl based, embedded system for installing some modern cli tools. huber can provide a static linked, musl build for these systems.
Also there're many non-bash environment, from busybox ash to modern shell like zsh and fish, the installations script should handle these case or just do nothing but remind user to do so.

Btw another question, is it better to put all the package manifests into a separate repo, thus user don't need to pull all the source code to install package.

The version order of the searched package is not correct

Describe the bug

huber search kind -a, the latest version should be 0.10.0 instead 0.9.0.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Add indicator when cloning managed or unmanaged huber package repos

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to install the package when release tag is not version like kustomize/vx.x.x

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Search packages via description

Is your feature request related to a problem? Please describe.

search <pattern> -d

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

The output of `huebr show` should be sorted by name

Describe the bug

As titled,

โฏ huber show
 Name         Version           Current  Kind 
 kustomize    kustomize/v3.9.2  true     Release 
 croc         v8.6.8            true     Release 
 powershell   v7.1.2            true     Release 
 k3d          v4.4.1            true     Release 
 minikube     v1.17.1           true     Release 
 argocd       v1.8.4            true     Release 
 terrascan    v1.3.2            true     Release 
 k3s          v1.20.4+k3s1      true     Release 
 deno         v1.8.2            true     Release 
 kubectl      v1.20.5           true     Release 
 gh           v1.8.1            true     Release 
 ignite       v0.8.0            true     Release 
 kubefire     v0.3.4            true     Release 
 k6           v0.30.0           true     Release 
 tracee       v0.4.0            true     Release 
 k9s          v0.24.2           true     Release 
 kubevirt     v0.38.1           true     Release 
 firecracker  v0.24.2           true     Release 
 kind         v0.10.0           true     Release 
 huber        v0.3.0            true     Release 
 bat          v0.18.0           true     Release 
 ali          v0.5.4            true     Release 
 ssvmup       v0.1.20           true     Release 
 wasmtime     v0.25.0           true     Release 
 octant       v0.18.0           true     Release 
 jq           jq-1.6            true     Release 
 wabt         1.0.20            true     Release 
 wasmer       1.0.2             true     Release 
 nushell      0.27.1            true     Release 

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Test new packages locally

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to update non-semantic release

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Use stream to get the searched packages

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Cant install tracee

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Support non-prebuilt CLI release installation

Is your feature request related to a problem? Please describe.

Not every project release has pre-built artifacts to install directly.

  • Some projects only have source code release but with some instrumental script provided for building and installing the artifacts.
  • or, some need to rely on another package manager or script to do the installation

Describe the solution you'd like

Huber supports non-prebuilt CLI installation

Describe alternatives you've considered

N/A

Additional context

Add any other context or screenshots about the feature request here.

Support packages w/ non-qualified semantic version like linkerd2

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Add package catagory/tag/label

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Incorrectly update to the recent release version of package instead of the latest version

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Rancher release info not accurate

Describe the bug

The output of huber search rancher --all only shows releases up through 2.4.9. It doesn't show anything in the 2.4 line higher than that, nor does is show anything from 2.5.

Environment

macOS. (your template still refers to kubefire btw)

 - OS version
    - run `cat /etc/os-release`
 - Kubefire version
    - run `kubefire version`
 - Kubefire runtime info
    - run `kubefire info` 

Support multiple symbolic links to executable

Is your feature request related to a problem? Please describe.

As titled, but right now the executable_mappings does not support multiple mapping.

executable_mappings: Some(hashmap! {
                    "xh".to_string() => "xh".to_string(),
                }),

Describe the solution you'd like

executable_mappings: Some(hashmap! {
                    "xh".to_string() => "xh xhs".to_string(),
                }),

then, xh and xhs links created and point to the original xh executable.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to install via cargo: failed to run custom build command for `compress-tools v0.11.2`

Describe the bug

Installing huber using cargo fails, complaining about missing libarchive, despite it being installed.

To Reproduce

System:

  • Ubuntu 22.04.1 LTS
  • rustc 1.65.0 (897e37553 2022-11-02)
  • rustup 1.25.1 (bb60b1e89 2022-07-12)

I installed the dependencies:

$ sudo apt install libssl-dev libarchive-dev
[sudo] password for duncan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

libssl-dev is already the newest version (3.0.2-0ubuntu1.7).

The following NEW packages will be installed:
  libarchive-dev
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 581 kB of archives.
After this operation, 2,195 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libarchive-dev amd64 3.6.0-1ubuntu1 [581 kB]
Fetched 581 kB in 1s (677 kB/s)        
Selecting previously unselected package libarchive-dev:amd64.
(Reading database ... 1116613 files and directories currently installed.)
Preparing to unpack .../libarchive-dev_3.6.0-1ubuntu1_amd64.deb ...
Unpacking libarchive-dev:amd64 (3.6.0-1ubuntu1) ...
Setting up libarchive-dev:amd64 (3.6.0-1ubuntu1) ...
Processing triggers for man-db (2.10.2-1) ...

I then tried to install huber using cargo, which failed:

$ cargo install huber
    Updating crates.io index
  Installing huber v0.3.8
   Compiling autocfg v1.1.0
   Compiling libc v0.2.137
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.103
   Compiling memchr v2.5.0
   Compiling pkg-config v0.3.26
   Compiling log v0.4.17
   Compiling cfg-if v1.0.0
   Compiling serde v1.0.147
   Compiling serde_derive v1.0.147
   Compiling indexmap v1.9.1
   Compiling num-traits v0.2.15
   Compiling futures-core v0.3.25
   Compiling num-integer v0.1.45
   Compiling slab v0.4.7
   Compiling jobserver v0.1.25
   Compiling futures-channel v0.3.25
   Compiling openssl v0.10.42
   Compiling once_cell v1.16.0
   Compiling cc v1.0.74
   Compiling scopeguard v1.1.0
   Compiling httparse v1.8.0
   Compiling native-tls v0.2.11
   Compiling itoa v1.0.4
   Compiling serde_json v1.0.87
   Compiling pin-project-lite v0.2.9
   Compiling num-bigint v0.2.6
   Compiling thiserror v1.0.37
   Compiling bytes v1.1.0
   Compiling lock_api v0.4.9
   Compiling hashbrown v0.12.3
   Compiling version_check v0.9.4
   Compiling parking_lot_core v0.9.4
   Compiling openssl-sys v0.9.77
   Compiling unicase v2.6.0
   Compiling ring v0.16.20
   Compiling aho-corasick v0.7.19
   Compiling num_cpus v1.14.0
   Compiling tokio v1.21.2
   Compiling ryu v1.0.11
   Compiling futures-sink v0.3.25
   Compiling smallvec v1.10.0
   Compiling futures-task v0.3.25
   Compiling regex-syntax v0.6.28
   Compiling encoding_rs v0.8.31
   Compiling mio v0.8.5
   Compiling socket2 v0.4.7
   Compiling time v0.1.44
   Compiling regex v1.7.0
   Compiling iana-time-zone v0.1.53
   Compiling anyhow v1.0.66
   Compiling futures-util v0.3.25
   Compiling fnv v1.0.7
   Compiling http v0.2.8
   Compiling chrono v0.4.22
   Compiling openssl-macros v0.1.0
   Compiling thiserror-impl v1.0.37
   Compiling tokio-macros v1.8.0
   Compiling futures-macro v0.3.25
   Compiling parking_lot v0.12.1
   Compiling tracing-core v0.1.30
   Compiling signal-hook-registry v1.4.0
   Compiling bitflags v1.3.2
   Compiling foreign-types-shared v0.1.1
   Compiling pin-utils v0.1.0
   Compiling lazy_static v1.4.0
   Compiling futures-io v0.3.25
   Compiling hyperx v1.4.0
   Compiling foreign-types v0.3.2
   Compiling tracing v0.1.37
   Compiling tinyvec_macros v0.1.0
   Compiling percent-encoding v2.1.0
   Compiling matches v0.1.9
   Compiling tinyvec v1.6.0
   Compiling tokio-util v0.7.4
   Compiling libz-sys v1.1.8
   Compiling atty v0.2.14
   Compiling openssl-probe v0.1.5
   Compiling base64 v0.13.1
   Compiling crossbeam-utils v0.8.12
   Compiling httpdate v1.0.2
   Compiling try-lock v0.2.3
   Compiling want v0.3.0
   Compiling h2 v0.3.15
   Compiling unicode-normalization v0.1.22
   Compiling form_urlencoded v1.0.1
   Compiling http-body v0.4.5
   Compiling memoffset v0.6.5
   Compiling tower-service v0.3.2
   Compiling unicode-bidi v0.3.8
   Compiling regex-automata v0.1.10
   Compiling unicode-width v0.1.10
   Compiling bstr v0.2.17
   Compiling idna v0.2.3
   Compiling hyper v0.14.22
   Compiling tokio-native-tls v0.3.0
   Compiling libssh2-sys v0.2.23
   Compiling csv-core v0.1.10
   Compiling terminal_size v0.1.17
   Compiling dirs v1.0.5
   Compiling crossbeam-epoch v0.9.11
   Compiling itoa v0.4.8
   Compiling termcolor v1.1.3
   Compiling mime v0.3.16
   Compiling linked-hash-map v0.5.6
   Compiling untrusted v0.7.1
   Compiling byteorder v1.4.3
   Compiling quick-error v1.2.3
   Compiling spin v0.5.2
   Compiling ucd-trie v0.1.5
   Compiling humantime v1.3.0
   Compiling pest v2.4.1
   Compiling term v0.5.2
   Compiling yaml-rust v0.4.5
   Compiling csv v1.1.6
   Compiling console v0.15.2
   Compiling hyper-tls v0.5.0
   Compiling simple_asn1 v0.4.1
   Compiling url v2.3.0
   Compiling serde_urlencoded v0.7.1
   Compiling pem v0.8.3
   Compiling dirs-sys v0.3.7
   Compiling ipnet v2.5.0
   Compiling number_prefix v0.3.0
   Compiling encode_unicode v0.3.6
   Compiling language-tags v0.3.2
   Compiling base64 v0.12.3
   Compiling rayon-core v1.9.3
   Compiling futures v0.3.25
   Compiling jsonwebtoken v7.2.0
   Compiling env_logger v0.6.2
   Compiling prettytable-rs v0.8.0
   Compiling reqwest v0.11.12
   Compiling indicatif v0.15.0
   Compiling dirs v3.0.2
   Compiling semver-parser v0.10.2
   Compiling serde_yaml v0.8.26
   Compiling futures-executor v0.3.25
   Compiling Inflector v0.11.4
   Compiling libgit2-sys v0.12.26+1.3.0
   Compiling data-encoding v2.3.2
   Compiling maplit v1.0.2
   Compiling libcli-rs v0.1.3
   Compiling hubcaps-ex v0.6.2
   Compiling pretty_env_logger v0.3.1
   Compiling semver v0.11.0
   Compiling crossbeam-deque v0.8.2
   Compiling crossbeam-channel v0.5.6
   Compiling compress-tools v0.11.2
   Compiling rayon v1.5.3
   Compiling async-trait v0.1.58
   Compiling convert_case v0.4.0
   Compiling os_str_bytes v6.3.1
   Compiling clap_lex v0.2.4
   Compiling derive_more v0.99.13
error: failed to run custom build command for `compress-tools v0.11.2`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installsFgPPI/release/build/compress-tools-32a93956b5aee2bf/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBARCHIVE_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBARCHIVE_STATIC
  cargo:rerun-if-env-changed=LIBARCHIVE_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'Unable to find libarchive: `"pkg-config" "--libs" "--cflags" "libarchive" "libarchive >= 3.2.0"` did not exit successfully: exit status: 1
  error: could not find system library 'libarchive' required by the 'compress-tools' crate

  --- stderr
  Package libarchive was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libarchive.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libarchive' found
  Package libarchive was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libarchive.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libarchive' found
  ', /home/duncan/.cargo/registry/src/github.com-1ecc6299db9ec823/compress-tools-0.11.2/src/build.rs:14:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `huber v0.3.8`, intermediate artifacts can be found at `/tmp/cargo-installsFgPPI`

Expected behavior

Install via cargo should work.

Environment

  • Ubuntu 22.04.1 LTS
  • rustc 1.65.0 (897e37553 2022-11-02)
  • rustup 1.25.1 (bb60b1e89 2022-07-12)
  • OS version
    • Linux duncan-desktop 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Huber version
    • n/a

Search packages with regex by arg instead of option

Is your feature request related to a problem? Please describe.

Now: search -p <regex pattern>
Future: search <regex pattern> -p

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to uninstall the package with scan_dirs defined

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Add progress bar/indicator

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Add repos via local files instead of remote repos only

Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Support helm chart installation management

Is your feature request related to a problem? Please describe.

  • builtin repos + https://artifacthub.io/
  • values.yaml validation
  • depends on helm package
  • support helm basic commands (install/dryrun, delete, upgrade)
  • use huber helm instead of changing the current subcommand for package management

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Support filtering different status of releases

  • Ability to Filter the different status of releases when running install, update. (encourage users to specify the version they want to update)
  • Ability to show release status in show -a command

Optional to install huber in the user specific folder and update correctly accordingly

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Support arm64/aarch64

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to install wasmtime

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Add the default package artifact naming rule via template variables

Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Support package management after owner or repo changes

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Install/Uninstall/Update multiple packages in one command

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Use the default ssh key if no key specified when accessing the repo via SSH

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Add default artifact naming rules for a universal package management

Have a default artifact download rule so there is an option to no need to manage projects in the built-in packages, but users are still able to do any unmanaged artifact download if the project conforms to the default artifact download rule.

or, users can define a huber config in their repo for the non-default download rule.

Can't update to the latest version of containerd when interleaved versions released

Describe the bug

huber in containerd is installing v1.3.9 (the latest release) instead of the newest release v1.4.3

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Support non-semver compatible artifact filename

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Show update available packages

Is your feature request related to a problem? Please describe.

huber update --dryrun

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to install via curl | bash: line 14: BASH_SOURCE: unbound variable

Describe the bug

I tried installing via cargo and that didn't work (#56), so I tried using the curl | bash method and that failed too.

To Reproduce

$ curl -sfSL https://raw.githubusercontent.com/innobead/huber/master/hack/install.sh | bash

bash: line 14: BASH_SOURCE: unbound variable
++(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }uname
bash: line 14: BASH_SOURCE: unbound variable

Expected behavior

Should work.

Environment

  • OS version
    • Linux duncan-desktop 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
    • Ubuntu 22.04.1 LTS
    • GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
  • Huber version
    • n/a

Doing what the bash script does, manually, works fine - huber seems to work fine.

Failed to install firecracker

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Support windows

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Update reqwest to support tokio 1.0

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Failed to install windows package from compressed file

Describe the bug

Error: Extraction error: 'INTERNAL ERROR: Function 'archive_write_data_block' invoked with archive structure in state 'header', should be in state 'data''

image

ref: OSSystems/compress-tools-rs#50

To Reproduce

Steps to reproduce the behavior with debug log enabled. --log-level=debug

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • OS version
    • run uname -a
  • Huber version
    • run huber -V

Additional context
Add any other context about the problem here.

Make sure `install` install the newest version instead of the recent released version

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

huber install <pkg> --latest

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Allow to install pre-release package without the specific version

Is your feature request related to a problem? Please describe.

For now, if you want to install pre-released package, you need to provide the version to install because by default the install command only respects final released package.

huber in <pkg name> -v <version>

Describe the solution you'd like

As titled, huber will try to install the latest pre-release if the latest release not found.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Support ARMv7

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.