inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Draft a media repository publish system #464

Open Fohlen opened 7 years ago

Fohlen commented 7 years ago

We will want to have something like npm publish for media repositories. For the interfaces we use the npm registry because it's JavaScript/HTML/CSS, which is just fine. For larger media repositories, this won't work of course

Media repositories should be

Each media repository could (in the future) contain a repository.json with meta-data about the repository. However, to publish and find media repositories we will need to draft a system

aschaeffer commented 7 years ago

My idea is to consequently use git but make it simple.

Use Cases

3. Act as provider for media repositories

Basically everyone who can host git repositories can also host media repositories. There are a lot of options you have:

4. Resolve providers for media repositories

5. Create media repository

  1. Create repository folder
  2. Initialize git on this folder
  3. Create a repository.toml / .json file
  4. Create a folder structure for textures, maps, ...

6. Create, modify, delete media items

These operations results in git commit, git push or even a pull request on GitHub.