Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Recognise already installed packages (which might be tool-customised) #60

Open
dietmarw opened this issue Mar 14, 2014 · 3 comments
Open

Comments

@dietmarw
Copy link
Member

@casella pointed out some valid points on what if a to be installed Modelica package needs to be tweaked in order to work with the tool. In this case a stock-source library form the official repository will fail as it might lack certain compiled parts.

I propose to make impact aware to already installed Modelica packages in the target directory and to not overwrite them by default if the same or later (build) version is present. There should be a -f | --force switch available installing such Modelica packages anyway.

@dietmarw dietmarw added this to the Release v1.0.0 milestone Mar 14, 2014
@xogeny
Copy link

xogeny commented Mar 14, 2014

This is inline with the idea of maintaining a package.json. To be npm like, we could have an init subcommand that looks for local packages and automatically adds them to package.json.

@casella
Copy link

casella commented Mar 14, 2014

seems that I really need to lear git, I even have a nick on GitHub ;)

    Francesco

P.S. Yesterday we had Norwegian salmon anyway. We enjoyed immensely :)

Il 14/03/2014 11:00, dietmarw ha scritto:

@casella https://github.com/casella pointed out some valid points on
what if a to be installed Modelica package needs to be tweaked in order
to work with the tool. In this case a stock-source library form the
official repository will fail as it might lack certain compiled parts.

I propose to make /impact/ aware to already installed Modelica packages
in the target directory and to not overwrite them by default if the same
or later (build) version is present. There should be a |-f | --force|
switch available installing such Modelica packages anyway.


Reply to this email directly or view it on GitHub
#60.

Francesco Casella - Ph.D.
Dipartimento di Elettronica, Informazione e Bioingegneria
Politecnico di Milano
Via Ponzio 34/5
I-20133 MILANO - ITALY

Tel: +39-02-2399-3465 (Leonardo)
+39-02-2399-7749 (Polo di Cremona)
Fax: +39-02-2399-3412
e-mail: francesco.casella@polimi.it
web: http://home.dei.polimi.it/casella
Skype: callto://francesco.casella

@xogeny
Copy link

xogeny commented Apr 19, 2015

It would be good if we could meet and discuss what this workflow would look like? I'm just not sure I have a good sense of the "big picture" here when it comes to version control related functionality on the install side.

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

No branches or pull requests

3 participants