rda-python-dsarch 3.0.0__py3-none-any.whl → 3.0.2__py3-none-any.whl
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.
- rda_python_dsarch/dsarch.usg +18 -0
- {rda_python_dsarch-3.0.0.dist-info → rda_python_dsarch-3.0.2.dist-info}/METADATA +23 -9
- {rda_python_dsarch-3.0.0.dist-info → rda_python_dsarch-3.0.2.dist-info}/RECORD +7 -7
- {rda_python_dsarch-3.0.0.dist-info → rda_python_dsarch-3.0.2.dist-info}/WHEEL +0 -0
- {rda_python_dsarch-3.0.0.dist-info → rda_python_dsarch-3.0.2.dist-info}/entry_points.txt +0 -0
- {rda_python_dsarch-3.0.0.dist-info → rda_python_dsarch-3.0.2.dist-info}/licenses/LICENSE +0 -0
- {rda_python_dsarch-3.0.0.dist-info → rda_python_dsarch-3.0.2.dist-info}/top_level.txt +0 -0
rda_python_dsarch/dsarch.usg
CHANGED
|
@@ -11,6 +11,14 @@ reference. Files can be organized into nested sub-products called groups.
|
|
|
11
11
|
Any metadata stored in GDEXDB can also be retrieved or updated through
|
|
12
12
|
'dsarch'.
|
|
13
13
|
|
|
14
|
+
By default, 'dsarch' runs as the common user (default 'gdexdata') through
|
|
15
|
+
the rda_python_setuid setuid mechanism, so that data files are archived and
|
|
16
|
+
owned under the common user, and all GDEXDB records are written as the
|
|
17
|
+
common user, regardless of which specialist invokes the command. 'dsarch'
|
|
18
|
+
can also be executed directly as an individual specialist without the
|
|
19
|
+
setuid mechanism, in which case archived files are owned by that
|
|
20
|
+
specialist.
|
|
21
|
+
|
|
14
22
|
A few terms used throughout this document:
|
|
15
23
|
GDEX - Geoscience Data Exchange, NCAR's data publication platform
|
|
16
24
|
GDEXDB - the metadata database backing GDEX
|
|
@@ -89,6 +97,16 @@ Only Web data files are placed under DOI/Version control. Saved data
|
|
|
89
97
|
staged on disk for internal use or NCAR user access is not version-
|
|
90
98
|
controlled and remains the responsibility of the dataset owner.
|
|
91
99
|
|
|
100
|
+
This user guide is generated from this file. Opening a pull request that
|
|
101
|
+
modifies it in the GitHub repository https://github.com/NCAR/rda-python-dsarch
|
|
102
|
+
triggers an automated workflow that converts it into the RST source files,
|
|
103
|
+
syncs the rda_python_dsarch version into the documentation, and opens a new
|
|
104
|
+
pull request for review in the GitHub repository
|
|
105
|
+
https://github.com/NCAR/gdex-docs-dsarch. Merging that pull request
|
|
106
|
+
publishes the content as the 'latest' version at
|
|
107
|
+
https://gdex-docs-dsarch.readthedocs.io, and creating a GitHub release
|
|
108
|
+
there publishes it as the 'stable' version.
|
|
109
|
+
|
|
92
110
|
This document first covers general 'dsarch' usage, then describes each
|
|
93
111
|
Action option in detail, followed by Mode and Information (Info for
|
|
94
112
|
short) options. Examples are provided throughout each section.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_dsarch
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.2
|
|
4
4
|
Summary: RDA Python package for utility program dsarch archive RDA data
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch
|
|
@@ -118,6 +118,11 @@ pip install rda_python_dsarch
|
|
|
118
118
|
in automatically as a dependency. After `pip install` above, choose one
|
|
119
119
|
of the wiring options below.
|
|
120
120
|
|
|
121
|
+
> **Note:** If `rda_python_setuid` is already installed and fully set up in
|
|
122
|
+
> your environment, you can skip the compile step (`-c/--compile`) and the
|
|
123
|
+
> optional `pgstart` step (`-p/--pgstart`). The `-l/--link` step is still
|
|
124
|
+
> required to wire up this package's own setuid program.
|
|
125
|
+
|
|
121
126
|
### Full setuid install (requires sudo access to COMMONUSER)
|
|
122
127
|
|
|
123
128
|
Run these steps once per environment:
|
|
@@ -167,12 +172,21 @@ invoked directly before the setuid wrapper has been configured.
|
|
|
167
172
|
|
|
168
173
|
## Documentation sync
|
|
169
174
|
|
|
170
|
-
The user guide
|
|
175
|
+
The user guide at
|
|
171
176
|
[gdex-docs-dsarch.readthedocs.io](https://gdex-docs-dsarch.readthedocs.io) is
|
|
172
|
-
generated from `src/rda_python_dsarch/dsarch.usg
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
generated from `src/rda_python_dsarch/dsarch.usg`. Keep all user-facing content
|
|
178
|
+
in `dsarch.usg` — no manual RST editing is required.
|
|
179
|
+
|
|
180
|
+
When a pull request modifying `dsarch.usg` is opened, an automated workflow
|
|
181
|
+
converts it into RST source files and the version number from this repository's
|
|
182
|
+
`pyproject.toml` into the
|
|
183
|
+
[gdex-docs-dsarch](https://github.com/NCAR/gdex-docs-dsarch) repository, then
|
|
184
|
+
opens a pull request from `automated-update-branch` against its `main` branch for
|
|
185
|
+
review.
|
|
186
|
+
|
|
187
|
+
To publish to Read the Docs:
|
|
188
|
+
|
|
189
|
+
- **Merge** that pull request into `main` to serve the content as the `latest`
|
|
190
|
+
version.
|
|
191
|
+
- **Create a GitHub release** in `gdex-docs-dsarch` to serve the latest release
|
|
192
|
+
as the `stable` version.
|
|
@@ -3,12 +3,12 @@ rda_python_dsarch/PgMeta.py,sha256=FV4GytgnJK00FUlyM6iHqpNd7-XTVHO1j5tZtcLTWgY,2
|
|
|
3
3
|
rda_python_dsarch/__init__.py,sha256=Y-s3WV6vKvLYuMy6oy0FB9DYNVaiEaSjZVJYBMVlD_8,812
|
|
4
4
|
rda_python_dsarch/ds_arch.py,sha256=6bR0y6_rhIXyvbuYd-oZfL1YcaHhWBkojjzYz1yCrVg,233810
|
|
5
5
|
rda_python_dsarch/dsarch.py,sha256=wQZS-mI4vyc7GDKOMl--_wQejx4_Wa77hegF_9deZX8,255105
|
|
6
|
-
rda_python_dsarch/dsarch.usg,sha256=
|
|
6
|
+
rda_python_dsarch/dsarch.usg,sha256=VWNqPYiALbglTWpQ0eWSE6TpVSjl8Xzl6MjoWZPTSAs,106715
|
|
7
7
|
rda_python_dsarch/pg_arch.py,sha256=0mZGlQT9ecJr-92dloXDNtwF8EnPnY76IGLksqYsyYo,81057
|
|
8
8
|
rda_python_dsarch/pg_meta.py,sha256=FFEkphGAT--66zvMNDPfiFG4nZQpXed_yVGMARdZb-o,46981
|
|
9
|
-
rda_python_dsarch-3.0.
|
|
10
|
-
rda_python_dsarch-3.0.
|
|
11
|
-
rda_python_dsarch-3.0.
|
|
12
|
-
rda_python_dsarch-3.0.
|
|
13
|
-
rda_python_dsarch-3.0.
|
|
14
|
-
rda_python_dsarch-3.0.
|
|
9
|
+
rda_python_dsarch-3.0.2.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
|
|
10
|
+
rda_python_dsarch-3.0.2.dist-info/METADATA,sha256=M64SImUspzEEA1GPDt1PbeAk7xdDkzFiioCe6t6rti0,7165
|
|
11
|
+
rda_python_dsarch-3.0.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
12
|
+
rda_python_dsarch-3.0.2.dist-info/entry_points.txt,sha256=BA1iRAFIZExG0656Ri9f-_OKlSK31CuABWPQSsA9MsI,64
|
|
13
|
+
rda_python_dsarch-3.0.2.dist-info/top_level.txt,sha256=-vwcMgUXbBdHscvAKB3De9zKac3m_s_FaKIdApP1FGY,18
|
|
14
|
+
rda_python_dsarch-3.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|