mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-14 16:12:19 +00:00
start checklist for adding crates in README.rst
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
f189895cef
commit
b89c56b96e
16
README.rst
16
README.rst
@ -20,3 +20,19 @@ Steps for Releases
|
|||||||
required, then bump their version as well if not already done.
|
required, then bump their version as well if not already done.
|
||||||
- Update debian/changelog files in all the crates updated above.
|
- Update debian/changelog files in all the crates updated above.
|
||||||
- Build packages with `make deb`.
|
- Build packages with `make deb`.
|
||||||
|
|
||||||
|
Adding Crates
|
||||||
|
=============
|
||||||
|
|
||||||
|
1) At the top level:
|
||||||
|
- Generate the crate: ``cargo new --lib the-name``
|
||||||
|
- Sort the crate into ``Cargo.toml``'s ``workspace.members``
|
||||||
|
- Sort the crate into the ``Makefile``'s ``CRATES`` list.
|
||||||
|
|
||||||
|
2) In the new crate's ``Cargo.toml``:
|
||||||
|
- Replace the ``author`` line with
|
||||||
|
``authors = ["Proxmox Support Team <support@proxmox.com>"]``
|
||||||
|
- Add ``license = "AGPL-3"``
|
||||||
|
- Add ``exclude = [ "debian" ]``
|
||||||
|
- Add a meaningful ``description``
|
||||||
|
- Copy ``debian/copyright`` and ``debian/debcargo.toml`` from another subcrate.
|
||||||
|
Loading…
Reference in New Issue
Block a user