Skip to content

Fix multiple installs - #888

Merged
perazz merged 2 commits into
fortran-lang:mainfrom
perazz:fix_multiple_installs
Apr 25, 2023
Merged

Fix multiple installs#888
perazz merged 2 commits into
fortran-lang:mainfrom
perazz:fix_multiple_installs

Conversation

@perazz

@perazz perazz commented Apr 24, 2023

Copy link
Copy Markdown
Member

Addresses #886. As correctly pointed out there, fpm should never move files away from its internal folders as that will break local storage in unpredictable ways.

I believe usage of move commands was motivated by the fact that, if we want to install a package again in a same folder where it exists already, some OSs may request the user prompt when overwriting files.

I suggest (for install only) to force-copy instead.
cc: @awvwgk @henilp105 @arteevraina @minhqdao @freevryheid @egiovan I'd kindly ask any of you a quick review before merging, thank you in advance.

@perazz

perazz commented Apr 24, 2023

Copy link
Copy Markdown
Member Author

A quick check should be enough on this one. Thank you @minhqdao @arteevraina @henilp105

@henilp105 henilp105 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @perazz . looks good to me.

@perazz

perazz commented Apr 25, 2023

Copy link
Copy Markdown
Member Author

Thank you @henilp105 @arteevraina, I think I can merge this now.

@perazz
perazz merged commit dcb8967 into fortran-lang:main Apr 25, 2023
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.

3 participants