Skip to content

Fix invalid v/* glob example — replace with v* throughout#92

Merged
redpanda-f merged 2 commits intofeat/redpanda/latesttag-resolverfrom
copilot/sub-pr-83-again
Mar 11, 2026
Merged

Fix invalid v/* glob example — replace with v* throughout#92
redpanda-f merged 2 commits intofeat/redpanda/latesttag-resolverfrom
copilot/sub-pr-83-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 11, 2026

v/* was used as an example git tag glob selector in docs and code, but it's not a valid pattern — git tags like v1.0.0 don't have a path separator after v. The correct glob is v*.

Changes

  • README_ADVANCED.md: Fixed 3 occurrences (latesttag:v/*latesttag:v*, same for URL variant, and in the version specification section)
  • src/cli.rs: Fixed 3 occurrences in --help doc comments for lotus, filecoin-services, and config lotus args
  • src/config.rs: Fixed selector in latesttag_with_url test

Valid examples after this change:

latesttag:v*          # tags like v1.0.0, v2.3.1
latesttag:pdp/v*      # tags like pdp/v1.0.0
latesttag:https://github.com/org/repo.git:v*

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP address feedback on latesttag resolver for init-time discovery Fix invalid v/* glob example — replace with v* throughout Mar 11, 2026
@redpanda-f redpanda-f marked this pull request as ready for review March 11, 2026 13:23
@redpanda-f redpanda-f merged commit dbdb38d into feat/redpanda/latesttag-resolver Mar 11, 2026
@redpanda-f redpanda-f deleted the copilot/sub-pr-83-again branch March 11, 2026 13:23
redpanda-f added a commit that referenced this pull request Mar 13, 2026
* feat: add LatestTag location resolver for init-time tag discovery

* makehappy: fmt

* Update src/commands/init/latest_resolver.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/commands/init/repositories.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/config.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/config.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor: decompose `fetch_latest_tag` into focused helpers with module-level constant (#85)

* Initial plan

* refactor: decompose fetch_latest_tag into focused helpers with module-level constant

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

* fix: remove usage of deprecated methods

* fix: new resolver

* fixup: latesttag

* fixup: clippy issues

* Update src/config.rs

Co-authored-by: Rod Vagg <rod@vagg.org>

* Rename `_type` to `loc_type` in `resolve_with_default` (#91)

* Initial plan

* rename _type to loc_type in resolve_with_default

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

* Simplify `latesttag` branch with early return, drop lifetime workaround (#93)

* Initial plan

* Simplify latesttag handling with early return, drop lifetimes dance

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

* Fix invalid `v/*` glob example — replace with `v*` throughout (#92)

* Initial plan

* Replace invalid v/* glob pattern with v* in docs and code

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
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