You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[PackageManagement] Need to use platform agnostic methods to manage bootstrapping #1174
Area-PackageManagementspecific to PackageManagement module (aka OneGet)Blockedblocked on something external to this repoIssue-BugIssue has been identified as a bug in the product
On linux/OSX, certain PkgMgmt functionality such as bootstrapping, updating providers are broken because of the dependency on the following env variables:
$env:APPDATA
$env:LOCALAPPDATA
$env:ProgramFiles
These make sense only on Windows. We need to use platform agnostic methods to manage bootstrapping.
changed the title [-][PackageManagement] OPS needs to initialize certain env variables[/-][+][PackageManagement] Need to use platform agnostic methods to manage bootstrapping[/+]on Jun 22, 2016
Area-PackageManagementspecific to PackageManagement module (aka OneGet)Blockedblocked on something external to this repoIssue-BugIssue has been identified as a bug in the product
Activity
andyleejordan commentedon Jun 22, 2016
Do you mean only on Windows, or on Linux too? They don't make much sense on Linux, and should be inherited from the environment on Windows.
raghushantha commentedon Jun 22, 2016
PackageManagement bootstrapping mechanism uses these paths to manage out-of-box providers (such as Nuget Provider, PackageList provider).
Also, PowerShellGet uses programfiles location to install modules from the Gallery.
For Linux, the above is broken without these variables being initialized.
Ideally PkgMgmt must not take dependency on platform specific paths..
andyleejordan commentedon Jun 22, 2016
PkgMgmt will need to be modified to use XDG BDS locations on Linux / OS X, it cannot use the Windows variables. A (@ealexjordan) can help with this.
[-][PackageManagement] OPS needs to initialize certain env variables[/-][+][PackageManagement] Need to use platform agnostic methods to manage bootstrapping[/+]ealexjordan commentedon Jun 27, 2016
As per the meeting, the XDG specifications are at:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
The following issue and pull request may also be of some help:
#935
#1060
raghushantha commentedon Jul 7, 2016
This work item is done
#1282