1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/project
Tianon Gravi 0fab79f203 Update .deb version numbers to be more sane
Example output:
```console
root@906b21a861fb:/go/src/github.com/docker/docker# ./hack/make.sh binary ubuntu
bundles/1.4.1-dev already exists. Removing.

---> Making bundle: binary (in bundles/1.4.1-dev/binary)
Created binary: /go/src/github.com/docker/docker/bundles/1.4.1-dev/binary/docker-1.4.1-dev

---> Making bundle: ubuntu (in bundles/1.4.1-dev/ubuntu)
Created package {:path=>"lxc-docker-1.4.1-dev_1.4.1~dev~git20150128.182847.0.17e840a_amd64.deb"}
Created package {:path=>"lxc-docker_1.4.1~dev~git20150128.182847.0.17e840a_amd64.deb"}

```

As noted in a comment in the code here, this sums up the reasoning for this change: (which is how APT and reprepro compare versions)
```console
$ dpkg --compare-versions 1.5.0 gt 1.5.0~rc1 && echo true || echo false
true
$ dpkg --compare-versions 1.5.0~rc1 gt 1.5.0~git20150128.112847.17e840a && echo true || echo false
true
$ dpkg --compare-versions 1.5.0~git20150128.112847.17e840a gt 1.5.0~dev~git20150128.112847.17e840a && echo true || echo false
true
```

ie, `1.5.0` > `1.5.0~rc1` > `1.5.0~git20150128.112847.17e840a` > `1.5.0~dev~git20150128.112847.17e840a`

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-01-28 14:26:40 -07:00
..
make Update .deb version numbers to be more sane 2015-01-28 14:26:40 -07:00
allmaintainers.sh Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
CONTRIBUTORS.md Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
dind Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
generate-authors.sh Update AUTHORS file 2014-11-16 23:41:25 -08:00
getmaintainer.sh Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
GOVERNANCE.md Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
install.sh Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
IRC-ADMINISTRATION.md Add initial new IRC administration cheat sheet of sorts 2015-01-02 23:42:45 -07:00
MAINTAINERS Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
make.sh Update project/make.sh to use execdriver buildtag if passed. 2015-01-23 16:18:39 -08:00
PACKAGERS.md Update the LXC version to 1.0.7 in PACKAGERS.md 2015-01-08 11:37:53 -08:00
PRINCIPLES.md Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
README.md Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
RELEASE-CHECKLIST.md Merge pull request #9830 from pnasrat/release-include-announce-list 2015-01-05 16:46:28 -08:00
release.sh Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
report-issue.sh issue report script 2014-11-19 12:32:45 -05:00
ROADMAP.md Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
stats.sh Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
vendor.sh Update libcontainer to 2d3b5af7486f1a4e80a5ed91859d309b4eebf80c 2015-01-26 14:00:44 -08:00

Hacking on Docker

The hack/ directory holds information and tools for everyone involved in the process of creating and distributing Docker, specifically:

Guides

If you're a contributor or aspiring contributor, you should read CONTRIBUTORS.md.

If you're a maintainer or aspiring maintainer, you should read MAINTAINERS.md.

If you're a packager or aspiring packager, you should read PACKAGERS.md.

If you're a maintainer in charge of a release, you should read RELEASE-CHECKLIST.md.

Roadmap

A high-level roadmap is available at ROADMAP.md.

Build tools

make.sh is the primary build tool for docker. It is used for compiling the official binary, running the test suite, and pushing releases.