Skip to content

Create a github repository for mpackages. #7269

@ZookaOnGit

Description

@ZookaOnGit

Brief summary of issue / Description of requested feature:

Create a github repository for storing mpackages which will serve as a central repository for package creators. This repository simply holds all mpackages that have been submitted via a PR. Updating of existing packages can use the same PR interface, essentially replacing the file with the updated one.

Validation using github actions can verify the mpackage conforms to a certain criteria (eg. contains short and long descriptions, has a valid version number) and if passes can immediately be made available to all users.

After PR is accepted a github action will recreate a master index file in which clients can parse to see what packages are available in the repository. This will contain all of the information available in the mpackage/config.lua file.

An example of this is available at https://github.com/ZookaOnGit/mudlet-package-repository which uses a json formatted file.

A simple command line interface (similar to Debian's apt) has been written for this called 'mpkg' (available at above link), which could be expanded on, or even incorporated into the main Mudlet user interface.

Optionally, push the repository out to github.io so users can also browse via the web, or see "What's New".

Steps to reproduce the issue / Reasons for adding feature:

  1. A central repository saves users having to search multiple sites; wiki, forums, web, etc..
  2. A user can access, query, install and update repository packages via Mudlet command line.

Error output / Expected result of feature

A new github repository with github actions/workflows to assist automation.

Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:

Initial discussion here: https://discord.com/channels/283581582550237184/283582439002210305/1248621987140735140

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions