Telosys 4.2.0 - new features for models


This new version brings even more flexibility, particularly for models management.
Models installation
Indeed, it is now possible to install models from GitHub, each model being a "git repository".
This version introduces the notion of "depot". A "depot" being a storage space for "models" and "bundles", in fact a GitHub organization (or a GitHub user space).
It is now possible to manage "models" in the same way as "bundles of templates":
List the models available in the depot (with "lmd" command)
Install one or more models from the depot (with "im" command)
Depot configuration
Moreover, “depots” for models and bundles are configurable for each Telosys project.
Examples of configuration:
GitHub organization →
github_org: organization_name
GitHub user →
github_user: user_name
GitHub current user →
github_current_user
( for a user authenticated by the current “Personal Access Token” )
So you can store your “models” and “bundles” wherever you want in GitHub.
See documentation: https://doc.telosys.org/project-configuration
GitHub Personal Acces Token (PAT)
It’s now possible to use the new command "ght" ("GitHub Token") to define (or remove) a "Personal Acces Token" that Telosys will use to call the GitHub API.
Defining a token increase the "GitHub API rate limit", this can be useful to list and install "bundles" and "models" when multiple users are sharing the same external IP address in an enterprise (due to a proxy).
A “PAT” also allows to list and install bundles or models located in "private repositories" (if the authenticated user has the required privileges).
Subscribe to my newsletter
Read articles from Telosys directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Telosys
Telosys
Telosys is a powerful code generator that can save developers time and effort. Its highly customizable templates and support for multiple technologies make it an ideal choice for developers who work across different technology stacks. With Telosys, developers can automate the tedious and repetitive tasks of coding and focus on the core of their application logic.