-
m-relay
<ofrnxmr:xmr.mx> Any tails users here? Need someone to run `which 7z` to see if p7zip is installed by default
-
m-relay
<umask777:decred.org> are you bash scripting? if so, you can test case it like this:
-
m-relay
<umask777:decred.org> `if [ -z "$(type -p 7z)" ]; then ... ; fi`
-
m-relay
<ofrnxmr:xmr.mx> I'm not using tails
-
m-relay
<ofrnxmr:xmr.mx> I'm asking for a tails installation script that requires extracting a zip file.
-
m-relay
<ofrnxmr:xmr.mx> adding a check simply because i dont know if it's preinstalled on tails, is kinda retard
-
m-relay
<umask777:decred.org> not really, thats what test cases are for.
-
m-relay
<ofrnxmr:xmr.mx> no, its retarded.
-
m-relay
<umask777:decred.org> portable scripts usually contain chains of them to account for different distributions
-
m-relay
<ofrnxmr:xmr.mx> If its preinstalled, then the check is extra code for no reason
-
m-relay
<ofrnxmr:xmr.mx> Its a script _for tails_. Its not a general script
-
m-relay
<umask777:decred.org> k don't write test cases then
-
m-relay
<ofrnxmr:xmr.mx> Its meant for 1 distribution
-
m-relay
<umask777:decred.org> then install the distribution lol
-
m-relay
<ofrnxmr:xmr.mx> or i can just ask someone who already has tails installed 🤡
-
m-relay
<umask777:decred.org> seems inefficient but god bless
-
m-relay
<ofrnxmr:xmr.mx> If it's not preinstalled, it makes sense to write a test
-
m-relay
<ofrnxmr:xmr.mx> If it is preinstalled, writing a test is literal pointless code
-
m-relay
<umask777:decred.org> what if someone's on tails which does have it preinstalled but they uninstalled it intentionally or otherwise?
-
vThor
"what if someone's on tails which does have it preinstalled but they uninstalled it intentionally or otherwise?" - this person would be
-
vThor
Why not use tar.xz or tar.bz2? This are an almost every system installed and I'm 99.999% confident it is also the case for tails.
-
m-relay
<ofrnxmr:xmr.mx> i cant remembet why haveno releases as a zip
-
vThor
Do you know you can merge a bash script with the tar.{bz2,xz,gz} and extract it from there? And you can simply gracefully abort with checking `$?` after execution of execution in the if statement. ;) But I would claim that there is almost no system where xz/bzip2 are not installed by default
-
m-relay
<ofrnxmr:xmr.mx> But thats a damn good question
-
vThor
"i cant remembet why haveno releases as a zip" - probably because it doesn't store rights, what you can arcive with tar also, but you need extra switches. Tar by default stores user:group and rights, what on deployment often f...s things up
-
m-relay
<umask777:decred.org> always parse ya response codes
-
m-relay
<ofrnxmr:xmr.mx> Maybe its because they uae github actions to build the release
-
m-relay
<plowsof:matrix.org> yeah by default the artifacts are in zips
-
m-relay
<ofrnxmr:xmr.mx> And then upload the ci/actions zip as-is
-
m-relay
-
vThor
so, iiuc I could also upload realeases with curl "easily" if I wrap it before in a zip?
-
m-relay
-
m-relay
<knownsec:catgirl.cloud> what does this mean on monerod?
-
m-relay
<solar:monero.social> It means the host 37.110.132.94 was blocked 😆
-
m-relay
<knownsec:catgirl.cloud> for what reason?
-
m-relay
<solar:monero.social> ¯\_(ツ)_/¯
-
m-relay
<ofrnxmr:xmr.mx> you can upload anything you want there
-
m-relay
<ofrnxmr:xmr.mx> Haveno-reto chooses up loadload the zips that were produced by the ci
-
m-relay
<ofrnxmr:xmr.mx> github actions only produces zips
-
plowsof
oh, they just need to do better none zips are possible
github.com/feather-wallet/feather/releases/tag/2.7.0
-
m-relay
<ofrnxmr:xmr.mx> Yeah
-
m-relay
<ofrnxmr:xmr.mx> I used to put tar.gz for basicswap-bash
-
m-relay
-
plowsof
ive never touched releases, its the "upload artifact" plugin which defalts to zip
-
plowsof
aults*
-
m-relay
<ofrnxmr:xmr.mx> Yea. Releases can contain whatever you want. Dont have to match the repo at all