rda-python-dsarch 3.0.0__tar.gz → 3.0.2__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.
Files changed (21) hide show
  1. {rda_python_dsarch-3.0.0/src/rda_python_dsarch.egg-info → rda_python_dsarch-3.0.2}/PKG-INFO +23 -9
  2. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/README.md +22 -8
  3. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/pyproject.toml +1 -1
  4. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/dsarch.usg +18 -0
  5. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2/src/rda_python_dsarch.egg-info}/PKG-INFO +23 -9
  6. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/LICENSE +0 -0
  7. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/MANIFEST.in +0 -0
  8. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/setup.cfg +0 -0
  9. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/PgArch.py +0 -0
  10. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/PgMeta.py +0 -0
  11. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/__init__.py +0 -0
  12. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/ds_arch.py +0 -0
  13. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/dsarch.py +0 -0
  14. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/pg_arch.py +0 -0
  15. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch/pg_meta.py +0 -0
  16. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  17. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  18. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  19. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
  20. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  21. {rda_python_dsarch-3.0.0 → rda_python_dsarch-3.0.2}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 3.0.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 rendered at
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` in this repository. When a
173
- pull request that modifies `dsarch.usg` is merged here, an automated workflow
174
- converts the updated `dsarch.usg` into the RST-format source files in the
175
- [gdex-docs-dsarch](https://github.com/NCAR/gdex-docs-dsarch) repository and
176
- opens a pull request there with the regenerated docs, ready for review and
177
- merge. No manual RST editing is required — keep all user-facing content in
178
- `dsarch.usg` and let the sync produce the docs.
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.
@@ -100,6 +100,11 @@ pip install rda_python_dsarch
100
100
  in automatically as a dependency. After `pip install` above, choose one
101
101
  of the wiring options below.
102
102
 
103
+ > **Note:** If `rda_python_setuid` is already installed and fully set up in
104
+ > your environment, you can skip the compile step (`-c/--compile`) and the
105
+ > optional `pgstart` step (`-p/--pgstart`). The `-l/--link` step is still
106
+ > required to wire up this package's own setuid program.
107
+
103
108
  ### Full setuid install (requires sudo access to COMMONUSER)
104
109
 
105
110
  Run these steps once per environment:
@@ -149,12 +154,21 @@ invoked directly before the setuid wrapper has been configured.
149
154
 
150
155
  ## Documentation sync
151
156
 
152
- The user guide rendered at
157
+ The user guide at
153
158
  [gdex-docs-dsarch.readthedocs.io](https://gdex-docs-dsarch.readthedocs.io) is
154
- generated from `src/rda_python_dsarch/dsarch.usg` in this repository. When a
155
- pull request that modifies `dsarch.usg` is merged here, an automated workflow
156
- converts the updated `dsarch.usg` into the RST-format source files in the
157
- [gdex-docs-dsarch](https://github.com/NCAR/gdex-docs-dsarch) repository and
158
- opens a pull request there with the regenerated docs, ready for review and
159
- merge. No manual RST editing is required — keep all user-facing content in
160
- `dsarch.usg` and let the sync produce the docs.
159
+ generated from `src/rda_python_dsarch/dsarch.usg`. Keep all user-facing content
160
+ in `dsarch.usg` — no manual RST editing is required.
161
+
162
+ When a pull request modifying `dsarch.usg` is opened, an automated workflow
163
+ converts it into RST source files and the version number from this repository's
164
+ `pyproject.toml` into the
165
+ [gdex-docs-dsarch](https://github.com/NCAR/gdex-docs-dsarch) repository, then
166
+ opens a pull request from `automated-update-branch` against its `main` branch for
167
+ review.
168
+
169
+ To publish to Read the Docs:
170
+
171
+ - **Merge** that pull request into `main` to serve the content as the `latest`
172
+ version.
173
+ - **Create a GitHub release** in `gdex-docs-dsarch` to serve the latest release
174
+ as the `stable` version.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rda_python_dsarch"
7
- version = "3.0.0"
7
+ version = "3.0.2"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -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.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 rendered at
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` in this repository. When a
173
- pull request that modifies `dsarch.usg` is merged here, an automated workflow
174
- converts the updated `dsarch.usg` into the RST-format source files in the
175
- [gdex-docs-dsarch](https://github.com/NCAR/gdex-docs-dsarch) repository and
176
- opens a pull request there with the regenerated docs, ready for review and
177
- merge. No manual RST editing is required — keep all user-facing content in
178
- `dsarch.usg` and let the sync produce the docs.
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.