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

Rename this project #1

Closed
ducaale opened this issue Nov 28, 2020 · 17 comments
Closed

Rename this project #1

ducaale opened this issue Nov 28, 2020 · 17 comments

Comments

@ducaale
Copy link
Owner

ducaale commented Nov 28, 2020

I was made aware [1] the name Yahc might be confused with a rust community member who goes by the name Yaahc. Therefore I am planning to rename this project using one of the following:

  • ht: This would have been the best pick, but it is already being used by a similar project https://github.com/mark-burnett/ht
  • rq: This name is being used by a popular python job queue library. Although it is possible to append -rs at the end to avoid a name clash.
  • htyr: Not sure what it means but for some reason I like it.

[1] https://www.reddit.com/r/rust/comments/k0aika/yahc_yet_another_httpie_clone_in_rust/gdgza01?utm_source=share&utm_medium=web2x&context=3

@andresv
Copy link

andresv commented Nov 29, 2020

It seems that https://github.com/mark-burnett/ht is unmaintained. Maybe it is still possible to use the same name if those projects can be merged.

@mark-burnett
Copy link

I'd be happy to transfer the name. I definitely didn't intend to name squat ht, and would be happy for it to be taken over by this project :)

@ducaale
Copy link
Owner Author

ducaale commented Dec 31, 2020

@mark-burnett Thank you very much for entrusting the name ht to this project! I will start the process of renaming yahc shortly.

As for transferring the crate name, I think it would be more involved but still doable.

@ducaale
Copy link
Owner Author

ducaale commented Jan 1, 2021

yahc has been renamed to ht and the crate name transfer is now complete 🎉.

Thanks to @mark-burnett for agreeing to transfer the name and @andresv for initiating the conversation.

@ducaale ducaale closed this as completed Jan 1, 2021
@NBonaparte
Copy link

If you're not aware, /usr/bin/ht is also used for a TeXLive program (Debian: texlive-plain-generic, Arch: texlive-core) and causes a collision when installing (AUR comment).

@ducaale ducaale reopened this Feb 7, 2021
@mehcode
Copy link

mehcode commented Feb 7, 2021

As a random passerby (cool project btw), I vote for xh or "eXtra Http". Some quick searching doesn't seem to show it existing.

@kpcyrd
Copy link

kpcyrd commented Feb 10, 2021

hey, debian maintainer here, there's a policy in debian that no two packages are allowed to install a binary with an identical name so we'd need to rename it there too. You can research if the name is already taken using the search:

https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=contents&keywords=usr%2Fbin%2Fht

(you might need to check all of usr/bin/foo, usr/sbin/foo, bin/foo and sbin/foo)

@ducaale
Copy link
Owner Author

ducaale commented Feb 10, 2021

Thanks, @kpcyrd, would it be possible to do something similar to the ht package in Arch, i.e apt install ht which installs a binary named ht-rust? I think bat does something similar.

@anthraxx
Copy link

anthraxx commented Feb 10, 2021

I think this is a horrible hack and not a solution. Upstream should at best provide a unique name for the binaries which is defined upstream. this would otherwise create diversity in which binary is being used and called by users when ht is installed on different distros or using cargo. A uniform and non conflicting experience should be the goal of a CLI tool instead of shifting addressing this issue to downstream.

@ducaale
Copy link
Owner Author

ducaale commented Feb 10, 2021

Although I'm very fond of the name ht, I am open to the idea of moving this project to a different name. I am saying this because it would become harder as the number of places ht is published increases. Some of the names that come to my mind include:

  • rq: stands for request
  • hr: stands for http-request
  • xh which was suggested by @mehcode (my favourite)

@blyxxyz
Copy link
Collaborator

blyxxyz commented Feb 10, 2021

rq is taken by python3-rq/Redis Queue (on Debian) and Record Query (on NixOS).

hr is the name of several horizontal ruler programs (1, 2, 3). One of them is on crates.io, and multiple are in the AUR.

I can't find anything called xh, except an empty NPM package. So that would be suitable.

@ducaale
Copy link
Owner Author

ducaale commented Feb 11, 2021

That settles it then. Moving to the new name would require the following steps (correct me if I am missing anything):

  • Replace any ht references with xh (including the demo).
  • Temporarily remove the installation section from README.md.
  • Make a new minor release (should be ok since we haven't hit v1.0 yet).
  • Upload the renamed binary to crates.io

ht is currently being published in the following places:

  • homebrew: contributed by @dtrodrigues
  • Arch: contributed by @orhun
  • nixpkgs: contributed by @payasrelekar
  • scoop (pending): contributed by @myty

After some googling, I found docs on how to rename a package in homebrew. However, I am not sure how it would be done for others.

@blyxxyz
Copy link
Collaborator

blyxxyz commented Feb 12, 2021

Make a new minor release (should be ok since we haven't hit v1.0 yet).

Do you mean a final release on crates.io pointing people towards the new name? How heavy-handed would it be?

@ducaale
Copy link
Owner Author

ducaale commented Feb 12, 2021

No, I meant the new xh release to be v0.7.0.

Do you mean a final release on crates.io pointing people towards the new name? How heavy-handed would it be?

I think a v0.6.1 release with a simple message like this would suffice:

ht has moved to [xh](https://crates.io/crates/ht). For more context behind the change, see 
[#1](https://github.com/ducaale/ht/issues/1)

@ducaale
Copy link
Owner Author

ducaale commented Feb 12, 2021

ht has now been successfully renamed to xh. Thanks to @mehcode for suggesting the new name, and thanks to everyone who raised the tex-live name collision issue.

@orhun
Copy link
Contributor

orhun commented Feb 12, 2021

I renamed ht to xh: https://archlinux.org/packages/community/x86_64/xh/
You can add the same (s/ht/xh/) Arch Linux instructions back (#43) (if you like) or I can submit a PR again.

@ducaale
Copy link
Owner Author

ducaale commented Feb 12, 2021

Thanks, @orhun. I've added it back to README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants