Skip to content

Conversation

@JonasSchubert
Copy link
Contributor

@JonasSchubert JonasSchubert commented Oct 5, 2021

Gitlab allows to add generic packages as assets attached to a release. #174 This is a suggestion to define a list of generics to be published into the generics repository of a project and then to be used as assets for the release.

Similar to assets, generics can be either an array of strings or an array of objects.
I would limit it to complete file paths (no globs), as (in my understanding) generic packages are limited to one file. (Please correct me if I'm wrong here)

Furthermore generics objects can have the properties, path, label (used for the file path in the generics package URL) and a status (default or hidden package).

I tried to avoid code duplications as good as possible by creating external functions. Could have avoided more, but stopped to maintain readability.

Additionally I added the possibility to debug unit tests in VS Code. I can remove this though, if no editor code should be added in this project.

@JonasSchubert JonasSchubert deleted the feat/allow-generic-packages-as-assets branch December 4, 2021 13:47
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