Skip to content

Latest commit

 

History

History
252 lines (178 loc) · 10.2 KB

CHANGELOG.md

File metadata and controls

252 lines (178 loc) · 10.2 KB

Changelog

[3.0.3] - 01-04-2021

Bug fixes

  • fixed capturing of errors that can occur in repo_sync.ps1 during fetch & clone, when credentials are wrong etc

[3.0.2] - 10-11-2020

Changes

  • added installer (setup.cmd) for simplification of fresh installation so as deployment of new version of this solution
  • minor bugfixes

[3.0.1] - 07-30-2020

Changes

  • Refresh-Console function:
    • don't exit if user doesn't have permissions to refresh data on MGM server
    • new parameter JustConsoleRefresh
    • changes in outputted text

[3.0.0] - 2020-07-17

BREAKING CHANGE

  • to significantly speed up import of new repository data to PS console (Refresh-Console) I have rewritten all synchronization scripts. As side effect, you now have to call Repo_sync.ps1 in eponymous Scheduled Task on MGM server with -force switch. If you are unsure how to do that, check install instructions but basically you have to call powershell.exe with arguments: -ExecutionPolicy ByPass -NoProfile -Command "&{"C:\Windows\Scripts\Repo_Sync\Repo_Sync.ps1" -force}"
    • check help of Refresh-Console function for more information how to speed up synchronization even more (it can be almost 5x times faster than the old version!)

Changed

  • PSScriptAnalyzer 1.18.1 was replaced by 1.19.0
  • pre-commit.ps1: processing AST through functions, bugfixes, warn about changed aliases, warn about variables in Variables module that dont start with underscore, warn if new variable would replace variable from repo_sync.ps1 or PS_env_set_up.ps1, trim lenghty messages
  • commit-msg: check of commit name is now optional
  • post-commit.ps1, post-merge.ps1: trim lenghty message
  • customConfig: use new variable with underscore prefix
  • Variables.psm1: new variables, rename of all variables to start with underscore (because of easy differentiation)
  • modulesConfig.ps1: use new variable with underscore prefix
  • repo_sync.ps1: better log output, possibility to process just changed files, marking generated modules as autogenerated, bugfixes
  • Refresh-Console: by default on MGM server just changes will be processed, lot of new parameters to limit, what exactly should be synchronized
  • Send-Email: value of critical parameters are now by default variables defined in Variables module
  • PS_env_set_up.ps1: new parameters to limit, what exactly should be synchronized to client from DFS repository

Bug fixes

  • various minor bugfixes

[2.0.26] - 2020-05-14

Bug fixes

  • fixed detection of variables from Variables module in pre-commit.ps1

Changed

  • detection of possible duplicates variables in Variables module no longer ends commit, but you can continue if you consider it ok

[2.0.25] - 2020-05-14

Bug fixes

  • fixed duplicating console Title (profile.ps1) in case that working path contains spaces

Changed

  • renaming helper variables in profile.ps1 to minimize possibility to interfere with regular work in console

[2.0.24] - 2020-05-04

Bug fixes

  • fixed detection of commited files with spaces in pre-commit.ps1

[2.0.23] - 2020-04-30

Bug fixes

  • fixed detection of commited files in pre-commit.ps1

Changed

  • robocopy now show more error messages

[2.0.22] - 2020-04-29

Bug fixes

  • correctly handle situation when computerName key in $customConfig or $modulesConfig contains as value array that consists from string and array. And the same fix goes also for $computerWithProfile

[2.0.21] - 2020-04-24

Bug fixes

  • fixed detection of renamed files in pre-commit.ps1

Changed

  • relaxed checks for sched. task xml validity + handle xml without author in PS_env_set_up.ps1

[2.0.20] - 2020-03-27

Bug fixes

  • fixed bug that caused deletion of scheduled tasks (that were created by this solution) in case, that computer was defined in multiple objects in customConfig variable

Changed

  • scheduled task validity check in pre-commit.ps1 now instead of URI tag checks for existence of Author tag in task XML definition
    • so sched. tasks exported from Windows Server 2012 can be used too without problem

[2.0.19] - 2020-03-18

Changed

  • translation of git hooks

[2.0.18] - 2020-03-13

Changed

  • translation of customConfig.ps1
  • translation of modulesConfig.ps1
  • translation of repo_sync.ps1
  • translation of PS_env_st_up.ps1

[2.0.17] - 2020-03-09

Changed

  • translation of profile.ps1

Bug fixes

  • another fix for showing "how many commits behind" number in ISE title

[2.0.16] - 2020-03-09

Bug fixes

  • fixed showing "how many commits behind" number in ISE title

[2.0.15] - 2020-01-02

Bug fixes

  • output git errors in repo_sync.ps1 as error objects, so try{} catch{} block works as exptected

