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

rethink about "project" #892

Open
rallek opened this issue Dec 26, 2016 · 0 comments
Open

rethink about "project" #892

rallek opened this issue Dec 26, 2016 · 0 comments

Comments

@rallek
Copy link

rallek commented Dec 26, 2016

Currently a project is just the model, the .project and representations.aird. If I do have only the model I am able to import it and I do have the same. The project do not give a really benefit currently. But I am shure you do have more ideas for its roadmap.

I am working currently at several modules. There I generate some ideas what I want to share with you. Might be it will give you some additional ideas as well. Thanks for the great modulestudio!

Here my ideas:

  • save the model with his version. If the model version is changed please do not overwrite the old version and save the new version in another file or in a history-mostapp file where you have all former models collected in one file. If the version is not changed it should overwrite the currend master version.
  • if we do have now more than one version of the mostapp, there would be a chance to create the upgrade instruction with a workflow (depending on the changes we do have to add some informations what should happen with what). The changes could be handeled in a table like the var containers. This idea is for a later version of modulestudio but it might be necessary to have this prepared somehow in the DSL and so on.
  • save the place where the generated module should be placed
  • have a separate changelog.md and read.me for the complete project which are merged into the generated module. An integrated text editor for those files would be great.
  • Add an option to clone the project. The clone should not contain any history. It should get a totaly new name like a new project.

An additional idea where I do not know if that is to risky:

  • Similar to the merging of the changelog.md and the readme.md you can also have a separate folder for merging own files e.g. some filter templates or images. The folder might be named postmerging and will merge the complete structure under this folder. It is the responsibility of the developer to take care the files are in the right subfolders and if they overwrite a template that they are not doing bad things.
  • The maximum validation which can be made: If the "postmerging" process is overwriting existing files throw a warning with the recommendation to mark or skip these files in the model.

The complete project can be stored in a github repository. Ideally the developer is able to download the repository, open the project in modulestudio, give the model a new subversion and generate the model again. Within a minor modulestudio version (e.g. 0.7.x) the module should be updated and the upgrade of the module is done. With a higher subversion (e.g. 0.8.0) some adjustments might be necessary.

If I do have more ideas during my currently work I let you know :-)

@Guite Guite self-assigned this Dec 26, 2016
@Guite Guite added this to the Future milestone Dec 26, 2016
@Guite Guite added the tooling label Jan 14, 2017
@Guite Guite removed the zk 1.4.x label Jul 20, 2017
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

2 participants