tversteeg / emplace Goto Github PK
View Code? Open in Web Editor NEW๐ฉโโค๏ธโ๐โ๐ฉ Synchronize installed packages on multiple machines
License: GNU Affero General Public License v3.0
๐ฉโโค๏ธโ๐โ๐ฉ Synchronize installed packages on multiple machines
License: GNU Affero General Public License v3.0
What is the name of the shell you would like to see support for?
Fish
Describe the bug
Pasting a multi-line command containing two relevant commands only results in the first being captured.
To Reproduce
$ brew install pyenv
brew install pyenv-virtualenv
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 2 casks.
==> Downloading https://homebrew.bintray.com/bottles/pyenv-1.2.24.1.big_sur.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/721c9ad24c32daaff25202899be4a2d5aa877578d4004197eaf137cf5f353dae?response-content-disposition=attachment%3Bfilename%3D%22pyenv-1.2.24.1.big_sur.bottle.ta
######################################################################## 100.0%
==> Pouring pyenv-1.2.24.1.big_sur.bottle.tar.gz
๐บ /usr/local/Cellar/pyenv/1.2.24.1: 742 files, 2.6MB
==> Downloading https://github.com/pyenv/pyenv-virtualenv/archive/v1.1.5.tar.gz
==> Downloading from https://codeload.github.com/pyenv/pyenv-virtualenv/tar.gz/v1.1.5
######################################################################## 100.0%
==> ./install.sh
==> Caveats
To enable auto-activation add to your profile:
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi
==> Summary
๐บ /usr/local/Cellar/pyenv-virtualenv/1.1.5: 22 files, 65.6KB, built in 9 seconds
Opening Emplace repo: "/Users/john.vandenberg/Library/Application Support/emplace".
Mirror this command?
- pyenv (Homebrew)
yes
Committing with message "Emplace - mirror package "pyenv"".
Pushing to remote.
Expected behavior
Each line of the multi-line command should be processed and result in a record being saved
Desktop (please complete the following information):
Machine information
emplace 1.4.0
Darwin 20.3.0
SHELL=/run/current-system/sw/bin/zsh
EMPLACE_CONFIG='/Users/john.vandenberg/Library/Application Support/emplace.toml'
> git --version
git version 2.31.0
What is the name of the package manager you would like to see support for?
Flatpak
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator privileges required? (sudo, etc.)
What is the name of the package manager you would like to see support for?
Yellowdog Updater, Modified
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Describe the bug
N/A
N/A
Expected behavior
N/A
Desktop (please complete the following information):
N/A
Additional context
How does needs_root
work? Does it try to install everything with sudo
prefixed, or something else? What about a system without sudo
, like a BSD derivitive? Would it use doas
? And what about package managers like npm
, pip
, and brew
, which can both use sudo
and not use sudo
?
Machine information
N//A
What is the name of the package manager you would like to see support for?
jupyter nbextension
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
What is the name of the package manager you would like to see support for?
MacPorts
https://www.macports.org/
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
Describe the bug
I manually added files to my emplace repo. emplace didnt detect its workarea is out of sync, and didnt report that it had failed to push the changes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
emplace should either automatically detect that master has new changes, or fail so the user can manually rectify the conflict.
What is the name of the package manager you would like to see support for?
golangs's go install
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
THANK YOU!
I get the following warning when I'm trying to use emplace install
with an APT package:
WARNING: apt does not have stable CLI interface. Use with caution in script.
It's easily tweakable using fern crate. We can leave info and create verbosity switcher to show messages with different priority.
Originally posted by @0xd34b33f in #57
Describe the bug
I am using emplace on Windows 10 currently. I want to manage npm, scoop and cargo packages.
Currently emplace does not recognize these managers, because is_available
returns always false. I narrowed it down to is_executable
returning false, when the commands-Vector does not include ".exe". For scoop there does not seem to be an executable in PATH (just a cmd file). is_executable
does not seem to return true here neither.
Desktop (please complete the following information):
What is the name of the package manager you would like to see support for?
Dandified YUM
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Describe the bug
Installing scoop-packages currently fails due to an incorrectly generated install-command [ERROR] "sudo scoop install package": The system cannot find the file specified. (os error 2)
returning false
in scoop-mngrs needs_root
imlementation generates the correct command, but still scoop is not being found:
[ERROR] "scoop install package": The system cannot find the file specified. (os error 2)
Desktop (please complete the following information):
Additional context
the scoop command is not an executable, so maybe this is the problem here
Describe the bug
Running the history command with the zsh and fish history file returns [ERROR] Critical Emplace error while path to history file is not provided
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Emplace to parse history file.
Desktop (please complete the following information):
Additional context
I have tried against the fish history file as well. I am not sure if I am using the command right because the same error is always returned.
Machine information
emplace 0.4.1
Linux 5.6.0-1036-oem
emplace bugreport
SHELL=/usr/bin/fish
> git --version
git version 2.25.1
Describe the bug
I have started using emplace a few weeks after starting using a mac. My history has some of the software I have installed and it would be great to quickly add most of the entries emplace can detect.
Multi-select might be a bit tricky, in which case I would use an option for emplace to bulk add automatically, and then I can manually remove the few which shouldnt be there.
To Reproduce
Steps to reproduce the behavior:
brew install
'semplace history $HISTFILE
Expected behavior
Multi-select or an --all
flag
What is the name of the package manager you would like to see support for?
https://github.com/vn971/rua#rua----
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
What is the name of the shell you would like to see support for?
Nu
Describe the bug
If an install is in progress in shell-1, creating a new shell will initiate the emplace mirror prompt in shell-2 before anything has been done.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
New shells should not prompt regarding actions started in a different shell
Desktop (please complete the following information):
Machine information
emplace 1.4.0
Darwin 20.3.0
SHELL=/run/current-system/sw/bin/zsh
EMPLACE_CONFIG='/Users/john.vandenberg/Library/Application Support/emplace.toml'
> git --version
git version 2.31.0
Package installation can often depend on the sources where the packages are being fetched from. e.g. a brew install may depend on previous brew tap
commands. c.f. #182
Hi! I've never had any problems compiling this on Android via Termux but I get this error now:
error[E0308]: mismatched types
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/sys-info-0.7.0/lib.rs:618:22
|
618 | pub fn boottime() -> Result<timeval, Error> {
| -------- ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
|
= note: expected enum `std::result::Result<timeval, Error>`
found unit type `()`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
The following warnings were emitted during compilation:
warning: c/linux.c:96:11: warning: implicitly declaring library function 'index' with type 'char *(const char *, int)' [-Wimplicit-function-declaration]
warning: mount = index(procline, ' ');
warning: ^
warning: c/linux.c:96:11: note: include the header <strings.h> or explicitly provide a declaration for 'index'
warning: 1 warning generated.
error: could not compile `sys-info`
Caused by:
process didn't exit successfully: `rustc --crate-name sys_info /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/sys-info-0.7.0/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=8e4c9c41fb88bb44 -C extra-filename=-8e4c9c41fb88bb44 --out-dir /data/data/com.termux/files/home/emplace/target/release/deps -L dependency=/data/data/com.termux/files/home/emplace/target/release/deps --extern libc=/data/data/com.termux/files/home/emplace/target/release/deps/liblibc-90acee28a3686a67.rmeta --cap-lints allow -L native=/data/data/com.termux/files/home/emplace/target/release/build/sys-info-955860057669091d/out -l static=info` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
Not sure if sys-info is a new lib? or perhaps it a new version of it causing the issue?
A larger alternative to solve the same problem as #165 is to import the existing list of packages from the package manager. And an --all
or multi-select would be very helpful.
What is the name of the package manager you would like to see support for?
Ruby's gem install
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
THANK YOU!
Describe the bug
First run doesn't work.
It doesn't initialize .emplace
file and painics after this.
To Reproduce
Steps to reproduce the behavior:
Do everything like in readme.
Note, emplace is modified for extended logging
16:57:37 [ INFO] Cloning repo "https://github.com/username/emplace_storage" to "/home/username/.local/share/emplace".
16:57:39 [ INFO] Config full path: "/home/username/.local/share/emplace/.emplace"
16:57:39 [ INFO] Config: Config { repo_directory: "/home/username/.local/share/emplace", repo: RepoConfig { url: "https://github.com/username/emplace_storage", branch: "master", file: ".emplace" } }
thread 'main' panicked at 'Could not read packages file from repository: failed opening Emplace mirrors file
It cannot read file, because it isn't created, because it's a first run.
Maybe it should manually create it and place empty vec to it, but it seems to be a strange design.
Describe the bug
If I install something using bpkg
, emplace prompts to save the package using pkg
as the package manager.
To Reproduce
Steps to reproduce the behavior:
bpkg
.bpkg install term
.Expected behavior
I expected emplace
to not do anything
Desktop (please complete the following information):
Additional context
I'm working on adding bpkg
support, but I can't add it without this bug being fixed.
Machine information
emplace 1.2.0
Darwin 18.2.0
emplace bugreport
SHELL=/bin/zsh
> git --version
git version 2.30.0
Describe the bug
cargo installation fails with the following errors:
Compiling emplace v1.4.1
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/init.rs:50:13
|
50 | clap_generate::generate::<Bash, _>(&mut public_clap_app(), "emplace", &mut io::stdout())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- --------- ----------------- supplied 3 arguments
| |
| expected 4 arguments
|
note: function defined here
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/clap_generate-3.0.0-beta.5/src/lib.rs:239:8
|
239 | pub fn generate<G, S>(gen: G, app: &mut clap::App, bin_name: S, buf: &mut dyn Write)
| ^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/init.rs:53:13
|
53 | clap_generate::generate::<Zsh, _>(&mut public_clap_app(), "emplace", &mut io::stdout())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- --------- ----------------- supplied 3 arguments
| |
| expected 4 arguments
|
note: function defined here
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/clap_generate-3.0.0-beta.5/src/lib.rs:239:8
|
239 | pub fn generate<G, S>(gen: G, app: &mut clap::App, bin_name: S, buf: &mut dyn Write)
| ^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/init.rs:56:13
|
56 | clap_generate::generate::<Fish, _>(&mut public_clap_app(), "emplace", &mut io::stdout())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- --------- ----------------- supplied 3 arguments
| |
| expected 4 arguments
|
note: function defined here
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/clap_generate-3.0.0-beta.5/src/lib.rs:239:8
|
239 | pub fn generate<G, S>(gen: G, app: &mut clap::App, bin_name: S, buf: &mut dyn Write)
| ^^^^^^^^
error[E0599]: no variant or associated item named ColorAuto
found for enum AppSettings
in the current scope
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/main.rs:38:38
|
38 | .global_setting(AppSettings::ColorAuto)
| ^^^^^^^^^ variant or associated item not found in AppSettings
error[E0599]: no variant or associated item named ColoredHelp
found for enum AppSettings
in the current scope
--> /home/jorpilo/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/main.rs:39:38
|
39 | .global_setting(AppSettings::ColoredHelp)
| ^^^^^^^^^^^ variant or associated item not found in AppSettings
Some errors have detailed explanations: E0061, E0599.
For more information about an error, try rustc --explain E0061
.
error: failed to compile emplace v1.4.1
, intermediate artifacts can be found at /tmp/cargo-installm8YwVw
Caused by:
could not compile emplace
due to 5 previous error
To Reproduce
Steps to reproduce the behavior:
run "cargo install emplace"
Expected behavior
A clear and concise description of what you expected to happen.
emplace version 1.4.1 should be compiled and installed in the system
Desktop (please complete the following information):
Additional context
cargo version 1.56.0 (4ed5d137b 2021-10-04)
rustc version 1.56.1 (59eed8a2a 2021-11-01)
Machine information
Print the contents of emplace bugreport
here.
emplace_precmd:4: parse error near `|'
emplace_precmd:4: parse error in command substitution
What is the name of the package manager you would like to see support for?
Nixpkgs
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Describe the bug
Installing a path of .
shouldnt be registered as '.'.
To Reproduce
cargo install --path .
Installing emplace v1.3.1-alpha.0 (/Users/john.vandenberg/osx/emplace)
Updating crates.io index
Compiling libc v0.2.89
Compiling proc-macro2 v1.0.24
....
Replaced package `emplace v1.3.0` with `emplace v1.3.1-alpha.0 (/Users/john.vandenberg/osx/emplace)` (executable `emplace`)
Opening Emplace repo: "/Users/john.vandenberg/Library/Application Support/emplace".
Mirror this command?
- . (Cargo Rust)
[y/n]
Expected behavior
Dont try to register '.' as an installable, or expand .
to be a complete path, and even better would be to determine the git repo and hash to make it reproducible.
Desktop (please complete the following information):
Machine information
emplace 1.3.1-alpha.0
Darwin 20.3.0
SHELL=/usr/local/bin/zsh
EMPLACE_CONFIG='/Users/john.vandenberg/Library/Application Support/emplace.toml'
> git --version
git version 2.31.0
I am setting up a new macbook pro, and using brew's rust
% rustc --version
rustc 1.56.1
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/init.rs:50:13
|
50 | clap_generate::generate::<Bash, _>(&mut public_clap_app(), "emplace", &mut io::stdout())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- --------- ----------------- supplied 3 arguments
| |
| expected 4 arguments
|
note: function defined here
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/clap_generate-3.0.0-beta.5/src/lib.rs:239:8
|
239 | pub fn generate<G, S>(gen: G, app: &mut clap::App, bin_name: S, buf: &mut dyn Write)
| ^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/init.rs:53:13
|
53 | clap_generate::generate::<Zsh, _>(&mut public_clap_app(), "emplace", &mut io::stdout())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- --------- ----------------- supplied 3 arguments
| |
| expected 4 arguments
|
note: function defined here
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/clap_generate-3.0.0-beta.5/src/lib.rs:239:8
|
239 | pub fn generate<G, S>(gen: G, app: &mut clap::App, bin_name: S, buf: &mut dyn Write)
| ^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/init.rs:56:13
|
56 | clap_generate::generate::<Fish, _>(&mut public_clap_app(), "emplace", &mut io::stdout())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- --------- ----------------- supplied 3 arguments
| |
| expected 4 arguments
|
note: function defined here
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/clap_generate-3.0.0-beta.5/src/lib.rs:239:8
|
239 | pub fn generate<G, S>(gen: G, app: &mut clap::App, bin_name: S, buf: &mut dyn Write)
| ^^^^^^^^
error[E0599]: no variant or associated item named `ColorAuto` found for enum `AppSettings` in the current scope
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/main.rs:38:38
|
38 | .global_setting(AppSettings::ColorAuto)
| ^^^^^^^^^ variant or associated item not found in `AppSettings`
error[E0599]: no variant or associated item named `ColoredHelp` found for enum `AppSettings` in the current scope
--> /Users/jayvdb/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.1/src/main.rs:39:38
|
39 | .global_setting(AppSettings::ColoredHelp)
| ^^^^^^^^^^^ variant or associated item not found in `AppSettings`
Some errors have detailed explanations: E0061, E0599.
For more information about an error, try `rustc --explain E0061`.
error: failed to compile `emplace v1.4.1`, intermediate artifacts can be found at `/var/folders/j6/q46zbprs12n5ds9z7zytq5mm0000gn/T/cargo-installXi08Ao`
Caused by:
could not compile `emplace` due to 5 previous errors
cargo install --git https://github.com/buildfoundation/mainframer.git --branch 3.x
Mirror these 2 commands?
- --git https://github.com/buildfoundation/mainframer.git (Cargo Rust)
- --git 3.x (Cargo Rust)
[Y/n]
What is the name of the package manager you would like to see support for?
Homebrew
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Compiling emplace v1.4.2
error[E0433]: failed to resolve: could not find crate_version
in clap
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:31:24
|
31 | .version(clap::crate_version!())
| ^^^^^^^^^^^^^ could not find crate_version
in clap
error[E0433]: failed to resolve: could not find crate_authors
in clap
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:32:23
|
32 | .author(clap::crate_authors!())
| ^^^^^^^^^^^^^ could not find crate_authors
in clap
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:46:26
|
46 | .about("Don't prompt the user and try to install everything"),
| ^^^^^ method not found in Arg<'_>
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:53:18
|
53 | .about("The location of the configuration file")
| ^^^^^ method not found in Arg<'_>
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:76:8
|
76 | .about(
| ^^^^^ method not found in Arg<'_>
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:88:8
|
88 | .about("The command as entired in the terminal")
| ^^^^^ method not found in Arg<'_>
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:98:8
|
98 | .about("Path to shell history file")
| ^^^^^ method not found in Arg<'_>
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:105:26
|
105 | .about("Don't prompt the user and select everything"),
| ^^^^^ method not found in Arg<'_>
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:115:18
|
115 | .about("Create a new config")
| ^^^^^ method not found in Arg<'_>
error[E0599]: no method named about
found for struct Arg
in the current scope
--> /home/snick/.cargo/registry/src/github.com-1ecc6299db9ec823/emplace-1.4.2/src/main.rs:122:18
|
122 | .about("Print out path to config")
| ^^^^^ method not found in Arg<'_>
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try rustc --explain E0433
.
error: failed to compile emplace v1.4.2
, intermediate artifacts can be found at /tmp/cargo-installZW0vWt
Caused by:
could not compile emplace
due to 10 previous errors
Describe the bug
A failed attempt to install a package with brew should not initiate emplace.
To Reproduce
brew install pyflakes
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "pyflakes".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
Opening Emplace repo: "/Users/john.vandenberg/Library/Application Support/emplace".
Mirror this command?
- pyflakes (Homebrew)
no
Expected behavior
If the install was unsuccessful, it shouldnt be mirrored to other machines.
Machine information
emplace 1.2.2
Darwin 20.3.0
emplace bugreport
SHELL=/usr/local/bin/zsh
> git --version
git version 2.31.0
emplace install
16:00:49 [ INFO] No configuration file found.
The URL of the git repository you (want to) store the mirrors in: link
values must be emitted before tables
16:00:52 [ERROR] Critical Emplace error while installing packages
Caused by:
values must be emitted before tables
Uninstall commands should either add an uninstall command to the db, or remove any prior install command from the db
What is the name of the package manager you would like to see support for?
pkg
("pkg install")
๐ก As it is used by all "FreeBSD" unix distros (theres alot!) and as an added bonus, its also the same for Termux on Android.
Thats two more for the price of one! ๐คฃ
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
Thank you!
What is the name of the package manager you would like to see support for?
pipx. If not as a manager, it should be an alias for the pip3 manager
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
Describe the bug
When you call a command that fails catch is still triggered. This shouldn't happen.
To Reproduce
apt install test ; false
Expected behavior
Emplace should not be started.
Desktop:
Additional context
Should be fixed in src/init.rs
.
What is the name of the package manager you would like to see support for?
antigen
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
Describe the bug
In #130 when attempting to add zypper support, I discovered that using the short form of install, in
, the pattern will be removed from package names as well. I'm guessing a package with install
in it would exhibit the same behavior.
To Reproduce
Steps to reproduce the behavior:
in
. The tests do this as well.Expected behavior
I'd expect in
to match from the sub command, and the package names to not be modified.
Desktop (please complete the following information):
n/a
Additional context
n/a
Describe the bug
brew install
depend on brew tap
To Reproduce
Steps to reproduce the behavior:
brew tap foo
brew install something_from_foo
Expected behavior
brew taps should be added to the db so that they can be re-run on another machine before any installs which depend on them.
Desktop (please complete the following information):
What is the name of the package manager you would like to see support for?
Portage
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Describe the bug
Can't find directory when running it for the first time on an empty PC.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Desktop:
Machine information
emplace 1.2.0
Linux 5.10.0-3-amd64
emplace bugreport
SHELL=/bin/bash
Could not run command 'git': No such file or directory (os error 2)
Describe the bug
History multi-select list contains duplicates.
To Reproduce
Steps to reproduce the behavior:
brew install docker-machine
brew install docker-config
brew install docker-config
brew install docker-machine
emplace history $HISTFILE
...
[x] docker-machine (Homebrew)
[x] docker-config (Homebrew)
[x] docker-config (Homebrew)
[x] docker-machine (Homebrew)
...
Expected behavior
Duplicates should be eliminated.
Desktop (please complete the following information):
Additional context
iirc , docker-config doesnt exist, but that is a separate problem
Machine information
emplace 1.3.1-alpha.0
Darwin 20.3.0
SHELL=/usr/local/bin/zsh
EMPLACE_CONFIG='/Users/john.vandenberg/Library/Application Support/emplace.toml'
> git --version
git version 2.31.0
What is the name of the package manager you would like to see support for?
Homebrew (https://brew.sh/)
What operating systems or derivative does this package manager support?
If Linux, is it only for a specific distro?
What type of package manager is this?
Are administrator priviliges required? (sudo, etc.)
There should be a global -c
flag that allows you to set the location of the configuration file.
Spawned from #169 (comment)
Describe the bug
If the pip command is -rfilename
, it should either be ignored, or its contents processed using a pip compliant parser and package names extracted.
Currently it will record an entry for package requirements.txt
, which is not valid (c.f. https://pypi.org/project/requirements.txt/) , but it could be valid as that name complies with PyPI package name syntax.
To Reproduce
Steps to reproduce the behavior:
echo foo > requirements.txt
pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement foo (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for foo (from -r requirements.txt (line 1))
Opening Emplace repo: "/Users/john.vandenberg/Library/Application Support/emplace".
Mirror this command?
- requirements.txt (Python Pip)
Expected behavior
Not add arguments to -r
as a package name.
Desktop (please complete the following information):
Machine information
emplace 1.4.0
Darwin 20.3.0
SHELL=/run/current-system/sw/bin/zsh
EMPLACE_CONFIG='/Users/john.vandenberg/Library/Application Support/emplace.toml'
> git --version
git version 2.31.0
Now, most of the time is spent in git related operations.
So i think, we need to rework this module.
Maybe make git operations async, or do not git pull on every command execution
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.