[2.0.14] - 2019-12-18

Added

  • console Title now shows number of commits, this console is "behind" i.e. how old are data you are working with How new Title looks like

(so you have a hint, how urgent is to start new console (to be able to work with new repository content), or run Refresh-Console to get new content to this console)

beware, that it sais, how much "behind" is your console to your system state, not git repository itself

[2.0.13] - 2019-11-25

Bug fixes

  • missing computerName in sent emails (from PS_env_set_up)
  • double question "Are you sure you want to continue in commit?" in pre-commit

Changed

  • better examples in customConfig
  • quote output of TAB completition in PS profile

[2.0.12] - 2019-11-21

Changed

  • compatibility check is now voluntary because of it's impact on pre-commit checks performance
    • to enable check, just uncomment rules section in PSScriptAnalyzerSettings.psd1

[2.0.11] - 2019-11-20

Changed

  • profile.ps1 cleanup
  • move functions from profile.ps1 to separate adminFunctions module

[2.0.10] - 2019-11-12

Bug fixes

  • fixed bug in pre-commit which lead to ignore files with spaces in variable $filesToCommitNoDEL
    • such files start with " in git.exe status --porcelain output

[2.0.9] - 2019-11-01

Added

  • automatic scheduled task creation from xml saved in Custom section (modification and deletion if not needed anymore)
    • so now you can automatically distribute as scripts as scheduled task itself (that should run them). No GPO preferences needed
    • check examples for getting better insight

[2.0.8] - 2019-10-31

Bug fixes

  • fixed bug in PS_env_set_up that caused error in synchronization on computers, that should obtain global PS profile

[2.0.7] - 2019-10-24

Bug fixes

  • fixed check for modules existence (now check also scripts2module path) in pre-commit

[2.0.6] - 2019-10-24

Bug fixes

  • fixed not working limiting access to Custom folder stored in DFS share when used variables (from module Variables)

Added

  • limiting access to modules stored in DFS share to just computers listed in $modulesConfig computerName key. No other machines can access them

Changed

  • better log output for repo_sync.ps1 script

[2.0.5] - 2019-10-16

Changed

  • important comments and error messages changed to english

[2.0.4] - 2019-10-4

Added

  • possibility to automatically sign Powershell code
    • just set up and uncomment definition of $signingCert variable in repo_sync.ps1

[2.0.3] - 2019-10-3

Added

  • possibility to sync modules just to chosen computers (defined in modulesConfig.ps1)

Changed

  • $config variable defined in customConfig.ps1 renamed to $customConfig to honor name of the script file and be more unique
  • repo_sync.ps1 now sync changes to DFS everytime, not just in case, some new data was pulled from cloud repo

Bug fixes

  • minor fixes

[2.0.2] - 2019-10-1

Added

  • check, that commited scripts are compatible with Powershell 3.0 (defined in PSScriptAnalyzerSettings.psd1, so edit it, if you wish to check PS Core compatibility etc)

[2.0.1] - 2019-9-27

Bug fixes

  • minor fixes

[2.0.0] - 2019-9-22

Breaking change

  • $config key customNTFS was renamed to customDestinationNTFS
  • $config key customShareNTFS was renamed to customSourceNTFS

Bug fixes

  • Repo_sync newly works with most actual data (loads Variables module and customConfig.ps1 right from local cloned repo, prior to loading from DFS share, which could lead to problems in some situations)

Added

  • Granting access to global Powershell profile (scripts2root\profile.ps1) stored in DFS to just computers listed in $computerWithProfilefolders. No other machines can access it.
  • Possibility to copy Custom folder to any given local or shared path
  • Possibility to copy just content of Custom folder
  • Validation of $config variable stored in customConfig.ps1
  • Multiple accounts could be defined in customDestinationNTFS (customNTFS)
  • Warn about commited files, that contain #FIXME comment
  • TAB completition of computerName parametr in any command defined in Scripts module through using Register-ArgumentCompleter in profile.ps1

Changed

  • Update-Repo and Export-ScriptsToModule functions was moved to Repo_sync.ps1

[1.0.3] - 2019-9-2

Added

  • Possibility to define custom share NTFS rights for folders in Custom. Intended for limiting read access to folders stored in share/DFS, in case the folder doesn't have computerName attribute in customConfig, etc access isn't limited already.

[1.0.2] - 2019-8-30

Changed

  • Later import of the Variables module in PS_env_set_up.ps1 script. To work with current data when synchronyzing profile and Custom section.

[1.0.1] - 2019-8-30

Added

  • Granting access to folders in DFS repository "Custom" to just computers, which should download this content. Non other machines can access it.

[1.0.0] - 2019-8-29

Added

  • Initial commit