Skip to content

Conversation

sij411
Copy link
Contributor

@sij411 sij411 commented Sep 29, 2025

Summary

Enhanced the fedify lookup --traverse command to support multiple collection URLs, removing the previous limitation
that restricted traversal to a single collection at a time.

Related Issue

Reference the related issue(s) by number, e.g.:

Changes

  • Removed validation restriction: Eliminated the error that prevented using --traverse with multiple URLs
  • Updated traverse logic: Modified the traversal implementation to process all provided collection URLs sequentially
    instead of just the first one
  • Updated help text: Changed description from "traverse the given collection" to "traverse the given collection(s)"
    to reflect multi-URL support

Benefits

  • Increased flexibility: Users can now traverse multiple collections in a single command, improving workflow
    efficiency

Checklist

  • Did you add a changelog entry to the CHANGES.md?
  • Did you write some relevant docs about this change (if it's a new feature)?
  • Did you write a regression test to reproduce the bug (if it's a bug fix)?
  • Did you write some tests for this change (if it's a new feature)?
  • Did you run deno task test-all on your machine?

Additional Notes

Uncomment line 511-512

@issues-auto-labeler issues-auto-labeler bot added component/cli CLI tools related component/collections Collections related component/federation Federation object related examples Example code related labels Sep 29, 2025
@sij411 sij411 marked this pull request as ready for review September 29, 2025 10:40
@sij411 sij411 force-pushed the feat/optique-traverse branch from 9e735d5 to 70c3284 Compare October 2, 2025 06:09
Copy link
Contributor

github-actions bot commented Oct 2, 2025

The latest push to this pull request has been published to JSR and npm as a pre-release:

Package Version JSR npm
@fedify/fedify 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/cli 2.0.0-pr.449.1725+70c3284b JSR
@fedify/amqp 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/cfworkers 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/denokv 2.0.0-pr.449.1725+70c3284b JSR
@fedify/elysia 2.0.0-pr.449.1725+70c3284b npm
@fedify/express 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/h3 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/hono 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/nestjs 2.0.0-pr.449.1725+70c3284b npm
@fedify/next 2.0.0-pr.449.1725+70c3284b npm
@fedify/postgres 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/redis 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/sqlite 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/sveltekit 2.0.0-pr.449.1725+70c3284b JSR npm
@fedify/testing 2.0.0-pr.449.1725+70c3284b JSR npm

Copy link
Contributor

github-actions bot commented Oct 2, 2025

The docs for this pull request have been published:

https://8ddfaa3b.fedify.pages.dev

dahlia added a commit that referenced this pull request Oct 2, 2025
Updated CHANGES.md to document the enhancement to fedify lookup command that
now supports multiple URLs with the -t/--traverse option.

#408
#449
dahlia added a commit that referenced this pull request Oct 2, 2025
Support multiple URLs for -t/--traverse in cli command fedify lookup
@dahlia dahlia merged commit 70c3284 into fedify-dev:next Oct 2, 2025
9 of 10 checks passed
@dahlia dahlia linked an issue Oct 2, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/cli CLI tools related component/collections Collections related component/federation Federation object related examples Example code related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support multiple URLs for -t/--traverse in cli command fedify lookup
2 participants