]>
Commit | Line | Data |
---|---|---|
d580884e XL |
1 | Instructions |
2 | ============ | |
3 | ||
23db3623 XL |
4 | ``cargo install debcargo``, then for each new package: |
5 | ||
7b976234 | 6 | **To package a new crate:** |
931eabc0 | 7 | |
7b976234 | 8 | $ ``./new-package.sh <rust-crate-name>`` and follow its instructions. |
11fc9801 | 9 | |
7b976234 SL |
10 | **To update a crate:** |
11 | ||
12 | $ ``./update.sh <rust-crate-name>`` | |
13 | ||
14 | Note that new-package.sh is just a symlink to update.sh. This has been created | |
15 | to help new comers. | |
16 | ||
17 | **To package an older version of a crate:** | |
18 | ||
19 | $ ``./update.sh <rust-crate-name> <old-version>`` | |
20 | ||
21 | To maintain an old version of a crate alongside the latest one, first | |
999f9269 | 22 | make sure the latest version is packaged by doing all of the above, then run |
7b976234 SL |
23 | the command above and copy anything relevant from the config directory |
24 | for the latest version, to that for the old version. | |
999f9269 | 25 | |
d580884e | 26 | |
01f68998 XL |
27 | NEWS |
28 | ==== | |
29 | ||
30 | 2018-06-20 | |
31 | ---------- | |
32 | ||
33 | We are about to upload a few hundred rust packages to Debian. Do not submit | |
34 | ITPs for these, it is unnecessary since we're the only ones uploading, there is | |
35 | no chance of conflict, and it is only spam for the bug tracker. Please instead | |
36 | co-ordinate uploads on the #debian-rust IRC channel. | |
37 | ||
38 | ||
d580884e XL |
39 | TODO |
40 | ==== | |
41 | ||
23db3623 | 42 | Maybe use ``--copyright-guess-harder``. |