xolo-admin 1.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +40 -3
- data/bin/xadm +4 -1
- data/data/client/xolo +1233 -0
- data/lib/optimist_with_insert_blanks.rb +1216 -0
- data/lib/xolo/admin/command_line.rb +18 -5
- data/lib/xolo/admin/configuration.rb +16 -0
- data/lib/xolo/admin/connection.rb +18 -5
- data/lib/xolo/admin/credentials.rb +94 -50
- data/lib/xolo/admin/highline_terminal.rb +14 -47
- data/lib/xolo/admin/interactive.rb +146 -15
- data/lib/xolo/admin/jamf_pro.rb +14 -0
- data/lib/xolo/admin/options.rb +37 -3
- data/lib/xolo/admin/processing.rb +78 -13
- data/lib/xolo/admin/progress_history.rb +1 -1
- data/lib/xolo/admin/title.rb +33 -24
- data/lib/xolo/admin/validate.rb +222 -44
- data/lib/xolo/admin/version.rb +55 -18
- data/lib/xolo/core/base_classes/configuration.rb +238 -0
- data/lib/xolo/core/base_classes/server_object.rb +112 -0
- data/lib/xolo/core/base_classes/title.rb +884 -0
- data/lib/xolo/core/base_classes/version.rb +641 -0
- data/lib/xolo/core/constants.rb +85 -0
- data/lib/xolo/core/exceptions.rb +52 -0
- data/lib/xolo/core/json_wrappers.rb +43 -0
- data/lib/xolo/core/loading.rb +59 -0
- data/lib/xolo/core/output.rb +292 -0
- data/lib/xolo/core/security_cmd.rb +128 -0
- data/lib/xolo/core/version.rb +21 -0
- data/lib/xolo/core.rb +47 -0
- metadata +17 -11
data/lib/xolo/core.rb
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Copyright 2025 Pixar
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the terms set forth in the LICENSE.txt file available at
|
|
4
|
+
# at the root of this project.
|
|
5
|
+
#
|
|
6
|
+
|
|
7
|
+
# frozen_string_literal: true
|
|
8
|
+
|
|
9
|
+
# Load the core xolo functionality
|
|
10
|
+
#
|
|
11
|
+
# This is done automatically when you `require 'xolo/admin'` or
|
|
12
|
+
# `require 'xolo/server'`
|
|
13
|
+
|
|
14
|
+
# Ruby Standard Libraries
|
|
15
|
+
######
|
|
16
|
+
require 'English'
|
|
17
|
+
require 'date'
|
|
18
|
+
require 'time'
|
|
19
|
+
require 'pathname'
|
|
20
|
+
require 'json'
|
|
21
|
+
|
|
22
|
+
# Other Gems to include at this level
|
|
23
|
+
require 'pixar-ruby-extensions'
|
|
24
|
+
|
|
25
|
+
# Internal requires - order matters
|
|
26
|
+
require 'xolo/core/loading'
|
|
27
|
+
require 'xolo/core/version'
|
|
28
|
+
require 'xolo/core/constants'
|
|
29
|
+
require 'xolo/core/exceptions'
|
|
30
|
+
|
|
31
|
+
# The main module
|
|
32
|
+
module Xolo
|
|
33
|
+
|
|
34
|
+
extend Xolo::Core::Loading
|
|
35
|
+
include Xolo::Core::Version
|
|
36
|
+
include Xolo::Core::Constants
|
|
37
|
+
include Xolo::Core::Exceptions
|
|
38
|
+
|
|
39
|
+
end # module Xolo
|
|
40
|
+
|
|
41
|
+
require 'xolo/core/json_wrappers'
|
|
42
|
+
require 'xolo/core/security_cmd'
|
|
43
|
+
require 'xolo/core/base_classes/configuration'
|
|
44
|
+
require 'xolo/core/base_classes/server_object'
|
|
45
|
+
require 'xolo/core/base_classes/title'
|
|
46
|
+
require 'xolo/core/base_classes/version'
|
|
47
|
+
require 'xolo/core/output'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xolo-admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Lasell
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-05-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -68,16 +68,8 @@ dependencies:
|
|
|
68
68
|
version: '2.1'
|
|
69
69
|
description: |
|
|
70
70
|
== Xolo
|
|
71
|
-
Xolo (sorta pronounced 'show-low') is an HTTPS server and set of command-line tools for macOS that provide automatable access to the software deployment and patch management aspects of {Jamf Pro}[https://www.jamf.com/products/jamf-pro/] and the {Jamf Title Editor}[https://learn.jamf.com/en-US/bundle/title-editor/page/About_Title_Editor.html]. It enhances Jamf Pro's abilities in many ways
|
|
71
|
+
Xolo (sorta pronounced 'show-low') is an HTTPS server and set of command-line tools for macOS that provide automatable access to the software deployment and patch management aspects of {Jamf Pro}[https://www.jamf.com/products/jamf-pro/] and the {Jamf Title Editor}[https://learn.jamf.com/en-US/bundle/title-editor/page/About_Title_Editor.html]. It enhances Jamf Pro's abilities in many ways.
|
|
72
72
|
|
|
73
|
-
- Management of titles and versions/patches is scriptable and automatable, allowing developers and admins to integrate with CI/CD workflows.
|
|
74
|
-
- Simplifies and standardizes the complex, multistep manual process of managing titles and patches using the Title Editor and Patch Management web interfaces.
|
|
75
|
-
- Client installs can be performed by remotely via ssh and/or MDM
|
|
76
|
-
- Automated pre-release piloting of new versions/patches
|
|
77
|
-
- Titles can be expired (auto-uninstalled) after a period of disuse, reclaiming unused licenses.
|
|
78
|
-
- And more!
|
|
79
|
-
|
|
80
|
-
"Xolo" is the short name for the Mexican hairless dog breed {'xoloitzcuintle'}[https://en.wikipedia.org/wiki/Xoloitzcuintle] (show-low-itz-kwint-leh), as personified by Dante in the 2017 Pixar film _Coco_.
|
|
81
73
|
|
|
82
74
|
The xolo-admin gem packages the code needed to run 'xadm', the command-line tool for system administrators to deploy and maintain software titles using Xolo.
|
|
83
75
|
email: xolo@pixar.com
|
|
@@ -91,6 +83,8 @@ files:
|
|
|
91
83
|
- LICENSE.txt
|
|
92
84
|
- README.md
|
|
93
85
|
- bin/xadm
|
|
86
|
+
- data/client/xolo
|
|
87
|
+
- lib/optimist_with_insert_blanks.rb
|
|
94
88
|
- lib/xolo-admin.rb
|
|
95
89
|
- lib/xolo/admin.rb
|
|
96
90
|
- lib/xolo/admin/command_line.rb
|
|
@@ -108,6 +102,18 @@ files:
|
|
|
108
102
|
- lib/xolo/admin/title_editor.rb
|
|
109
103
|
- lib/xolo/admin/validate.rb
|
|
110
104
|
- lib/xolo/admin/version.rb
|
|
105
|
+
- lib/xolo/core.rb
|
|
106
|
+
- lib/xolo/core/base_classes/configuration.rb
|
|
107
|
+
- lib/xolo/core/base_classes/server_object.rb
|
|
108
|
+
- lib/xolo/core/base_classes/title.rb
|
|
109
|
+
- lib/xolo/core/base_classes/version.rb
|
|
110
|
+
- lib/xolo/core/constants.rb
|
|
111
|
+
- lib/xolo/core/exceptions.rb
|
|
112
|
+
- lib/xolo/core/json_wrappers.rb
|
|
113
|
+
- lib/xolo/core/loading.rb
|
|
114
|
+
- lib/xolo/core/output.rb
|
|
115
|
+
- lib/xolo/core/security_cmd.rb
|
|
116
|
+
- lib/xolo/core/version.rb
|
|
111
117
|
homepage: https://pixaranimationstudios.github.io/xolo-home/
|
|
112
118
|
licenses:
|
|
113
119
|
- LicenseRef-LICENSE.txt
|