Skip to content

reworked repos (cache, registry) support - #83

Merged
jryannel merged 6 commits into
mainfrom
jr-better-repos-support
Jun 21, 2023
Merged

reworked repos (cache, registry) support#83
jryannel merged 6 commits into
mainfrom
jr-better-repos-support

Conversation

@jryannel

@jryannel jryannel commented Jun 16, 2023

Copy link
Copy Markdown
Contributor

Reworked the installation of templates. It is split into cache and registry now. The split marked the logic much simpler.
To install a package from a name you need to first retrieve the info from the registry and the use the cache to install it using the git url from the info and correct version.

Template repos are always installed know using a version, if no version is given the latest version (tag) is used. It is not possible to install just main currently.

The repos are stored in the cache dir as $org/$name@$version.

When a solution contains a template with a version it will be checked if the template is already in the cache, if not it will be tried to installed.

So a template inside a solution layer:

layer:
  - template: apigear-io/unreal-template@v1.14

Would install version v1.14 from the apigear-io/unreal-template from the registry.

@jryannel
jryannel requested a review from w4bremer June 18, 2023 14:33
@jryannel
jryannel force-pushed the jr-better-repos-support branch from bf4983d to 42e91f5 Compare June 20, 2023 18:15
@jryannel
jryannel merged commit 58724c8 into main Jun 21, 2023
@jryannel
jryannel deleted the jr-better-repos-support branch June 21, 2023 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant