Skip to content

Commit 5ef4b1f

Browse files
lucasrod16claude
andcommitted
chore: prepare nameservice-inspector for gallery release
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 885e82e commit 5ef4b1f

File tree

5 files changed

+47
-17
lines changed

5 files changed

+47
-17
lines changed

.github/workflows/extensions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
simple-shiny-chat-with-mcp: extensions/simple-shiny-chat-with-mcp/**
6060
chat-with-content: extensions/chat-with-content/**
6161
pqr: extensions/pqr/**
62+
nameservice-inspector: extensions/nameservice-inspector/**
6263
6364
# Runs for each extension that has changed from `simple-extension-changes`
6465
# Lints and packages in preparation for tests and and release.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.0.0] - 2026-01-23
9+
10+
### Added
11+
12+
- Initial release
13+
- Users table showing username, POSIX UID, primary GID, supplementary groups, and Connect user ID
14+
- Groups table showing all nameservice groups with group name and POSIX GID
15+
- Support for Viewer and Admin API Key OAuth integrations
16+
- Caching with 5-minute TTL and manual refresh button

extensions/nameservice-inspector/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,18 @@ After deploying, configure the following environment variables in the content se
3333
| `VIEWER_INTEGRATION_GUID` | The GUID of your Viewer API Key OAuth integration |
3434
| `ADMIN_INTEGRATION_GUID` | The GUID of your Admin API Key OAuth integration |
3535

36-
## Deployment
36+
## Post-Installation Setup
3737

38-
```bash
39-
rsconnect deploy streamlit . --server <your-connect-server> --api-key <your-api-key>
40-
```
41-
42-
After deployment:
38+
After installing from the Connect Gallery:
4339

4440
1. Associate both OAuth integrations with the content
4541
2. Set the environment variables for the integration GUIDs
4642
3. Grant access to administrators who need to view nameservice data
43+
44+
## Development
45+
46+
To test changes:
47+
48+
```bash
49+
rsconnect deploy manifest ./manifest.json --server <your-connect-server> --api-key <your-api-key>
50+
```
Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,37 @@
11
{
22
"version": 1,
3-
"locale": "en_US.UTF-8",
3+
"locale": "C.UTF-8",
44
"metadata": {
55
"appmode": "python-streamlit",
66
"entrypoint": "main"
77
},
88
"extension": {
99
"name": "nameservice-inspector",
1010
"title": "Nameservice Inspector",
11-
"description": "A simple extension to inspect the nameservice users and groups in Posit Connect.",
11+
"description": "Visualize nameservice user and group data for Connect servers using current user execution with OAuth2, SAML, or LDAP authentication.",
1212
"homepage": "https://github.com/posit-dev/connect-extensions/tree/main/extensions/nameservice-inspector",
13-
"category": "",
14-
"tags": ["python", "streamlit", "nameservice"],
15-
"minimumConnectVersion": "2025.09.0",
16-
"version": "0.0.0",
13+
"category": "extension",
14+
"tags": ["python"],
15+
"minimumConnectVersion": "2026.01.0",
16+
"version": "1.0.0",
1717
"requiredFeatures": [
1818
"Current User Execution",
1919
"OAuth Integrations"
2020
]
2121
},
2222
"python": {
23-
"version": "3.11.3",
23+
"version": "3.13.6",
2424
"package_manager": {
2525
"name": "pip",
26-
"version": "24.3.1",
26+
"version": "25.3",
2727
"package_file": "requirements.txt"
2828
}
2929
},
30+
"environment": {
31+
"python": {
32+
"requires": "~=3.11"
33+
}
34+
},
3035
"files": {
3136
"requirements.txt": {
3237
"checksum": "2b49861a6d9371710955aca23f39e467"
@@ -37,17 +42,20 @@
3742
".python-version": {
3843
"checksum": "789ee353b44223a8ed8031aa190631dd"
3944
},
45+
"CHANGELOG.md": {
46+
"checksum": "2a4996ddd8ae0d8dcf627898c8f17c01"
47+
},
4048
"README.md": {
41-
"checksum": "d41d8cd98f00b204e9800998ecf8427e"
49+
"checksum": "90690c9968b45602c85f5a35ed5d9293"
4250
},
4351
"main.py": {
44-
"checksum": "7bb8b531f6ac2d228625124bc478344b"
52+
"checksum": "9cb86766474140602479e1bc52db44d8"
4553
},
4654
"pyproject.toml": {
4755
"checksum": "ece9f38054d0a788da7c61b80d1b8c77"
4856
},
4957
"uv.lock": {
50-
"checksum": "3ed51c4e76039c4af17288137fac0941"
58+
"checksum": "b23c11344a74aa01510034007c394021"
5159
}
5260
}
5361
}

integration/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ PYTEST_ARGS ?= "-s"
6868
# possible versions to test against in CI or when using the `all` target.
6969
CONNECT_VERSIONS := \
7070
connect-preview \
71+
2026.01.0 \
7172
2025.07.0 \
7273
2025.06.0 \
7374
2025.05.0 \

0 commit comments

Comments
 (0)