Alternate Binary Installer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Darshil Chanpura 70595b0c36
Initial commit
2 years ago
LICENSE Initial commit 2 years ago
README.md Initial commit 2 years ago

README.md

drunk

Alternate binary installer.

Scope - Client

Command line interface be capable of:

  • Add package repositories
  • Remove package repositories
  • Install package
  • Uninstall package
  • Update repository
  • Upgrade packages

Scope - Server

Server should be responsible for

  • Generating structured repository configurations and metadata
  • Metadata should contain all the details like packages, it's versions, location to download, how to install, etc.

Scope - Protocol

Entities

  • Repository
  • Package
  • ArchiveMetadata

Archive Types

  • Archive types can be
    • tar.gz
    • zip
  • This package type will uncompress and unarchive the package after downloading to a temporary directory.
  • once extracted the matching file name should be kept to the desired binary-path location.

Assumptions

  • Archive should have the file inside it with the name specified in the Package.

Actions

  • Default action is copy to binary folder
  • Other actions could be something like adding systemd file or launchd file to a particular location to start/enable the service