Skip to content

Commit

Permalink
color fix, fix smart group export, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BIG-RAT committed Apr 5, 2023
1 parent fd498ca commit 69bd872
Show file tree
Hide file tree
Showing 12 changed files with 571 additions and 26 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ This can also be accomplished using the UI by launching jamf-migrator from Termi


## History
**v7.1.1**<br>
Prevent configuration profiles that include a Filevault payload from migrating. Fix export of smart comuter/device groups. Fix color mismatch (issue #88)

**v7.1.0**<br>
Command line functionality. Note, -backup has been renamed -export and allows for specific types of objects to be exported. Exported scripts no longer have characters XML encoded. Expire tokens when quitting app.

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-debug"
isEnabled = "NO">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-backup"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-export"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-objects scripts,departments,categories,buildings,sites"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-source m.hickoryhillseast.net"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-debug"
isEnabled = "NO">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-migrate"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-sticky"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-source &quot;/Users/leslie/Desktop/pretendco/raw&quot;"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-source m.hickoryhillseast.net"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-dest coldmizer.jamfcloud.com"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-objects sites,userextensionattributes,ldapservers,users,buildings,departments,categories,classes,jamfusers,jamfgroups,networksegments,advancedusersearches,smartusergroups,staticusergroups,distributionpoints,directorybindings,diskencryptionconfigurations,dockitems,computers,softwareupdateservers,computerextensionattributes,scripts,printers,packages,smartcomputergroups,staticcomputergroups,restrictedsoftware,osxconfigurationprofiles,macapplications,patchpolicies,advancedcomputersearches,policies,mobiledeviceextensionattributes,mobiledevices,smartmobiledevicegroups,staticmobiledevicegroups,advancedmobiledevicesearches,mobiledeviceapplications,mobiledeviceconfigurationprofiles"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-objects classes,jamfusers,jamfgroups,networksegments,advancedusersearches,smartusergroups,staticusergroups,distributionpoints,directorybindings,diskencryptionconfigurations,dockitems,computers,softwareupdateservers,computerextensionattributes,scripts,printers,packages,smartcomputergroups,staticcomputergroups,restrictedsoftware,osxconfigurationprofiles,macapplications,patchpolicies,advancedcomputersearches,policies"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-objects buildings,computerextensionattributes,scripts,jamfusers,departments"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-objects policies"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-objects smartcomputergroups,staticcomputergroups,restrictedsoftware,osxconfigurationprofiles,macapplications"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-objects allObjects"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-scope false"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "-debug"
isEnabled = "NO">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BC01C5B1DFB0C07007E634E"
BuildableName = "jamf-migrator.app"
BlueprintName = "jamf-migrator"
ReferencedContainer = "container:jamf-migrator.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit 69bd872

Please sign in to comment.