ComputerCraft Updater - Lightweight Dependency Manager

Started by AngellusMortis, Apr 25, 2022, 06:38 PM

Previous topic - Next topic

AngellusMortis

Lightweight dependency manager for CC: Tweaked.

The goal is to make an easier way to distribute code to multiple computers quickly and consistently. This is not designed to be a full-blown package manager (maybe someday), but it does allow you to update modules from Github as well as automatically pull dependencies for them (no conflict resolution).

Why "Another Package Manager"

There are so many package managers for ComputerCraft that no one uses them. You do not need to use this one, I made it for me and if I am the only one that uses, that is fine.

But why I think you should use this:

* 100% open source, fork it, copy it, do whatever you want with it.
* No external backends. It is completely built on top of Github and Github Actions so no servers with code you cannot see.
  * (NOTE: I only ever use Github, if you want another source code site backend such as GitLab, make an issue/PR and we can chat!)
* Completely built on top of Git so there is versioning, version pinning, etc.
* Automatic minification of Lua files so you can have readable source files but still download compact files for your computers
* Easy to integrate, just copy and tweak the workflows and scripts from the template repo and you should be good to go!

Install

Run the following command in your computer:

wget run https://raw.githubusercontent.com/AngellusMortis/cc-updater/master/install.lua
Source / Issues / Usage

https://github.com/AngellusMortis/cc-updater

I do not check the CC forums super often, so a Github issue or a Discord message is the best way to get in touch.