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

DevCheck: Settings options, configuration dependency paths, Sync'd dependencies #4707

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

DrusTheAxe
Copy link
Member

@DrusTheAxe DrusTheAxe commented Sep 11, 2024

New options

  • -Settings => Load the settings file (if exists) to enable future customization (default=$True)
  • -SettingsFile=file => Settings file to load (default = ...repo....user\DevCheck-Settings.ps1)
  • -SaveSettingsFile=file => Save a default settings file (fail if exists; won't overwrite existing files)
  • -UserSettings => Load the user settings file (if exists) to enable future customization (default=$True)
  • -UserSettingsFile=file => User Settings file to load (default = ...repo....user\DevCheck-Settings.ps1)
  • -SaveUserSettingsFile=file => Save a default user settings file (fail if exists; won't overwrite existing files)

Settings file is for a project to customize behavior. User Settings file is per user to mess with.

NOTE: A future update will change the default location for Settings file (pending a change to DevCheck.cmd @kythant is working on)

Change -CheckDependencies and -SyncDependencies to use a customization list of root directories. Use a settings file with custom values for $global:dependency_paths e.g.

$global:dependency_paths = ('fee', 'fie', 'foe\fum')

Also ran -SyncDependencies to correct a couple of stale entries (FrameworkUdk from May(!))

@DrusTheAxe DrusTheAxe added the area-Infrastructure Build, test, source layout, package construction (TODO: move to Deployment, DeveloperTools) label Sep 11, 2024
@DrusTheAxe DrusTheAxe added this to the 1.7 milestone Sep 11, 2024
@DrusTheAxe DrusTheAxe self-assigned this Sep 11, 2024
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe DrusTheAxe changed the title DevCheck: -Settings, -SettingsFile=file, -SaveSettingsFile=file, configuration dependency paths DevCheck: Settings options, configuration dependency paths, Sync'd dependencies Sep 12, 2024
@DrusTheAxe DrusTheAxe enabled auto-merge (squash) September 12, 2024 16:06
@DrusTheAxe DrusTheAxe merged commit aae37a0 into main Sep 12, 2024
27 checks passed
@DrusTheAxe DrusTheAxe deleted the user/drustheaxe/devcheck-settings branch September 12, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure Build, test, source layout, package construction (TODO: move to Deployment, DeveloperTools) needs-triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants