@@ -26,29 +26,30 @@ shards:
26
26
branch : master
27
27
` ` `
28
28
29
- Dependencies would then be resolved, downloaded and installed into the ` libs`
30
- folder, ready to be required.
29
+ Dependencies are then resolved, downloaded and installed into the ` libs` folder,
30
+ ready to be required.
31
31
32
32
# # Development Plan
33
33
34
34
- [x] step 1 : install/update dependencies
35
35
- [x] clone from Git repositories (with github shortener)
36
- - [ ] clone from Mercurial repositories (optional)
37
36
- [x] copy/link from local path
38
37
39
- - [ ] step 2 : resolve dependencies
40
- - [ ] recursively install dependencies
41
- - [x] list versions using git tags (v0.0.0-{pre,rc}0)
42
- - [ ] checkout specified versions (defaults to the latest one)
38
+ - [ ] step 2 : resolve dependencies (dumb)
39
+ - [x] recursively install dependencies
40
+ - [x] list versions using Git tags (v0.0.0-{pre,rc}0)
41
+ - [x] checkout specified versions (defaults to : latest version, then HEAD)
42
+ - [ ] checkout specified Git branch/tag (limiting available versions)
43
43
- [x] resolve versions, applying requirements (`*`, `>=`, `<=`, `<`, `>`, `~>`), recursively
44
+ - [ ] lock resolved dependencies in `shards.yml.lock` (or `.shards/lock` or `.shards.lock`?)
45
+
46
+ - [ ] step 3 : smarter resolver
44
47
- [ ] resolve conflicts (when possible)
45
48
46
- - [ ] step 3 : central registry (dumb)
47
- - [ ] resolve dependencies by name => repository URL
49
+ - [ ] step 4 : central registry
48
50
- [ ] multiple registries for private packages / mirrors
49
-
50
- - [ ] step 4 : central registry (smarter)
51
- - [ ] resolve dependencies by name => repository URL + versions (with dependencies)
51
+ - [ ] resolve dependencies by name => repository URL
52
+ - [ ] list package versions (and their dependencies?)
52
53
53
54
# # FAQ
54
55
@@ -61,7 +62,7 @@ folder, ready to be required.
61
62
62
63
- Why YAML and not JSON or TOML?
63
64
64
- JSON is too verbose . TOML's spec is unstable. YAML does the job.
65
+ JSON is too noisy . TOML's spec is unstable. YAML did the job.
65
66
66
67
- Why eventually have a central registry?
67
68
0 commit comments