Convenience command for local package override
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start with the README section “Override a package in the package set with a local one” and inspect packages.dhall. Define how a proposed spago dev <package> command would clone the package into a project-local directory and update the overrides entry. Done means the workflow is automated for a local package override, with command behavior and project-local paths specified.
Written by the indexing model from the issue text.
Description
Thinking of adding a command such as spago dev that automates many of the steps listed in https://github.com/purescript/spago#override-a-package-in-the-package-set-with-a-local-one . For example, spago dev simple-json would:
- Clone
simple-jsonto a local directory, such as./spago-local - Edit
overridesinpackages.dhallto point to this local copy.
This is inspired by Julia's workflow, which is really nice for lowering the friction of fixing dependencies. They use a global location for all overridden packages (by default, but can be changed), which is convenient if you tend to use the same overrides across projects, but I think a per-project copy would be more appropriate for PS projects.
- Dominant language
- PureScript
- Stars
- 831
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from purescript/spago
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
purescript/spago#1408 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
purescript/spago#1403 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
purescript/spago#1386 · 1 comment ·
-
bug UX
Difficulty 3/5 1-2 days Newbie friendliness 35/100
purescript/spago#1330 · 2 comments ·
-
Failed to find purs Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
purescript/spago#1324 · 7 comments · 1 reaction ·
All issues in purescript/spago
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AvengeMedia/DankMaterialShell#3523 ·
-
comp/cli comp/cron P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
NousResearch/hermes-agent#117433 · 2 comments ·