Changes between Version 1 and Version 19 of Ticket #1814


Ignore:
Timestamp:
Nov 3, 2022, 6:18:30 AM (18 months ago)
Author:
Christopher Buteau
Comment:

Hello,

I just found your project. This looks like a great starter project.

I script at work using node js. I think I can build something with node js and configuration to do the work but I will need help debugging the other platforms.

Lets start with a simple command line utility using yargs. http://yargs.js.org/

See we build a tool that does the trick and then you integrate with your autobuild. We just get the build creation of manifest and upload working. Which where is the manifest to be stored? Is it a separate manifest for each target MacOS, Windows, Linux Or one manifest for all three?

So working on node js we can use things like these to get shit done. https://www.npmjs.com/package/prebuilt-download

Lets start talking the format of the manifest. I am assuming json ...if not be convincing.

I wrote a JSON parser generator.

{
  "ver": {
    "major": 0,
    "minor": 13
  },
  "targets": {
    "AtlasUI.dll": {
      "md5": "52fe3f8c2725445b488f646dca28021f",
      "get": "!http://.../AtlasUI.dll"
  },
    "pyrogenesis.exe": {
      "md5": "89158e5ea74d5987ed8be026e7f090ce",
      "get": "!http://.../pyrogenesis.exe"
  },
    "pyrogenesis.pdb": {
      "md5": "44889d0fbf2f48972992c2a4d9e629c2",
      "get": "!http://.../pyrogenesis.pdb"
    }
  }
} 

I think we can use this or another lib to do the download. https://www.npmjs.com/package/prebuilt-download

So first we get the generation of the manifest and its upload to whatever target.

Next we put together the thing that downloads processes the manifest and downloads the target.

Since you guys are batch experts.
Start with a name.
like tlz or something short.
make a tlz.bat and dtlz.bat that execute a main.bat that executes a node js script.

one will launch it like this...
node mainScript.js
and the other
node --inspect mainScript.js 
and I can take it from there building a command structure.

See we can feed yargs a bunch of command objects.

http://yargs.js.org/docs/#api-reference-commanddirdirectory-opts

It will be a series of command in the style of git...
tlz manifest platform
tlz digest platform

Hopefully I set up my TRAC notifications so I get a message if anyone thinks this is a good topic to revive.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1814

    • Property Priority Release BlockerMust Have
    • Property Milestone Alpha 13Backlog
    • Property Summary Create update.bat to sync windows binaries[Git] [Step 2] Create update.bat to sync windows binaries