]> git.proxmox.com Git - debcargo-conf.git/blame - CONTRIBUTING.rst
Merge remote-tracking branch 'origin/pending-rust-cast'
[debcargo-conf.git] / CONTRIBUTING.rst
CommitLineData
23d43431
SL
1==========
2Sponsoring
3==========
4
814454cb
SL
5Expectations
6============
7
8To accept a new package in the Debian archive, we need the following:
9
101. Clean copyright file
111. Except with very good reasons, it should generate only one Debian package
12 please use ``collapse_features = true`` in debcargo.toml to avoid that
131. No lintian warning except ``initial-upload-closes-no-bugs`` (for libraries)
141. autopkgtest should be green (or skipped)
151. New binaries should have an open ITP
161. The maintainer should be on IRC: #debian-rust on OTFC
171. If the crate needs dependencies not available yet in Debian, document them
18 in the RFS file
5f79192e
SL
191. If you are asking for sponsoring on an existing key crate, please make sure it isn't
20 breaking a lot of things. If it does, please identify the necessary steps
814454cb
SL
211. Patience
22
23d43431
SL
23
24Ready for upload (Request For Sponsor)
25======================================
26
27If you do not have upload rights, simply ``touch src/$crate/debian/RFS`` in
28your crate's directory, commit and push it, and a DD or DM will get around to
29it at some point.
30
31Please join the IRC channel #debian-rust on OFTC to be available to answer
32to questions. Please monitor the RFS file as the sponsors can use it to
33communicate with the maintainer.
34
35If you haven't seen activity for 2 or 3 weeks, feel free to ping sylvestre on the
36IRC #debian-rust channel.
37
38If your update breaks semver compatibility, please first check the reverse
39dependencies by running::
40
41 $ aptitude search '~Dlibrust-$cratename'
42
43and try to verify that they won't be broken by your update, by building them.
44If they are broken, then:
45
461. Document the problem in ``debian/BLOCK``.
472. File an issue upstream to report that they should update to the new library
483. Write a patch if you can get that working, and document it.
49
50
51Review list
52===========
53
54To list all packages under RFS, run ``dev/list-rfs.sh``.