Skip to content

chore: disable access links for v0.1#56

Merged
ran-codes merged 1 commit intomainfrom
chore/disable-access-links-v0.1
Feb 20, 2026
Merged

chore: disable access links for v0.1#56
ran-codes merged 1 commit intomainfrom
chore/disable-access-links-v0.1

Conversation

@ran-codes
Copy link
Copy Markdown
Owner

Summary

  • Comment out access links list CLI command, ListAccessLinks API method, and associated test
  • Mark FR-5 (Access Links) as disabled/struck-through in RPD.md
  • Annotate access.go references in PLAN.md and DEVELOP.md as disabled for v0.1

ELI5

The access links feature lets you list secret share links on Zenodo records. Since v0.1 is a read-only release and this command isn't needed yet, we're hiding it — same as we did with the deposit write commands. The code is still there (just commented out) so we can turn it back on later.

Test plan

  • go build ./... passes
  • go test ./... passes
  • zenodo.exe no longer shows access in help output

🤖 Generated with Claude Code

Comment out access links CLI command, API method, and tests.
Mark FR-5 as disabled in RPD and cross-reference in PLAN/DEVELOP docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 20, 2026 14:27
@ran-codes ran-codes merged commit c8fb29f into main Feb 20, 2026
3 checks passed
Copy link
Copy Markdown

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 disables the access links feature for the v0.1 read-only release by commenting out the associated code rather than deleting it, making it easy to re-enable in future versions. The approach mirrors the pattern already used for deposit write commands, maintaining consistency across the codebase.

Changes:

  • Comment out access links CLI commands, API methods, and tests using block comments with explanatory headers
  • Update documentation files to mark FR-5 (Access Links) and related references as disabled for v0.1
  • Leave model structs uncommented (consistent with existing pattern for disabled features)

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
internal/cli/access.go Wraps entire CLI command structure in block comment with v0.1 explanation
internal/api/access.go Comments out ListAccessLinks API method with explanatory header
internal/api/access_test.go Disables TestListAccessLinks test
.claude/reference/v0.1/RPD.md Strikes through FR-5 requirements and marks as disabled
.claude/reference/v0.1/PLAN.md Annotates access.go references as disabled for v0.1
.claude/reference/v0.1/DEVELOP.md Updates file structure documentation to note disabled status

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

@ran-codes ran-codes deleted the chore/disable-access-links-v0.1 branch February 20, 2026 21:28
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.

2 participants