pivotal-legacy / pivotal_ide_prefs

CLI for installing and tracking your IDE preferences over time.
76 stars 68 forks source link

Keeping default_ide_pref_dir_version current #68

Open professor opened 7 years ago

professor commented 7 years ago

I think we need to be keeping the value for default_ide_pref_dir_version current.

When workstation setup runs, it installs CLion. The current version from homebrew is 2017.2 We then run pivotal_ide_prefs for CLion which places the preferences at /Users/pivotal/Library/Preferences/Cion2016.2

brew cask install clion ... ./bin/ide_prefs install --ide=clion

This means that if the user starts up CLion, the will not see any of the pivotal ide preferences. The user needs to re-run pivotal_ide_prefs, then the user will see the settings.

One solution is to update default_ide_pref_dir_version for each of the JetBrains product whenever homebrew is updated.

Any other ideas?

nertzy commented 7 years ago

I think it's important that the ide prefs get installed after the IDEs. That might be the issue?

professor commented 7 years ago

It is installed after the program but before the program is opened up by the user. I've been seeing this issue for over a year and finally I think I understand the root issue. On Fri, Sep 1, 2017 at 5:59 PM Grant Hutchins notifications@github.com wrote:

I think it's important that the ide prefs get installed after the IDEs. That might be the issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pivotal/pivotal_ide_prefs/issues/68#issuecomment-326711574, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA5plOUyazfU7D0O2AWfoamcm-Enovxks5seKhrgaJpZM4PKrIf .

infews commented 3 years ago

This is probably closable. It's been long enough that the cli installs to an old directory (not the current one) and on first run should prompt the user to migrate.