User:Nathan M. Swan/DPM Proposal
< User:Nathan M. Swan
Revision as of 01:03, 11 December 2012 by Nathan M. Swan (talk | contribs) (Nathan M. Swan moved page DPM Proposal to User:Nathan M. Swan/DPM Proposal: It's inappropriate for the main namespace)
WORK IN PROGRESS
This is a proposal for dpm
, a D package manager. The eventual goal is to get this accepted into the standard distribution of D, so I don't want to start working on this until I get feedback from the community.
Scenarios
I want it to cover the largest range of use cases as possible, so it should be extendable, but the basic use case should be easy. These are the four main UXs:
- Install a package for an executable
- Install a package for a library
- Create a package for an executable
- Create a package for a library
Where will these "packages" be hosted? Sometime in the future, we would ideally have a central repository that hosts them like RubyGems, but for now we will rely on git
repositories.
Package from Executable
This command:
dpm install https://github.com/carlor/rwg.git
Would:
- clone the repository
- build the exec
- move it to
/usr/bin
or ...