ChrisTitusTech / linutil

Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks.
https://christitus.com
MIT License
2.75k stars 227 forks source link

fix: vt100 patch #734

Closed jeevithakannan2 closed 1 month ago

jeevithakannan2 commented 1 month ago

Recommended way of doing this is mentioned in additional information

Type of Change

Description

Testing

Impact

Issues / other PRs related

Additional Information

[patch.crates-io]
vt100 = { git = "https://github.com/ChrisTitusTech/linutil", branch = "vt100" }

Checklist

adamperkowski commented 1 month ago

This has been already discussed on Linutil's Discord server, summing it up here:

Obviously, adding 4k+ lines of someone else's code (without any attribution other than MIT license included btw) is a very bad idea.

  1. Repo & package size goes 🚀🚀🚀
  2. Basically unmaintainable
  3. We'd literally have 4k+ lines of code we didn't write, don't understand and is not even needed that much.

With this solution, we think Linutil should be moved to an organisation and a fork of vt100 should be created (and possibly published on crates.io) in a separate repo.

But that's 100% @ChrisTitusTech's decision. I am strongly against doing this in a branch.

jeevithakannan2 commented 1 month ago

I agree with @adamperkowski . This PR is just to let you know the possible solutions we have, it is your @ChrisTitusTech decision

cartercanedy commented 1 month ago
  1. Repo & package size goes 🚀🚀🚀

Repo yes, but considering that all rust source is effectively statically linked, probably not going to affect binary size in release

Still, I agree, v bad idea to inline here

But... I do have half a mind to fork myself and merge some of the open PRs from doy/vt100-rust since it seems like it'd benefit more than just us

adamperkowski commented 1 month ago

Repo yes, but considering that all rust source is effectively statically linked, probably not going to affect binary size in release

Never said i's going to affect binary sizes, no. But package sizes, yes. This one.

But... I do have half a mind to fork myself and merge some of the open PRs from doy/vt100-rust since it seems like it'd benefit more than just us

That's why I proposed creating a separate repository :))

cartercanedy commented 1 month ago

With this solution, we think Linutil should be moved to an organisation and a fork of vt100 should be created (and possibly published on crates.io) in a separate repo.

Just read this :))