bisos.capDns 0.1__tar.gz

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.
@@ -0,0 +1,186 @@
1
+ Metadata-Version: 2.2
2
+ Name: bisos.capDns
3
+ Version: 0.1
4
+ Summary: bisos.gitist: Git Mass Cloning and More
5
+ Author: Mohsen Banan
6
+ Author-email: libre@mohsen.1.banan.byname.net
7
+ Maintainer: Mohsen Banan
8
+ Maintainer-email: libre@mohsen.1.banan.byname.net
9
+ License: AGPL
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Operating System :: POSIX
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Topic :: Software Development :: Libraries
15
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
+ Requires-Dist: bisos
17
+ Requires-Dist: bisos.b
18
+ Requires-Dist: bisos.common
19
+ Requires-Dist: bisos.csPlayer
20
+ Requires-Dist: bisos.csSeed
21
+ Requires-Dist: setuptools==75.8.0
22
+ Requires-Dist: wheel==0.38.4
23
+ Dynamic: author
24
+ Dynamic: author-email
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: license
28
+ Dynamic: maintainer
29
+ Dynamic: maintainer-email
30
+ Dynamic: requires-dist
31
+ Dynamic: summary
32
+
33
+ =======================================
34
+ bisos.gitist: Git Mass Cloning and More
35
+ =======================================
36
+
37
+ .. contents::
38
+ :depth: 3
39
+ ..
40
+
41
+ Overview
42
+ ========
43
+
44
+ *bisos.gitist* provides general facilities for mass cloning of public
45
+ github and gitlab and also private gitlab instances.
46
+
47
+ bisos.gitist is a python package that uses the
48
+ `PyCS-Framework <https://github.com/bisos-pip/pycs>`__.
49
+
50
+ gitist.cs is a seed. Common usages of gitist take the form of a
51
+ gitistProc.pcs.
52
+
53
+ .. _table-of-contents:
54
+
55
+ Table of Contents TOC
56
+ =====================
57
+
58
+ - `Overview <#overview>`__
59
+ - `Gitist Layers <#gitist-layers>`__
60
+ - `Post-Installation Setup <#post-installation-setup>`__
61
+ - `Installation <#installation>`__
62
+
63
+ - `Installation With pip <#installation-with-pip>`__
64
+ - `Installation With pipx <#installation-with-pipx>`__
65
+
66
+ - `Usage <#usage>`__
67
+
68
+ - `Local Usage (system
69
+ command-line) <#local-usage-system-command-line>`__
70
+
71
+ - `Documentation and Blee-Panels <#documentation-and-blee-panels>`__
72
+
73
+ - `bisos.gitist Blee-Panels <#bisosgitist-blee-panels>`__
74
+
75
+ - `Support <#support>`__
76
+ - `Planned Improvements <#planned-improvements>`__
77
+
78
+ Gitist Layers
79
+ =============
80
+
81
+ #. PyCS Framework
82
+ #. Seeded/Planted PyCS Framework (gitist.cs)
83
+ #. Common csCmndsList (bisos.csSeed)
84
+ #. Gitist Commands CSUs
85
+
86
+ Post-Installation Setup
87
+ =======================
88
+
89
+ After installing, run the provisioning script to create the credentials
90
+ directory and place the configuration templates:
91
+
92
+ .. code:: bash
93
+
94
+ config/provision.pcs -i credsSetup
95
+
96
+ This creates ``~/credentials/git/`` and copies two config files there if
97
+ they do not already exist:
98
+
99
+ - ``~/credentials/git/githubHosts.cfg`` — GitHub configuration; insert
100
+ your GitHub PAT (Personal Access Token) here.
101
+ - ``~/credentials/git/gitlabHosts.cfg`` — GitLab configuration; insert
102
+ your GitLab PAT here.
103
+
104
+ Once the PATs are in place, you can run the gitist proc scripts, e.g.:
105
+
106
+ .. code:: bash
107
+
108
+ bin/github-pub-gitist.pcs
109
+ bin/gitlab-pub-gitist.pcs
110
+
111
+ Installation
112
+ ============
113
+
114
+ The sources for the bisos.gitist pip package are maintained at:
115
+ https://github.com/bisos-pip/gitist.
116
+
117
+ The bisos.gitist pip package is available at PYPI as
118
+ https://pypi.org/project/bisos.gitist
119
+
120
+ You can install bisos.gitist with pip or pipx.
121
+
122
+ Installation With pip
123
+ ---------------------
124
+
125
+ If you need access to bisos.gitist as a python module, you can install
126
+ it with pip:
127
+
128
+ .. code:: bash
129
+
130
+ pip install bisos.gitist
131
+
132
+ Installation With pipx
133
+ ----------------------
134
+
135
+ If you only need access to bisos.gitist on command-line, you can install
136
+ it with pipx:
137
+
138
+ .. code:: bash
139
+
140
+ pipx install bisos.gitist
141
+
142
+ Usage
143
+ =====
144
+
145
+ Local Usage (system command-line)
146
+ ---------------------------------
147
+
148
+ ``gitist.cs`` does the equivalent of gitist.
149
+
150
+ .. code:: bash
151
+
152
+ bin/gitist.cs
153
+ bin/gitistProc.pcs
154
+
155
+ Documentation and Blee-Panels
156
+ =============================
157
+
158
+ bisos.gitist is part of ByStar Digital Ecosystem http://www.by-star.net.
159
+
160
+ This module's primary documentation is in the form of Blee-Panels.
161
+ Additional information is also available in:
162
+ http://www.by-star.net/PLPC/180047
163
+
164
+ bisos.gitist Blee-Panels
165
+ ------------------------
166
+
167
+ bisos.gitist Blee-Panles are in ./panels directory. From within Blee and
168
+ BISOS these panles are accessible under the Blee "Panels" menu.
169
+
170
+ See
171
+ `file:./panels/_nodeBase_/fullUsagePanel-en.org <./panels/_nodeBase_/fullUsagePanel-en.org>`__
172
+ for a starting point.
173
+
174
+ Support
175
+ =======
176
+
177
+ | For support, criticism, comments and questions; please contact the
178
+ author/maintainer
179
+ | `Mohsen Banan <http://mohsen.1.banan.byname.net>`__ at:
180
+ http://mohsen.1.banan.byname.net/contact
181
+
182
+ Planned Improvements
183
+ ====================
184
+
185
+ - Enumerate applicabilities: telecom/SON, datacenter, CMIP-MOs
186
+ - py3/bisos/gitist/tocsModule\ :sub:`csu`.py
@@ -0,0 +1,154 @@
1
+ =======================================
2
+ bisos.gitist: Git Mass Cloning and More
3
+ =======================================
4
+
5
+ .. contents::
6
+ :depth: 3
7
+ ..
8
+
9
+ Overview
10
+ ========
11
+
12
+ *bisos.gitist* provides general facilities for mass cloning of public
13
+ github and gitlab and also private gitlab instances.
14
+
15
+ bisos.gitist is a python package that uses the
16
+ `PyCS-Framework <https://github.com/bisos-pip/pycs>`__.
17
+
18
+ gitist.cs is a seed. Common usages of gitist take the form of a
19
+ gitistProc.pcs.
20
+
21
+ .. _table-of-contents:
22
+
23
+ Table of Contents TOC
24
+ =====================
25
+
26
+ - `Overview <#overview>`__
27
+ - `Gitist Layers <#gitist-layers>`__
28
+ - `Post-Installation Setup <#post-installation-setup>`__
29
+ - `Installation <#installation>`__
30
+
31
+ - `Installation With pip <#installation-with-pip>`__
32
+ - `Installation With pipx <#installation-with-pipx>`__
33
+
34
+ - `Usage <#usage>`__
35
+
36
+ - `Local Usage (system
37
+ command-line) <#local-usage-system-command-line>`__
38
+
39
+ - `Documentation and Blee-Panels <#documentation-and-blee-panels>`__
40
+
41
+ - `bisos.gitist Blee-Panels <#bisosgitist-blee-panels>`__
42
+
43
+ - `Support <#support>`__
44
+ - `Planned Improvements <#planned-improvements>`__
45
+
46
+ Gitist Layers
47
+ =============
48
+
49
+ #. PyCS Framework
50
+ #. Seeded/Planted PyCS Framework (gitist.cs)
51
+ #. Common csCmndsList (bisos.csSeed)
52
+ #. Gitist Commands CSUs
53
+
54
+ Post-Installation Setup
55
+ =======================
56
+
57
+ After installing, run the provisioning script to create the credentials
58
+ directory and place the configuration templates:
59
+
60
+ .. code:: bash
61
+
62
+ config/provision.pcs -i credsSetup
63
+
64
+ This creates ``~/credentials/git/`` and copies two config files there if
65
+ they do not already exist:
66
+
67
+ - ``~/credentials/git/githubHosts.cfg`` — GitHub configuration; insert
68
+ your GitHub PAT (Personal Access Token) here.
69
+ - ``~/credentials/git/gitlabHosts.cfg`` — GitLab configuration; insert
70
+ your GitLab PAT here.
71
+
72
+ Once the PATs are in place, you can run the gitist proc scripts, e.g.:
73
+
74
+ .. code:: bash
75
+
76
+ bin/github-pub-gitist.pcs
77
+ bin/gitlab-pub-gitist.pcs
78
+
79
+ Installation
80
+ ============
81
+
82
+ The sources for the bisos.gitist pip package are maintained at:
83
+ https://github.com/bisos-pip/gitist.
84
+
85
+ The bisos.gitist pip package is available at PYPI as
86
+ https://pypi.org/project/bisos.gitist
87
+
88
+ You can install bisos.gitist with pip or pipx.
89
+
90
+ Installation With pip
91
+ ---------------------
92
+
93
+ If you need access to bisos.gitist as a python module, you can install
94
+ it with pip:
95
+
96
+ .. code:: bash
97
+
98
+ pip install bisos.gitist
99
+
100
+ Installation With pipx
101
+ ----------------------
102
+
103
+ If you only need access to bisos.gitist on command-line, you can install
104
+ it with pipx:
105
+
106
+ .. code:: bash
107
+
108
+ pipx install bisos.gitist
109
+
110
+ Usage
111
+ =====
112
+
113
+ Local Usage (system command-line)
114
+ ---------------------------------
115
+
116
+ ``gitist.cs`` does the equivalent of gitist.
117
+
118
+ .. code:: bash
119
+
120
+ bin/gitist.cs
121
+ bin/gitistProc.pcs
122
+
123
+ Documentation and Blee-Panels
124
+ =============================
125
+
126
+ bisos.gitist is part of ByStar Digital Ecosystem http://www.by-star.net.
127
+
128
+ This module's primary documentation is in the form of Blee-Panels.
129
+ Additional information is also available in:
130
+ http://www.by-star.net/PLPC/180047
131
+
132
+ bisos.gitist Blee-Panels
133
+ ------------------------
134
+
135
+ bisos.gitist Blee-Panles are in ./panels directory. From within Blee and
136
+ BISOS these panles are accessible under the Blee "Panels" menu.
137
+
138
+ See
139
+ `file:./panels/_nodeBase_/fullUsagePanel-en.org <./panels/_nodeBase_/fullUsagePanel-en.org>`__
140
+ for a starting point.
141
+
142
+ Support
143
+ =======
144
+
145
+ | For support, criticism, comments and questions; please contact the
146
+ author/maintainer
147
+ | `Mohsen Banan <http://mohsen.1.banan.byname.net>`__ at:
148
+ http://mohsen.1.banan.byname.net/contact
149
+
150
+ Planned Improvements
151
+ ====================
152
+
153
+ - Enumerate applicabilities: telecom/SON, datacenter, CMIP-MOs
154
+ - py3/bisos/gitist/tocsModule\ :sub:`csu`.py
@@ -0,0 +1,127 @@
1
+ #+title: bisos.gitist: Git Mass Cloning and More
2
+
3
+
4
+
5
+
6
+ * Overview
7
+
8
+ /bisos.gitist/ provides general facilities for mass cloning of public github and gitlab
9
+ and also private gitlab instances.
10
+
11
+ bisos.gitist is a python package that uses the [[https://github.com/bisos-pip/pycs][PyCS-Framework]].
12
+
13
+ gitist.cs is a seed. Common usages of gitist take the form of a gitistProc.pcs.
14
+
15
+
16
+
17
+ * Table of Contents :TOC:
18
+ - [[#overview][Overview]]
19
+ - [[#gitist-layers][Gitist Layers]]
20
+ - [[#post-installation-setup][Post-Installation Setup]]
21
+ - [[#installation][Installation]]
22
+ - [[#installation-with-pip][Installation With pip]]
23
+ - [[#installation-with-pipx][Installation With pipx]]
24
+ - [[#usage][Usage]]
25
+ - [[#local-usage-system-command-line][Local Usage (system command-line)]]
26
+ - [[#documentation-and-blee-panels][Documentation and Blee-Panels]]
27
+ - [[#bisosgitist-blee-panels][bisos.gitist Blee-Panels]]
28
+ - [[#support][Support]]
29
+ - [[#planned-improvements][Planned Improvements]]
30
+
31
+ * Gitist Layers
32
+
33
+ 1) PyCS Framework
34
+ 2) Seeded/Planted PyCS Framework (gitist.cs)
35
+ 3) Common csCmndsList (bisos.csSeed)
36
+ 4) Gitist Commands CSUs
37
+
38
+
39
+ * Post-Installation Setup
40
+
41
+ After installing, run the provisioning script to create the credentials directory
42
+ and place the configuration templates:
43
+
44
+ #+begin_src bash
45
+ config/provision.pcs -i credsSetup
46
+ #+end_src
47
+
48
+ This creates =~/credentials/git/= and copies two config files there if they do
49
+ not already exist:
50
+
51
+ - =~/credentials/git/githubHosts.cfg= — GitHub configuration; insert your GitHub PAT (Personal Access Token) here.
52
+ - =~/credentials/git/gitlabHosts.cfg= — GitLab configuration; insert your GitLab PAT here.
53
+
54
+ Once the PATs are in place, you can run the gitist proc scripts, e.g.:
55
+
56
+ #+begin_src bash
57
+ bin/github-pub-gitist.pcs
58
+ bin/gitlab-pub-gitist.pcs
59
+ #+end_src
60
+
61
+
62
+ * Installation
63
+
64
+ The sources for the bisos.gitist pip package are maintained at:
65
+ https://github.com/bisos-pip/gitist.
66
+
67
+ The bisos.gitist pip package is available at PYPI as
68
+ https://pypi.org/project/bisos.gitist
69
+
70
+ You can install bisos.gitist with pip or pipx.
71
+
72
+ ** Installation With pip
73
+
74
+ If you need access to bisos.gitist as a python module, you can install it with pip:
75
+
76
+ #+begin_src bash
77
+ pip install bisos.gitist
78
+ #+end_src
79
+
80
+ ** Installation With pipx
81
+
82
+ If you only need access to bisos.gitist on command-line, you can install it with pipx:
83
+
84
+ #+begin_src bash
85
+ pipx install bisos.gitist
86
+ #+end_src
87
+
88
+ * Usage
89
+
90
+ ** Local Usage (system command-line)
91
+
92
+ =gitist.cs= does the equivalent of gitist.
93
+
94
+ #+begin_src bash
95
+ bin/gitist.cs
96
+ bin/gitistProc.pcs
97
+ #+end_src
98
+
99
+
100
+ * Documentation and Blee-Panels
101
+
102
+ bisos.gitist is part of ByStar Digital Ecosystem [[http://www.by-star.net]].
103
+
104
+ This module's primary documentation is in the form of Blee-Panels.
105
+ Additional information is also available in: [[http://www.by-star.net/PLPC/180047]]
106
+
107
+ ** bisos.gitist Blee-Panels
108
+
109
+ bisos.gitist Blee-Panles are in ./panels directory.
110
+ From within Blee and BISOS these panles are accessible under the
111
+ Blee "Panels" menu.
112
+
113
+ See [[file:./panels/_nodeBase_/fullUsagePanel-en.org]] for a starting point.
114
+
115
+ * Support
116
+
117
+ For support, criticism, comments and questions; please contact the
118
+ author/maintainer\\
119
+ [[http://mohsen.1.banan.byname.net][Mohsen Banan]] at:
120
+ [[http://mohsen.1.banan.byname.net/contact]]
121
+
122
+
123
+ * Planned Improvements
124
+
125
+ - Enumerate applicabilities: telecom/SON, datacenter, CMIP-MOs
126
+ - py3/bisos/gitist/tocsModule_csu.py
127
+
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env python
2
+
3
+ """ #+begin_org
4
+ * ~[Summary]~ :: A =PlantedCmndService= for Processing BISOS-Capability
5
+ #+end_org """
6
+
7
+ from bisos.b import cs
8
+ import collections
9
+
10
+ from bisos.csSeed import seedsLib
11
+
12
+ from bisos.capDns import capDns_seed # noqa: F401 # type: ignore[unused-import] _atExit_
13
+
14
+ from bisos.capDns import capDns_seedInfo
15
+ cntrlInfo = capDns_seedInfo.cmndsControlInfo
16
+
17
+ cntrlInfo.dnsSpecMethod = capDns_seedInfo.DnsSpecMethod.etcHosts # Other choice is tinydns
18
+ cntrlInfo.fqdn = "airflow.here"
19
+
20
+ from bisos.csSeed import csCmndsList_seedInfo
21
+ csCmnd = csCmndsList_seedInfo.csCmnd
22
+
23
+ csCmndsList = [
24
+ csCmnd("capDns_update",),
25
+ csCmnd("capDns_verify",),
26
+ csCmnd("capDns_resolve", args=f"{cntrlInfo.fqdn}"),
27
+ csCmnd("capDns_fqdnPing",
28
+ args=f"{cntrlInfo.fqdn}"),
29
+ ]
30
+
31
+ csCmndsList_seedInfo.setup(
32
+ csCmndsList=csCmndsList,
33
+ )