Skip to content

Commit 98339b3

Browse files
committed
Updated plan in README
1 parent 294b09d commit 98339b3

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,30 @@ shards:
2626
branch: master
2727
```
2828
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.
3131

3232
## Development Plan
3333

3434
- [x] step 1: install/update dependencies
3535
- [x] clone from Git repositories (with github shortener)
36-
- [ ] clone from Mercurial repositories (optional)
3736
- [x] copy/link from local path
3837

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)
4343
- [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
4447
- [ ] resolve conflicts (when possible)
4548

46-
- [ ] step 3: central registry (dumb)
47-
- [ ] resolve dependencies by name => repository URL
49+
- [ ] step 4: central registry
4850
- [ ] 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?)
5253

5354
## FAQ
5455

@@ -61,7 +62,7 @@ folder, ready to be required.
6162

6263
- Why YAML and not JSON or TOML?
6364

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.
6566

6667
- Why eventually have a central registry?
6768

0 commit comments

Comments
 (0)