Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cobigen Templates and Update Mechanism need Versioning #845

Open
Jan-PeterRichterCG opened this issue Mar 21, 2019 · 6 comments
Open

Cobigen Templates and Update Mechanism need Versioning #845

Jan-PeterRichterCG opened this issue Mar 21, 2019 · 6 comments

Comments

@Jan-PeterRichterCG
Copy link
Member

Expected behavior

As a developer that uses devon4j Version X.Y.Z, I want to download Cobigen Templates that match my devon4j version, which is not necessarily the latest one so that develoment / maintenance of older code is possible.
I want to do this using the Cobigen Eclipse-Plugin, i.e. I don't want to search for Cobigen Templates in the commit-history of a Git-Repository until I have found the commit that matches my devon4j release and then manually install templates (which I do not know how and where).

Actual behavior

From eclipse (context menu from an Entity -> Cobigen -> Healt Check / Update Template),

  • I can only check whether my Cobigen Templates are "current", i.e. the latest ones.
  • I can only download the latest Cobigen Templates.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Try do download Cobigen Templates for devon4j 2.X.Y

Related/Dependent Issues

@jdiazgon
Copy link
Member

I Agree. One option can be:

  • User clicks on Update templates.
  • A dialog shows up with a Download latest button
  • In case you don't want the latest ones, there will also be a textbox where you can specify the templates version to download.

Kind regards,

Jaime Díaz.

@Jan-PeterRichterCG
Copy link
Member Author

Yes, but this requires that the Templates (or rather Template-sets) are managed in a versioned way on the Template repository side. I am afraid, that there is some work to do in order to identify the "most recend version of all Templates that correspond to devon4j Version X.Y.Z".
If the templates are managed within the same Git repo as all the rest of devon4j, this should not be so hard to do. But if not....

@maybeec
Copy link
Member

maybeec commented Mar 23, 2019

The templates are published to maven central. So they are versioned and we even start with devon 3 to have version, which are compliant to the current release. The version scheme is
<major-devon>.<minor-devon>.<bugfix-cobigen>

@github-actions
Copy link

Stale issue message

@Jan-PeterRichterCG
Copy link
Member Author

Any action on this issue so far?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants