For now I've added a script that does the job on Linux/Mac, I have to use
tar.gz files because unzip can't take from stdin, just as well:
name: gnoga_package_add
#!/bin/bash
curl http://gnoga.com/gpk/$1.gpk | tar -xv
I am going to create a few more scripts and a doc on the exact format of a
"gpk" file which will be a dir structure and a serious of additional
scripts that will be run on package add or on remove. A script to get a
list of available packages from the server as well, etc.
Not perfect but a start.
David Botton
On Thu, Jul 9, 2015 at 3:38 PM Rabbi David Botton <[email protected]> wrote:
> Any one interested in taking a crack at that sort of tool (must be GPL or
> other open lic)?
>
> A simple utility in Ada (see: http://unzip-ada.sourceforge.net/):
>
> getzip URL
>
> Downloads from URL a zip, then (or as a stream) unzips it in to the
> current directory and subdirectories.
>
> Overwrites with warnings and backing up of old files overwritten (adding
> .org or the like to copy) , create missing sub directories. It should be
> able to go to any depth of subdirectories.
>
> David Botton
>
>
>
> On Thu, Jul 9, 2015 at 3:28 PM Rabbi David Botton <[email protected]>
> wrote:
>
>> Very true. It may also make sense to not use git at all (also not always
>> a good option on Windows, what a crying shame cygwin's runtime is GPL
>> virused... if it wasn't Windows would be a different world to program on)
>> and just use Ada and simple components http implementation to just grab a
>> zip then use Gautier's zip code to unzip the incoming stream in to its
>> proper place.
>>
>> David Botton
>>
>>
>> On Thu, Jul 9, 2015 at 3:12 PM Jeffrey R. Carter <[email protected]>
>> wrote:
>>
>>> On 07/09/2015 11:58 AM, Rabbi David Botton wrote:
>>> > It could be just having a deps dir like in Gnoga now and git clone
>>> following
>>> > by a "setup" script that will copy out from the deps dir the additional
>>> > html,js,css and Ada src in to the project dirs. The only "catch" is
>>> Windoze
>>> > and trying to make such a script cross platform.
>>> >
>>> > Any ideas of how to do this with simplicity always open to ideas.
>>>
>>> When portability is desired, my answer is always: "Use Ada." A small Ada
>>> program
>>> to do the setup actions, perhaps using basic Gnoga if user interaction is
>>> needed, could do the trick. The "script" would then simply build and
>>> invoke this
>>> program.
>>>
>>> --
>>> Jeff Carter
>>> "Violence is the last refuge of the incompetent."
>>> Foundation
>>> 151
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Don't Limit Your Business. Reach for the Cloud.
>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>> you need to offload your IT needs and focus on growing your business.
>>> Configured For All Businesses. Start Your Cloud Today.
>>> https://www.gigenetcloud.com/
>>> _______________________________________________
>>> Gnoga-list mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>>
>>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list