Skip to content

Conversation

@bwalsh
Copy link
Contributor

@bwalsh bwalsh commented Sep 23, 2025

Description

This PR introduces initial support for calypr_admin and GitDRS (Git Data Repository Service) integration within the interface of the Calypr github pages.

Motivation and Context

Updates the documentation for users

How Has This Been Tested?

mkdocs serve

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have updated the documentation accordingly (link here).
  • I have tested that this feature locally.
  • [NA] I have added tests to cover my changes.
  • [NA] All new and existing tests passed.
  • Reviewer has tested this feature locally

@netlify

This comment was marked as resolved.

@bwalsh
Copy link
Contributor Author

bwalsh commented Sep 23, 2025

@matthewpeterkort @quinnwai

I've updated the calypr_admin sections. We need to update the following pages for git-drs and meta data changes

docs/workflows/remove-files.md
docs/workflows/quick-start-guide.md
docs/workflows/clone.md
docs/workflows/portal-download.md
docs/workflows/status.md
docs/workflows/add-files.md
docs/workflows/metadata.md
docs/workflows/common-errors.md
docs/workflows/query.md
docs/workflows/commit-push.md
docs/workflows/creating-project.md
docs/workflows/tabular.md
docs/data-model/metadata.md

@quinnwai quinnwai self-requested a review September 24, 2025 17:47
Copilot AI review requested due to automatic review settings December 23, 2025 01:44
@netlify
Copy link

netlify bot commented Dec 23, 2025

Deploy Preview for calypr ready!

Name Link
🔨 Latest commit b51906a
🔍 Latest deploy log https://app.netlify.com/projects/calypr/deploys/6949f42790c43e0008cde0bb
😎 Deploy Preview https://deploy-preview-40--calypr.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces initial support for migrating documentation from gen3-tracker (g3t) to calypr_admin and adds TODO markers indicating that sections need to be rewritten for GitDRS integration. The changes update command references, environment variables, and tool names across the documentation.

  • Updates tool references from gen3-tracker (g3t) to calypr_admin throughout the documentation
  • Changes environment variable from G3T_PROFILE to CALYPR_PROFILE
  • Adds TODO markers (TODO - rewrite for git-drs) to sections requiring GitDRS documentation updates

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/workflows/tabular.md Adds TODO marker for GitDRS rewrite
docs/workflows/status.md Adds TODO marker for GitDRS rewrite
docs/workflows/remove-files.md Adds TODO markers for GitDRS rewrite in multiple sections
docs/workflows/quick-start-guide.md Updates commands from g3t to calypr_admin, changes environment variable to CALYPR_PROFILE, adds multiple TODO markers
docs/workflows/query.md Updates ping command to use calypr_admin, adds TODO marker for grip and dataframer
docs/workflows/portal-download.md Adds TODO marker for GitDRS rewrite
docs/workflows/metadata.md Adds TODO markers for GitDRS rewrite
docs/workflows/creating-project.md Adds TODO marker for GitDRS rewrite
docs/workflows/common-errors.md Adds TODO marker for GitDRS rewrite
docs/workflows/commit-push.md Adds TODO marker for GitDRS rewrite
docs/workflows/clone.md Adds TODO marker for GitDRS rewrite
docs/workflows/approve-requests.md Updates collaborator command to calypr_admin (with issues noted)
docs/workflows/add-users.md Updates collaborator commands to calypr_admin, adds command help text
docs/workflows/add-files.md Adds TODO marker for GitDRS rewrite
docs/requirements.md Updates all references from gen3-tracker to calypr_admin, updates environment variable references
docs/index.md Updates main description from gen3-tracker to calypr_admin
docs/data-model/metadata.md Adds TODO marker for GitDRS rewrite

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


### Create Metadata

`TODO - rewrite for git-drs`
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TODO marker format is inconsistent with other TODO markers in the codebase. Other TODO markers use the format TODO - rewrite for git-drs (without the colon), while this one uses TODO: - rewrite for git-drs (with a colon). Remove the colon for consistency.

Copilot uses AI. Check for mistakes.
Alternatively, to give another user read access only (without the ability to upload to the project), run the following:
```sh
g3t collaborator add user-read-only@example.com
calypr_admin collaborator add user-read-only@example.com
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command uses collaborator (singular) but should use collaborators (plural) to be consistent with the help text shown above (line 9) which uses calypr_admin collaborators add and the other command on line 35 which also uses collaborators.

Suggested change
calypr_admin collaborator add user-read-only@example.com
calypr_admin collaborators add user-read-only@example.com

Copilot uses AI. Check for mistakes.
g3t collaborator add add data_steward_example@<institution>.edu --resource_path /programs/<program_name>/projects --steward
calypr_admin collaborator add add data_steward_example@<institution>.edu --resource_path /programs/<program_name>/projects --steward
# As an admin, approve that request
g3t collaborator approve
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command uses collaborator (singular) but should use collaborators (plural) to be consistent with the update on line 43 in this file and with the naming convention used throughout the codebase.

Copilot uses AI. Check for mistakes.
```text
## As an admin, I need to grant data steward privileges add the requester reader and updater role on a program to an un-privileged user
g3t collaborator add add data_steward_example@<institution>.edu --resource_path /programs/<program_name>/projects --steward
calypr_admin collaborator add add data_steward_example@<institution>.edu --resource_path /programs/<program_name>/projects --steward
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command on line 43 has a duplicate 'add' word in the command. It should be either calypr_admin collaborator add or calypr_admin collaborators add (the latter to match the naming convention), but not calypr_admin collaborator add add.

Suggested change
calypr_admin collaborator add add data_steward_example@<institution>.edu --resource_path /programs/<program_name>/projects --steward
calypr_admin collaborator add data_steward_example@<institution>.edu --resource_path /programs/<program_name>/projects --steward

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants