Add packaging notes section, for clippy etc
Ximin Luo
5 years ago
53 | 53 | /srv/chroot/debcargo-unstable-amd64-sbuild http://deb.debian.org/debian |
54 | 54 | |
55 | 55 | |
56 | NEWS | |
57 | ==== | |
56 | General packaging tips | |
57 | ====================== | |
58 | 58 | |
59 | 2018-07-06 | |
60 | ---------- | |
59 | Dependencies on clippy | |
60 | ---------------------- | |
61 | 61 | |
62 | Great news, we started to upload packages in the archives. 22 have been accepted | |
63 | and about 20 are pending in NEW. | |
62 | Patch away dependencies on "clippy" unless it is a "real" dependency. Usually | |
63 | crates only use clippy to lint themselves and it is not a "real" dependency | |
64 | in the sense that they actually import clippy's code for what they do. | |
64 | 65 | |
66 | If you want to be sure, `rg clippy` and check that all the usages of it are | |
67 | inside `cfg_attr` declarations. If so, then just get rid of it. | |
65 | 68 | |
66 | 2018-06-20 | |
67 | ---------- | |
69 | Architecture-specific crates | |
70 | ---------------------------- | |
68 | 71 | |
69 | We are about to upload a few hundred rust packages to Debian. Do not submit | |
70 | ITPs for these, it is unnecessary since we're the only ones uploading, there is | |
71 | no chance of conflict, and it is only spam for the bug tracker. Please instead | |
72 | co-ordinate uploads on the #debian-rust IRC channel. | |
72 | See simd and redox-syscall for examples on how to deal with these. | |
73 | ||
74 | If this is unclear, ask on IRC. | |
75 | ||
76 | ITPs | |
77 | ---- | |
78 | ||
79 | Don't file ITPs for library crates, but do file them for binary crates. | |
80 | ||
81 | For now (updated 2018-09) we have several hundred crates to upload. Submitting | |
82 | ITPs for these is unnecessary since we're the only ones uploading and there is | |
83 | no chance of conflict. It would only be spam for the bug tracker. Please | |
84 | instead co-ordinate uploads on the #debian-rust IRC channel. | |
73 | 85 | |
74 | 86 | |
75 | 87 | TODO |