Regarding Maven repositories #11

Closed
opened 2022-03-02 23:08:10 +01:00 by tilera · 0 comments
Owner

There are two options how we could treat Maven repositories in AddonScript:

  • Maven repo type (currently in the spec):
    • A repo type for Maven
    • AddonScript directly gets files from Maven repos
    • Addons are stored as JSON file in Maven repos
    • Disadvantage: Implementations must deserialize XML for maven-metadata files
  • AddonScript API maven feature & proxying Maven repos:
    • Remove the typeproperty from repositories (all repos are AddonScript API repos)
    • An API instance can proxy basic endpoint requests to a Maven repo, if that repo contains AddonScript files (doesn't need to be included in spec, can be implemented by instances)
    • Add an API feature, which adds endpoints to request Maven files (and metadata in JSON format), which an instance also can proxy to maven repos
There are two options how we could treat Maven repositories in AddonScript: - Maven repo type (currently in the spec): - A repo type for Maven - AddonScript directly gets files from Maven repos - Addons are stored as JSON file in Maven repos - Disadvantage: Implementations must deserialize XML for maven-metadata files - AddonScript API `maven` feature & proxying Maven repos: - Remove the `type`property from repositories (all repos are AddonScript API repos) - An API instance can proxy basic endpoint requests to a Maven repo, if that repo contains AddonScript files (doesn't need to be included in spec, can be implemented by instances) - Add an API feature, which adds endpoints to request Maven files (and metadata in JSON format), which an instance also can proxy to maven repos
tilera added the
task
discussion
labels 2022-03-02 23:08:10 +01:00
tilera added this to the v2.0.0 milestone 2022-03-02 23:08:16 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: addonscript/addonscript-spec#11
No description provided.