Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Shared import-capture vocabulary instead of ~21 per-language import extractors

Open
#358 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
cli, devtools

Research direction

Start with src/ingest_relations.h and tags.scm to understand the existing per-language import extractors and proposed capture vocabulary, then inspect src/resolve.h for the dependency boundary. Choose one language to migrate, run the existing resolve/deps gates, and verify byte-identical dependency edges with that language’s extractor removed.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Part of the language-architecture cleanup tracked in #354 ("common stays common"). This is the largest step, so it goes last.

Problem. src/ingest_relations.h has about 21 per-language import-target extractors (csharpUsingTarget, luaRequireTarget, phpUseTarget, rubyRequireTarget, jsModuleLoadTarget, elixirDirectiveTarget, …). Most do the same thing: find the import statement's target text and normalise it.

Change. A shared import capture vocabulary in tags.scm (for example @import.path, @import.alias, @import.names) plus one small specifier normaliser per DepDialect, instead of an extractor per language. Dependency resolution stays in src/resolve.h.

Acceptance. Dependency edges byte-identical on every dependency-capable language (existing resolve/deps gates); the per-language extractors removed as each language moves over. It can land one language at a time.

Size: about 5 days in total, but splittable per language. Comment here to claim a language.

Dominant language
C++
Stars
2.3k
Forks
145
Avg merge
8h 50m
Merged PRs (30d)
211

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from redhat-et/ripwire

All issues in redhat-et/ripwire

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.