Re: Looking for help implementing zero install
"Bastian Eicher" <[email protected]> Tue, 5 Jul 2022 20:34:17 +0200
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multipart message in MIME format. --===============8619454116284589094== Content-Type: multipart/alternative; boundary="----=_NextPart_000_005F_01D890AE.995B0CE0" Content-Language: de This is a multipart message in MIME format. ------=_NextPart_000_005F_01D890AE.995B0CE0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Matteo, =20 great to hear about your interest in Zero Install! I=E2=80=99d like to = offer you some high-level ideas for how you might go about publishing = your app via Zero Install. =20 The first step should be to create a simple feed that can be used to = launch the latest version of your app. For this you=E2=80=99ll need to = publish a release as an archive (.tar.gz, .zip, etc.). This does not = need to contain the Electron runtime (and can thus be = platform-independent), because Zero Install can pull that in as a = dependency for you. You can find details on this here at = https://docs.0install.net/packaging/ and = https://apps.0install.net/javascript/. =20 Once you have this working you may want to automate adding new releases = to your feed. For this you should take a look at the tools 0template = (https://docs.0install.net/tools/0template/) and 0repo = (https://docs.0install.net/tools/0repo/). =20 There are some interesting options for managing plugins (i.e., your = connectors) with Zero Install. Each plugin could be represented as its = own feed. The app itself could provide a GUI where users can select = which of these feeds to enable. This could then be used to generate a = =E2=80=9Cmeta feed=E2=80=9D as a local file, which pulls in the main app = plus all the selected plugin feeds as dependencies. Tim Cuthbertson = created a Python tool that uses this principle and may be a helpful = reference: https://github.com/timbertson/zeroinstall-plugin-manager =20 Finally you may want to create a Bootstrap EXE that Windows users can = use to get your app without having to know anything about Zero Install. = The =E2=80=9CRun=E2=80=9D and =E2=80=9CIntegrate=E2=80=9D buttons you = can see on every Zero Install feed provide you with such EXEs, but they = can also be further customized and branded. =20 Let me know if you have any specific questions. Happy and also to use = this opportunity to improve our documentation. =20 Regards Bastian =20 From: Matteo Cominetti <[email protected]>=20 Sent: Mittwoch, 29. Juni 2022 14:13 To: [email protected] Subject: [Zero-install-devel] Looking for help implementing zero install =20 Hi all, =20 I'm Matteo, the co-founder of Speckle <https://speckle.systems/> , an = open-source platform for 3D models and data. =20 I just discovered zero install today and I'm very excited by its = potential to be replacing the current deployment & installation system = for our "connectors" (basically desktop plugins for various 3D = software). =20 We are currently packaging our installers using InnoSetup and making = them available via a web page and an electron app = <https://speckle-releases.netlify.app/> , but this has several = disadvantages (primarily being clunky and windows only), it seems like = zero install would be a perfect replacement. =20 If anyone on this mailing list is interested in doing some freelance = work to help us scope and implement such a thing please let me know! =20 Kind regards, Matteo ------=_NextPart_000_005F_01D890AE.995B0CE0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 15 (filtered = medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue = vlink=3Dpurple style=3D'word-wrap:break-word'><div = class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Hi Matteo,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>great to hear about your interest = in Zero Install! I=E2=80=99d like to offer you some high-level ideas for = how you might go about publishing your app via Zero = Install.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>The first step should be to create = a simple feed that can be used to launch the latest version of your app. = For this you=E2=80=99ll need to publish a release as an archive = (.tar.gz, .zip, etc.). This does not need to contain the Electron = runtime (and can thus be platform-independent), because Zero Install can = pull that in as a dependency for you. You can find details on this here = at <a = href=3D"https://docs.0install.net/packaging/">https://docs.0install.net/p= ackaging/</a> and <a = href=3D"https://apps.0install.net/javascript/">https://apps.0install.net/= javascript/</a>.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Once you have this working you may = want to automate adding new releases to your feed. For this you should = take a look at the tools 0template (<a = href=3D"https://docs.0install.net/tools/0template/">https://docs.0install= .net/tools/0template/</a>) and 0repo (<a = href=3D"https://docs.0install.net/tools/0repo/">https://docs.0install.net= /tools/0repo/</a>).<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>There are some interesting options = for managing plugins (i.e., your connectors) with Zero Install. Each = plugin could be represented as its own feed. The app itself could = provide a GUI where users can select which of these feeds to enable. = This could then be used to generate a =E2=80=9Cmeta feed=E2=80=9D as a = local file, which pulls in the main app plus all the selected plugin = feeds as dependencies. Tim Cuthbertson created a Python tool that uses = this principle and may be a helpful reference: <a = href=3D"https://github.com/timbertson/zeroinstall-plugin-manager">https:/= /github.com/timbertson/zeroinstall-plugin-manager</a><o:p></o:p></span></= p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Finally you may want to create a = Bootstrap EXE that Windows users can use to get your app without having = to know anything about Zero Install. The =E2=80=9CRun=E2=80=9D and = =E2=80=9CIntegrate=E2=80=9D buttons you can see on every Zero Install = feed provide you with such EXEs, but they can also be further customized = and branded.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Let me know if you have any = specific questions. Happy and also to use this opportunity to improve = our documentation.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Regards<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Bastian<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><div = style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm = 0cm 0cm'><p class=3DMsoNormal><b><span = lang=3DEN-US>From:</span></b><span lang=3DEN-US> Matteo Cominetti = <[email protected]> <br><b>Sent:</b> Mittwoch, 29. Juni 2022 = 14:13<br><b>To:</b> = [email protected]<br><b>Subject:</b> = [Zero-install-devel] Looking for help implementing zero = install<o:p></o:p></span></p></div><p = class=3DMsoNormal><o:p> </o:p></p><div><p class=3DMsoNormal>Hi = all,<o:p></o:p></p><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>I'm Matteo, the co-founder of <a = href=3D"https://speckle.systems/">Speckle</a>, an open-source platform = for 3D models and data.<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p class=3DMsoNormal>I = just discovered zero install today and I'm very excited by its = potential to be replacing the current deployment & installation = system for our "connectors" (basically desktop plugins for = various 3D software).<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>We are currently packaging our installers using = InnoSetup and making them available via <a = href=3D"https://speckle-releases.netlify.app/">a web page and an = electron app</a>, but this has several disadvantages (primarily being = clunky and windows only), it seems like zero install would be a = perfect replacement.<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>If anyone on this mailing list is interested in doing = some <b>freelance work to help us scope and implement</b> such = a thing please let me know!<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>Kind regards,<o:p></o:p></p></div><div><p = class=3DMsoNormal>Matteo<span = style=3D'color:#222222'><o:p></o:p></span></p></div></div></div></body></= html> ------=_NextPart_000_005F_01D890AE.995B0CE0-- --===============8619454116284589094== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8619454116284589094== 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 --===============8619454116284589094==--