HashLoad / HashLoad/boss

boss install "../localfolder"

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

Nobody has claimed this yet.

Dominant language
Go
Stars
626
Forks
103
Avg merge
7d 2h
Merged PRs (30d)
5

Description

Olá, seria interessante ter a possibilidade de instalar uma dependência (com as dependências da dependência) direto de uma pasta.
Exemplo de uso:
Estou fazendo um middleware para o Horse que tem algumas dependências, e quero disponibilizar um projeto de exemplo junto com os fontes, dentro da pasta "Sample", gostaria de referenciar a dependência desse sample como simplesmente "../":

cd sample
boss i ../

Segue um print do erro que acontece hoje:
image

Nota: acredito que nesses casos o boss não deve copiar os arquivos da dependência principal mas apenas das sub-dependências

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 CLI handling for boss i ../ and the dependency-resolution path for local package arguments. Verify how the current error is produced and how nested dependencies are fetched; done means a dependency can be installed from a relative folder without copying the main dependency's files, while its sub-dependencies are installed.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.