Conversation
|
How much will I need to change on the Nix end of things? I've been busy for a hot minute but no biggy if so cos I should have some time later this week. Already I can see I'll have to change the paths to files for some stuff, but otherwise how much will I need to do? Any deps I need to add or anything? |
|
Mmmh I have to admit that I'm not sure... I tried to leave it as unchanged as possible as I'm not very familiar with Nix. I don't know if you will really need to change something else, but feel free to modify anything if you think this structure isn't efficient/clear enough! If I can, I'll try to somehow find a solution as well for Nix, even though I think you're way better, smarter and quicker than me on this topic 🫡 |
Sounds good! Nw abt the Nix stuff I'll have it handled, I'll submit a pr for it on your branch?? (Idk my git knowledge is a bit scuffed lol). |
|
Well, if this PR works fine for you and if @Notenlish agrees with the PR idea, I can add you as a contributor to my fork, so you can directly work on this branch, without needing to submit PRs on it (but yeah, I'm not familiar with git contributions too, so idk if it'll work correctly!) Then, if this PR gets merged to this repo, we'll be able to directly work on it |
|
I really like this, but I also would like to merge @Immelancholy's threading PR #17 and potentially my multi-cache PR #40 . |
|
@Notenlish that may be a great idea, so still import the assets, but directly download them in |
|
I added a new dependency called |
yeah |
Sounds great! It would make everything easier for non-tech users, and maybe we could use this layout to make multi-caching easier |
This new version should add this feature! Now, the first execution of anifetch creates the The original |
|
so, what do we have left to do? |
|
@Notenlish that looks great, I'm starting to make a branch merging the refactoring and your multi-caching from #40, but this version seems to work pretty well, at least for us! The next "classical" step would be to integrate anifetch with snap and flatpack tho |
yeah im working on that rn |
|
@Gallophostrix are we sure we want a snap release? Maybe we could just do a flatpack release? Snap seems kinda sketchy https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html |
Wow didn't know about it, thanks for the info... I hope it won't impact other more famous apps like Spotify or whatever... |
|
By the way @Notenlish , I tried to add the multi-caching, could you check this branch by any chance? Especially the .sh file, I'm not really sure how to update it! |
|
I kinda got flatpak to work |
|
But you need to spesifically tell flatpak to use anifetch, which is kinda ugly we could just make people use pipx to install it from pypi |
|
I think we could just do a pypi release + a bash script for installing the native libraries. |
|
I tried to make a flatpak branch but cant commit to it for some reason. I'll just put the files in this comment in case we want to do a flatpak release. org.anifetch.anifetch.yaml: commands: |
|
I think I just merged this twice, lol |
@Notenlish yeah, that could be a nice solution if we can't do it in another way
Anyway, now that the refactor is merged, I think we don't need it anymore, just tell me if you still want to work on it, otherwise I'll just delete it so we can work on the main repo! By the way, I can still keep the multi-caching branch for now, so we can finish this part too |
This might close #12, makes the user able to use the CLI from everywhere using for example
anifetch -W 70 -C -c "--symbols ascii --fg-only", by going in the anifetch folder, and using eitherpip install .orpipx install .if they don't want to create a venv.The project is now composed of a
src/anifetchfolder, containing the main program (separated in different parts for future adaptation/tests), atoolsfolder, containingbenchmark.pyfor devs, adocsfolder for future documentation and asnapfolder (for future snap integration #7 ).This version is also based on the main anifetch version, merged with #30 (hence solving #31 ) , #32 , but also #6 .
The pip/pipx installation allows the user to have access to the
assetfolder (with the examples), buttoolsis only available for devs from the downloaded GitHub repo.