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

Unmount repositories prior to installation #74

Merged
merged 2 commits into from
Aug 21, 2019

Conversation

jeschu1
Copy link
Member

@jeschu1 jeschu1 commented Aug 20, 2019

  • Enable registering repositories in the service
  • Cherry-pick of fixes for Mac Installer to unmount all repos

resolves #60

function GetBlockingProcesses()
{
var watchList = [ "Scalar.Mount", "git", "gitk", "Wish" ];
var watchList = [ "git", "gitk", "Wish" ];
Copy link
Member

Choose a reason for hiding this comment

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

Don't we still want Scalar.Mount as a blocking process?

Copy link
Contributor

Choose a reason for hiding this comment

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

This would stop the installer from running, including the script that unmounts the running repos.

Copy link
Member

@jrbriggs jrbriggs Aug 20, 2019

Choose a reason for hiding this comment

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

Then does this same change need to be made in VFS for Git?
Just checked, no.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done already, in microsoft/VFSForGit#1456.

Copy link
Member

Choose a reason for hiding this comment

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

That change was just made in VFS4G in this PR: microsoft/VFSForGit#1456

Scalar.Installer.Mac/scripts/preinstall Outdated Show resolved Hide resolved
Copy link
Contributor

@derrickstolee derrickstolee left a comment

Choose a reason for hiding this comment

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

I installed this version locally, cloned (a new clone to get the service registry working), then reinstalled. Thanks!

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@jrbriggs jrbriggs changed the title Handle Unmounting Repositories Unmount repositories prior to installation Aug 20, 2019
@jeschu1 jeschu1 merged commit 5dd5fac into microsoft:master Aug 21, 2019
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.

Installer does not auto-unmount enlistments
4 participants