Decision records#
Each record states one decision, why it was taken, and what it rules out. They are written when the decision is made and left in place afterwards — a record that has been overtaken is marked superseded and kept, because the reasoning that led to it is part of how the package arrived where it is.
Read one when you want to know why something works the way it does rather than how to use it. The rest of this documentation covers the how.
- ADR-0001 — citation_key is unique per import batch, not globally
- ADR-0002 — Identifier types are open, not a closed enum
- ADR-0003 — Names are role-neutral and shared; role and order live on ItemName
- ADR-0004 — One date per CSL slot, stored as partial dates
- ADR-0005 — Contributor ordering is scoped per (item, role) in the model, not via django-ordered-model
- ADR-0006 — An imported entry is stored whole or not at all, by default
- ADR-0007 —
import_entrycatches every exception by default, not a named few - ADR-0008 — A format mints a citation key for every entry it hands over
- ADR-0009 — An import never matches against items already stored
- ADR-0010 — A genuine fixture is one this project did not write
- ADR-0011 — The RIS parser is hand-rolled, and takes no parsing library
- ADR-0012 — A format owns its own decoding, and says which file mode it expects
- ADR-0013 — No copyleft fixture enters this package
- ADR-0014 — Cross-producer equivalence is proved over the material that exists, and labelled where it does not
- ADR-0015 — A reference page is addressed by its primary key
- ADR-0016 — The front end arrives through an optional extra
- ADR-0017 — Identical stored names are not merged
- ADR-0018 — A guard asserts on content, not on a status code
- ADR-0019 — The repository holds data as source, never as a built database
- ADR 0020 — The item type to field mapping is this package’s own artefact
- ADR 0021 — Type scoping is presentation, never storage
- ADR 0022 — The front end’s pages are open, including the ones that write
- ADR 0023 — A citation key’s uniqueness is the reader’s concern, not the package’s
- ADR 0024 — The catalogue search adds no index
- ADR 0025 — One definition of what the catalogue narrows by
- ADR 0026 — A format accepts a text or a binary handle
- ADR-0027 — A skipped entry may carry a reason
- ADR-0028 — An import previews first, and stages its file against the session
- ADR-0029 — The format is chosen, never detected
- ADR-0030 — The import page accepts an unbounded upload from anyone who can reach it
- ADR 0031 — Completion suggests a spelling, never a record
- ADR 0032 — A related row is kept by being rendered
- ADR 0033 — The catalogue view is chosen by a setting, not by routing
- ADR 0034 — A date slot is a field of the form, not a row of a set
- ADR 0035 — The variables a citation processor assigns are not stored
- ADR 0036 — Writing asks for a model permission
- ADR 0037 — The reference picker is a django-tomselect field