Skip to content

Commit

Permalink
Issue #857 - additional fixes & version specific handling
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamNaj committed Mar 10, 2017
1 parent 204558f commit aa822f4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Expand Up @@ -13,14 +13,14 @@ templatekey: PowerShell Script
field: {B1A94FF0-6897-47C0-9C51-AA6ACB80B1F0}
name: Script
key: script
content-length: 2835
content-length: 2836

$sites = [Sitecore.Sites.SiteManager]::GetSites()
$usedUrls = @();
$outSites = @();
$conflicts = 0;
$progress = 0;
$ignoredSites = @() #@("shell", "system", "publisher", "scheduler", "login", "admin", "service", "modules_shell", "modules_website");
$ignoredSites = @("system", "publisher", "scheduler") # + @("shell", "login", "admin", "service", "modules_shell", "modules_website");

foreach ($siteObj in $sites) {

Expand Down Expand Up @@ -96,7 +96,7 @@ Applications/32x32/help_earth.png
----version----
language: en
version: 1
revision: 7ac7a6ab-840b-4bc0-a97e-74230c4c4841
revision: b1232ca6-5a2a-4e16-adbd-1576f8d77602

----field----
field: {25BED78C-4957-4165-998A-CA1B52F67497}
Expand All @@ -111,14 +111,14 @@ name: __Revision
key: __revision
content-length: 36

7ac7a6ab-840b-4bc0-a97e-74230c4c4841
b1232ca6-5a2a-4e16-adbd-1576f8d77602
----field----
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
name: __Updated
key: __updated
content-length: 15

20170309T124055
20170310T105119
----field----
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
name: __Updated by
Expand Down
Expand Up @@ -13,7 +13,7 @@ templatekey: PowerShell Script
field: {B1A94FF0-6897-47C0-9C51-AA6ACB80B1F0}
name: Script
key: script
content-length: 13880
content-length: 13894

$icons8 = @{
'core:\content\Applications\PowerShell\PowerShellIse\Menus\Context\Do not set location' = 'Office/32x32/sign_forbidden.png';
Expand Down Expand Up @@ -59,7 +59,7 @@ $icons8 = @{
'master:/system/Modules/PowerShell/Script Library/Index On Demand/Content Editor/Context Menu/Index this' = 'office/32x32/data.png';
'master:/system/Modules/PowerShell/Script Library/Index On Demand/Content Editor/Context Menu/Index this and descendants' = 'office/32x32/rebuild_all_indexes.png';
'master:/system/Modules/PowerShell/Script Library/Platform/Internal/List View/Ribbon/Item/Open' = 'Office/32x32/nav_right.png';
'master:/system/Modules/PowerShell/Script Library/Platform/Internal/List View/Ribbon/Site/Open' = 'Office/32x32/nav_right.png';
'master:/system/Modules/PowerShell/Script Library/Content Reports/Internal/List View/Ribbon/Site/Open' = 'Office/32x32/nav_right.png';
'master:/system/Modules/PowerShell/Script Library/Platform/Toolbox/About Sitecore PowerShell Extensions' = 'Office/32x32/information.png';
'master:/system/Modules/PowerShell/Script Library/System Maintenance/Tasks/Clean up database tables' = 'office/32x32/data.png';
'master:/system/Modules/PowerShell/Script Library/System Maintenance/Tasks/Clean up databases' = 'Office/32x32/data.png';
Expand Down Expand Up @@ -112,7 +112,7 @@ $icons7 = @{
'master:/system/Modules/PowerShell/Script Library/Index On Demand/Content Editor/Context Menu/Index this' = 'Database/32x32/db_sql_execute.png';
'master:/system/Modules/PowerShell/Script Library/Index On Demand/Content Editor/Context Menu/Index this and descendants' = 'Database/32x32/db_sql_execute_h.png';
'master:/system/Modules/PowerShell/Script Library/Platform/Internal/List View/Ribbon/Item/Open' = 'Control/16x16/treeview.png';
'master:/system/Modules/PowerShell/Script Library/Platform/Internal/List View/Ribbon/Site/Open' = 'Control/16x16/treeview.png';
'master:/system/Modules/PowerShell/Script Library/Content Reports/Internal/List View/Ribbon/Site/Open' = 'Control/16x16/treeview.png';
'master:/system/Modules/PowerShell/Script Library/Platform/Toolbox/About Sitecore PowerShell Extensions' = 'Applications/32x32/about.png';
'master:/system/Modules/PowerShell/Script Library/System Maintenance/Tasks/Clean up database tables' = 'Business/32x32/data_replace.png';
'master:/system/Modules/PowerShell/Script Library/System Maintenance/Tasks/Clean up databases' = 'Business/32x32/data_ok.png';
Expand Down Expand Up @@ -158,7 +158,7 @@ foreach($path in $icons.Keys){
----version----
language: en
version: 1
revision: 64ecb11d-8c7f-414c-b82b-c20a7d9e5777
revision: 9e9e4284-b61e-44b4-ad1e-919071d59343

----field----
field: {25BED78C-4957-4165-998A-CA1B52F67497}
Expand All @@ -173,14 +173,14 @@ name: __Revision
key: __revision
content-length: 36

64ecb11d-8c7f-414c-b82b-c20a7d9e5777
9e9e4284-b61e-44b4-ad1e-919071d59343
----field----
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
name: __Updated
key: __updated
content-length: 15

20170305T204900
20170309T144803
----field----
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
name: __Updated by
Expand Down

0 comments on commit aa822f4

Please sign in to comment.