Script command to download archive and calculate SHA etc.?
Mateusz Czaplinski <[email protected]> Wed, 1 Jan 2020 22:14:53 +0100
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CACZYt3Qa60a=NGUrtBKGKh7iq2GfAKrPReoLm3S5Ae7eqWGhvg@mail.gmail.com> |
--===============0689238292482112953== Content-Type: multipart/alternative; boundary="000000000000fabdd4059b1a91a2" --000000000000fabdd4059b1a91a2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Is there a command I could use in my script, other than 0template, that would take a nearly-complete feed.xml, and just download the .zip/.tar.gz/... archive I specified, and then calculate the missing SHA, size, and other derived data, and insert them back into the .xml file? I'm writing a script to bulk-generate feeds for Vim plugins I use. I am currently passing them through 0template as a workaround, but 0template fetched a surprising amount of dependencies, and generally I'm using it in a very hackish way. I have kinda suspicion there might be just some simple option in 0publish instead, that would do what I'm trying to describe? There are quite many commands and options in 0install, and I'm still having hard time wrapping my head around them and finding what I need - thus I'm not sure if it's not there, or did I simply miss it? Thanks & Best Regards, /Mateusz Czapli=C5=84ski. --000000000000fabdd4059b1a91a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi,</div><div><br></div><div>Is there a command I cou= ld use in my script, other than 0template, that would take a nearly-complet= e feed.xml, and just download the .zip/.tar.gz/... archive I specified, and= then calculate the missing SHA, size, and other derived data, and insert t= hem back into the .xml file?</div><div><br></div><div>I'm writing a scr= ipt to bulk-generate feeds for Vim plugins I use. I am currently passing th= em through 0template as a workaround, but 0template fetched a surprising am= ount of dependencies, and generally I'm using it in a very hackish way.= I have kinda suspicion there might be just some simple option in 0publish = instead, that would do what I'm trying to describe? There are quite man= y commands and options in 0install, and I'm still having hard time wrap= ping my head around them and finding what I need - thus I'm not sure if= it's not there, or did I simply miss it? <br></div><div><br></div><div= >Thanks & Best Regards,</div><div>/Mateusz Czapli=C5=84ski.<br></div></= div> --000000000000fabdd4059b1a91a2-- --===============0689238292482112953== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0689238292482112953== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Zero-install-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zero-install-devel --===============0689238292482112953==--