michaeltintiuc +1 for using Go, you'd get a taco if it was C 😁 Wouldn't hurt to have a command to clear/invalidate cache
buddyspencer viyoriya thanks for the feedback but I am not sure if my program is good enough to be a solus package 😅 michaeltintiuc just added the function to clear the cache Justin added the part to check if snap or flatpak is installed, will add the installation part of the package during lunch.
Justin @buddyspencer is there no way to install? I selected a snap and it just gave me a link, is it not possible to parse the command out for the user ie sudo snap install pkgname? In light of that you'd also need to check that snapd is installed and working as well as flatpak installed and flathub added.
viyoriya buddyspencer If you want to make it as a solus package here is the basic setup script https://www.codepile.net/pile/Ogj8JNG2 I request you to change the name instead of ham 🙂 ( Its your code your decision its just my request coz middle east/ east people don't like the name ) and take care of integer overflow too 😁
buddyspencer viyoriya I request you to change the name instead of ham 🙂 ( Its your code your decision its just my request coz middle east/ east people don't like the name ) I think I will rename it to spence.
michaeltintiuc This is a perfect opportunity for the community to come together and improve this, if it's not yet ready to be a solus package. nice work nonetheless @buddyspencer ! I might be able to add some unit tests over the weekend btw, it should be "go get"-able, right?
algent viyoriya I have API token but I don't want to paste it always. Is there any way that the script could extrat the API Token saved somewhere in my $HOME?
viyoriya algent I haven't tried that you can update the script if possible or i will do that later and share it with you 👍️
algent viyoriya I changed this arc set-config default https://dev.getsol.us with this one arc set-config default $HOME/.arcc EDIT: I get this. Set key "default" = "/home/algent/.arcc" in user config (was "https://dev.getsol.us"). Usage Exception: Server URI "/api/" must include a protocol and domain. It should be in the form "https://phabricator.example.com/".
viyoriya algent https://secure.phabricator.com/book/phabricator/article/arcanist/ Some Arcanist commands can be configured. This configuration is read from three sources, in order: A project can specify configuration in an .arcconfig file. This file is JSON, and can be updated using arc set-config --local or by editing it manually. User configuration is read from /.arcconfig. This file is JSON, and can be updated using arc set-config. Host configuration is read from /etc/arcconfig in your case --local
viyoriya algent thats sets the config value in .arcrc file just try this arc get-config default you will get user and url value. Actually its just a initial script to set the basics stuff. Still i didnt go thru the rest of the josh videos.
algent viyoriya Or just PST (Paskage Search Tool), UAS (Universal App Search) . The name is not a big deal since we can use an alias for it.