version-fox / version-fox/vfox

[Feature]: add ability in plugins to provide paths to cache subdirectories

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

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
4k
Forks
157
Avg merge
1h 3m
Merged PRs (30d)
5

Description

1. Your usage scenarios?
  • install a language or utility e.g. python
  • need an include file or library from the cache e.g. Python.h and libpython3.12.so
  • call vfox for it to return the full path to the currently installed path
    e.g. vfox include-path python
    /home/xx/.vfox/cache/python/v-3.12.3/python-3.12.3/include/python3.12

vfox lib-path python
/home/xx/.vfox/cache/python/v-3.12.3/python-3.12.3/lib/

2. What is your expected outcome?

The returned paths can be used in Makefile or ninja to do compilations for python, ruby, and other languages that have compiled libraries.

They are already using vfox for cross-platform development. And this is a common, constant problem for them. Providing this capability makes that effort substantially easier.

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing the existing vfox CLI and plugin path-handling entry points for installed language caches. Implement a way for plugins to expose cache subdirectory paths through commands such as include-path and lib-path, then verify that the returned paths match the examples and work for compilation workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.