Brett Smith [Fri, 1 Dec 2023 15:16:56 +0000 (10:16 -0500)]
19825: Document arvados.events module
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 Nov 2023 21:38:32 +0000 (16:38 -0500)]
21146: Migrate PySDK to websockets library
This library is more mature than ws4py. This commit introduces a new
EventClient implementation based on it while remaining API-compatible.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 Nov 2023 20:05:18 +0000 (15:05 -0500)]
21146: Clean test_events imports
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Wed, 22 Nov 2023 17:13:46 +0000 (12:13 -0500)]
21146: Clean arvados.events imports
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Wed, 22 Nov 2023 16:54:18 +0000 (11:54 -0500)]
21146: Clean and sort PySDK install_requires
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Peter Amstutz [Thu, 30 Nov 2023 21:24:38 +0000 (16:24 -0500)]
Merge branch 'main' into 21160-user-activation
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Thu, 30 Nov 2023 20:10:51 +0000 (15:10 -0500)]
Merge commit 'main' into 21160-user-activation
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Tom Clegg [Thu, 30 Nov 2023 20:00:05 +0000 (15:00 -0500)]
21217: Don't retry after "invalid outgoing header" error.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Thu, 30 Nov 2023 19:46:10 +0000 (14:46 -0500)]
18862: Remove SimulateJobLog helper previously used by wb1.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Thu, 30 Nov 2023 19:42:41 +0000 (14:42 -0500)]
Merge branch '20846-ubuntu2204'
refs #20846
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Thu, 30 Nov 2023 19:19:52 +0000 (14:19 -0500)]
21160: Remove debug code
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Thu, 30 Nov 2023 19:12:54 +0000 (14:12 -0500)]
21160: WIP more efficient single-user permission update
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Lucas Di Pentima [Thu, 30 Nov 2023 16:17:06 +0000 (13:17 -0300)]
Merge branch '20690-remove-wb1-from-installer'. Closes #20690
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Thu, 30 Nov 2023 16:16:11 +0000 (13:16 -0300)]
20690: Improved wording on the upgrade notes.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Tom Clegg [Thu, 30 Nov 2023 14:58:04 +0000 (09:58 -0500)]
21217: Strip leading/trailing space chars from incoming tokens.
Depending on OS/browser, trailing spaces and newlines are easy to
include inadvertently when copying, and impossible to detect when
pasting into a password input that displays placeholder symbols
instead of the pasted text.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Thu, 30 Nov 2023 14:57:21 +0000 (09:57 -0500)]
21217: Fix "Authorization: OAuth2 ..." test to actually test that.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Wed, 29 Nov 2023 20:49:27 +0000 (15:49 -0500)]
Merge branch '21205-ensure-unique' refs #21205
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Wed, 29 Nov 2023 20:46:52 +0000 (15:46 -0500)]
21205: Fix comment
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Tom Clegg [Wed, 29 Nov 2023 20:27:59 +0000 (15:27 -0500)]
20846: Remove ref to nonexistent Alma 7.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Wed, 29 Nov 2023 20:27:04 +0000 (15:27 -0500)]
20846: Add package repo codenames for new distros.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Wed, 29 Nov 2023 20:16:06 +0000 (15:16 -0500)]
18862: Remove unused rake task.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Wed, 29 Nov 2023 19:00:06 +0000 (14:00 -0500)]
21205: Now adds the final part of the uuid to make the name unique
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Tom Clegg [Wed, 29 Nov 2023 14:30:44 +0000 (09:30 -0500)]
21217: Fix double slash in API url.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Wed, 29 Nov 2023 14:18:12 +0000 (09:18 -0500)]
21205: Fix typo
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Brett Smith [Wed, 29 Nov 2023 13:54:46 +0000 (08:54 -0500)]
Merge branch '19830-pysdk-util-docs'
Closes #19830.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Wed, 29 Nov 2023 13:54:10 +0000 (08:54 -0500)]
Merge branch '21211-pysdk-annotations'
Closes #21211.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Peter Amstutz [Tue, 28 Nov 2023 21:48:43 +0000 (16:48 -0500)]
21205: ensure_unique_name uses uuid
Instead of adding a timestamp, add the last 15 characters of the uuid.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Tue, 28 Nov 2023 21:31:44 +0000 (16:31 -0500)]
21223: Cast to int
Also set up logging first so that any issues with setting NOFILE get
logged here.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Lucas Di Pentima [Tue, 28 Nov 2023 21:20:57 +0000 (18:20 -0300)]
20690: Installs everything except wb1 in the single host case.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Tue, 28 Nov 2023 20:44:33 +0000 (17:44 -0300)]
20690: Documentation updates, upgrade notes added.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Tue, 28 Nov 2023 18:45:59 +0000 (15:45 -0300)]
20690: Include the nginx snippets pillar, remove unneeded wb1 stuff.
Also, go back to using arvados-formula's main branch.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Tue, 28 Nov 2023 18:43:09 +0000 (15:43 -0300)]
20690: Bring back the WorkbenchSecretKey config as a dummy value.
Also, make config-check non-strict, to support deprecated config knobs on the
config.yml file.
Eventually, the arvados-formula will require updating but we have to make sure
that a proper branch strategy is in use, as changing it now would break
existing deployments.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Tue, 28 Nov 2023 18:39:54 +0000 (15:39 -0300)]
20690: Sets nginx snippets on its own pillar sls file.
Because we're not using the nginx passenger pillar on non controller nodes
anymore, we needed a way of requesting the ssl hardening snippet independently.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Tue, 21 Nov 2023 20:47:18 +0000 (17:47 -0300)]
20690: Removes WORKBENCH_SECRET_KEY from config. Uses new formula version.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Peter Amstutz [Tue, 28 Nov 2023 21:17:34 +0000 (16:17 -0500)]
21223: Adjust RLIMIT_NOFILE based on --file-cache
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Tue, 28 Nov 2023 14:24:27 +0000 (09:24 -0500)]
Merge branch '20831-user-table-locks' refs #20831
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Tom Clegg [Mon, 27 Nov 2023 21:09:05 +0000 (16:09 -0500)]
Merge branch '18874-merge-wb2'
refs #18874
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 27 Nov 2023 21:08:28 +0000 (16:08 -0500)]
18874: Add missing build step.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Mon, 27 Nov 2023 18:52:47 +0000 (13:52 -0500)]
20831: Fix typo
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Mon, 27 Nov 2023 18:18:11 +0000 (13:18 -0500)]
20831: Import sync and apply gofmt
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Mon, 27 Nov 2023 17:29:28 +0000 (12:29 -0500)]
20831: DiscoveryDocument fn improvements
* Only cache discovery document for 1 hour
* rpc.Conn takes a mutex when working with discovery document
* Simplify a couple of cases where calling chooseBackend would always return conn.local
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Tom Clegg [Mon, 27 Nov 2023 16:48:10 +0000 (11:48 -0500)]
Merge branch '21126-trash-when-ro'
closes #21126
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Mon, 27 Nov 2023 16:35:05 +0000 (11:35 -0500)]
Merge branch '21137-rp-initiated-logout'
Closes #21137.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Peter Amstutz [Mon, 27 Nov 2023 16:26:07 +0000 (11:26 -0500)]
20831: Remove debug print and add error check
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Tom Clegg [Wed, 22 Nov 2023 19:39:55 +0000 (14:39 -0500)]
21126: Update wording as suggested.
https://dev.arvados.org/issues/21126#note-20
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Wed, 22 Nov 2023 18:56:24 +0000 (13:56 -0500)]
20846: Update Ruby install instructions.
* Remove "install from source" method.
* Change recommendation from "RVM" to "OS package if exists".
* Add missing dependencies in RVM method.
* Change example version from "2.7" (which currently selects 2.7.2) to "2.7.7"
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Tue, 21 Nov 2023 23:16:15 +0000 (18:16 -0500)]
18874: Use services/workbench2 dir to serve wb2 in arvbox.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Tue, 21 Nov 2023 22:39:59 +0000 (17:39 -0500)]
18874: Add yarn, update nodejs version to match lib/install.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Tue, 21 Nov 2023 22:38:10 +0000 (17:38 -0500)]
18874: Show fpm results in debug mode.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Tue, 21 Nov 2023 22:37:35 +0000 (17:37 -0500)]
18874: Fix regexp.
Now works with versions like 1.2.3~rc4.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Tue, 21 Nov 2023 22:37:29 +0000 (17:37 -0500)]
18874: Add workbench2 to package-building scripts.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Tue, 21 Nov 2023 22:29:13 +0000 (17:29 -0500)]
Merge branch '21132-api-resources-fixes'
Closes #21132, #21136.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 22:16:18 +0000 (17:16 -0500)]
21132: Expand arvados.api_resources docstring with more detail about its purpose
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 21:33:57 +0000 (16:33 -0500)]
21137: Tighten TestEndSessionEndpointBadScheme check
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 21:19:52 +0000 (16:19 -0500)]
21137: Prefer early return per review comments
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 21:14:59 +0000 (16:14 -0500)]
21137: Remove id_token_hint from controller RP-initiated logout
In the current Arvados stack, it is not possible to provide the ID token
this parameter expects, because we do not retain it anywhere. The user's
authorization token will either be an OIDC access token or an Arvados
token generated when they logged in, so neither is suitable for use as
id_token_hint.
The spec says this parameter is RECOMMENDED but not REQUIRED, so
omitting it is the simplest option that should still meet functional
requirements.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Lisa Knox [Tue, 21 Nov 2023 19:51:27 +0000 (14:51 -0500)]
Merge branch '19302-left-side-panel-changes'
closes #19302
Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Tom Clegg [Tue, 21 Nov 2023 16:42:06 +0000 (11:42 -0500)]
Merge branch '20690-remove-wb1'
refs #20690
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Tue, 21 Nov 2023 15:56:49 +0000 (10:56 -0500)]
21211: Update arvados.safeapi Markdown style
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Tom Clegg [Tue, 21 Nov 2023 15:17:57 +0000 (10:17 -0500)]
20846: Update setuptools, accommodate debian12 needs.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Tue, 21 Nov 2023 14:57:16 +0000 (09:57 -0500)]
21211: Annotate arvados.safeapi
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 14:48:41 +0000 (09:48 -0500)]
21211: Clean arvados.safeapi imports
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 14:44:06 +0000 (09:44 -0500)]
21211: Annotate arvados.retry
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 14:33:17 +0000 (09:33 -0500)]
21211: Clean arvados.retry imports
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 14:32:28 +0000 (09:32 -0500)]
21211: Annotate arvados.api
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 21 Nov 2023 14:20:41 +0000 (09:20 -0500)]
21211: Clean arvados.api imports
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 21:31:17 +0000 (16:31 -0500)]
18800: Add docstring to arvados.__init__
This is mostly intended to help orient people reading the web
documentation.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 21:20:37 +0000 (16:20 -0500)]
19830: Clean imports in arvados.__init__
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 20:32:28 +0000 (15:32 -0500)]
19830: Clean run_test_server imports
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 18:32:40 +0000 (13:32 -0500)]
19830: Reorder arvados.util regexps
Keep regexps, then UUID regexps sorted alphabetically, then deprecated
regexps.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 18:31:17 +0000 (13:31 -0500)]
19830: Add docstrings to arvados.util
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 15:57:50 +0000 (10:57 -0500)]
19830: Update arvados.util._deprecated Markdown style
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 15:57:10 +0000 (10:57 -0500)]
19830: Clean arvados.util imports
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 Nov 2023 15:53:02 +0000 (10:53 -0500)]
19830: Move deprecated functions to the bottom of arvados.util
This makes the web documentation easier to navigate.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Tom Clegg [Mon, 20 Nov 2023 22:25:12 +0000 (17:25 -0500)]
20846: Don't use pip to install virtualenv, just rely on OS pkg.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 21:47:28 +0000 (16:47 -0500)]
20846: Skip workbench package build.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 21:06:08 +0000 (16:06 -0500)]
20846: Add debian12 package target.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Mon, 20 Nov 2023 21:35:06 +0000 (16:35 -0500)]
Merge branch '21201-doc-bundle-update'
Closes #21201.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Tom Clegg [Mon, 20 Nov 2023 20:51:37 +0000 (15:51 -0500)]
20846: Fix shell command in env var.
With Ruby 3, something uses the MAKE var without the expected
shell-eval, so the number-of-processors trick stopped working.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
make --jobs \$\(grep -c processor /proc/cpuinfo\) DESTDIR\=
sitearchdir\=./.gem.
20231120-15-fa6sx6 sitelibdir\=./.gem.
20231120-15-fa6sx6
clean
make: invalid option -- 'c'
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
[...]
Tom Clegg [Mon, 20 Nov 2023 20:32:55 +0000 (15:32 -0500)]
20846: Update fpm for Ruby 3 compatibility.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 20:31:35 +0000 (15:31 -0500)]
20846: Use Ruby 3.2.2 for ubuntu2204 packages.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 20:29:05 +0000 (15:29 -0500)]
20846: Merge branch '19213-ubuntu2204-support' into 20846-ubuntu2204
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 19:50:28 +0000 (14:50 -0500)]
21206: Send requesting_container_uuid attribute in update events.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 19:37:02 +0000 (14:37 -0500)]
21126: Update keep-balance admin doc page.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 19:25:09 +0000 (14:25 -0500)]
21126: Update faster-gc doc page with new keep-balance configs.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 19:24:59 +0000 (14:24 -0500)]
21126: Update doc bundle.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 19:14:38 +0000 (14:14 -0500)]
21126: Merge branch 'main' into 21126-trash-when-ro
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 19:04:26 +0000 (14:04 -0500)]
Merge branch '21189-changeset-limit'
refs #21189
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 20 Nov 2023 19:03:43 +0000 (14:03 -0500)]
21189: Improve wording in config comments and logs.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Stephen Smith [Mon, 20 Nov 2023 17:22:07 +0000 (12:22 -0500)]
Merge branch '20609-subprocess-progress-bar' into main. Closes #20609
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
Stephen Smith [Mon, 20 Nov 2023 17:21:27 +0000 (12:21 -0500)]
20609: Tweak subprocess progress bar spacing
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
Tom Clegg [Mon, 20 Nov 2023 16:50:46 +0000 (11:50 -0500)]
20690: Determine postgresql version from psql command.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Mon, 20 Nov 2023 16:17:50 +0000 (11:17 -0500)]
20831: Fix discovery doc
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Brett Smith [Mon, 20 Nov 2023 03:27:44 +0000 (22:27 -0500)]
21201: Update doc gems
Getting a new Zenweb gets a new kramdown which helps keep things working
on Ruby 3.x. I think.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Tom Clegg [Sun, 19 Nov 2023 23:37:24 +0000 (18:37 -0500)]
20690: Merge branch 'main' into 20690-remove-wb1
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Sat, 18 Nov 2023 21:41:04 +0000 (16:41 -0500)]
21132: Annotate API methods as returning a request object
This is a factual correction. Before this, it looked like the API
methods communicated with the API server and returned a response
directly, which is not true.
Unfortunately pdoc doesn't render the documentation for the
ArvadosAPIRequest.execute override. That's frustrating. I looked for
ways to coerce this but didn't find any. Hopefully the class docstring
gives users enough information about what they need to do. pydoc renders
it as expected, so I still think it's worth keeping.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Sat, 18 Nov 2023 17:22:54 +0000 (12:22 -0500)]
21132: Note ArvadosAPIClient is a Resource
The real impact of this change is marginal, but it establishes a pattern
for documenting request objects, which will be more substantial.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Sat, 18 Nov 2023 15:18:22 +0000 (10:18 -0500)]
21136: Use typing generics for builtins in api_resources
The immediate problem this solves is that using `list` unqualified as an
annotation causes pdoc to resolve it as the current class' `list`
method, which is not correct.
We could also specify `builtins.list`, but since it doesn't support
subscripting in Python 3.8, that generates a lot of noisy warnings right
now. So this solution is better for now, and we'll probably migrate to
`builtins.list` in the future.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Peter Amstutz [Fri, 17 Nov 2023 20:37:23 +0000 (15:37 -0500)]
20831: Don't panic on empty params
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Fri, 17 Nov 2023 19:36:08 +0000 (14:36 -0500)]
Merge branch 'main' into 20831-user-table-locks
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>