Run once the report is edited and ready for sign-off. Compiles the PDF from
REPLICATION.md, appends text to any for openICPSR.md notes, commits the
files, and updates the Jira issue. Sign-off itself is done manually in Jira.
aeaready (issue) (pre|approve) [nopdf] [--append FILE] [additional comments]Arguments¶
Required:
issue — the numeric part of the AEAREP Jira issue (not the repository).
pre | approve — abbreviable to
pora. Selects the commit message and action wording (pre-approval or approval). The actual (pre-)approval is still done manually in Jira.
Optional:
nopdf — on systems that cannot build the PDF automatically (Windows, some Macs), generate it by hand first and pass
nopdfto skip the build.--append FILE — append the PDF
FILE(for example, an external reviewer’s report) toREPLICATION.pdfbefore committing, usingaea-pdf-append. May appear anywhere in the arguments;--append=FILEalso works. Withnopdf,FILEis appended to the existingREPLICATION.pdf.additional comments — any words after the required arguments and
nopdfare appended verbatim to the commit message.
Branch check¶
aeaready must run on the repository’s main branch (the branch origin/HEAD
points to). On any other branch it prints the commands to switch to the main
branch and merge the current branch, then asks whether to override. The default
is to exit; answer y to continue on the current branch.
Jira updates¶
If the commit or the push fails, aeaready exits without updating Jira.
After the push, aeaready updates the Jira issue. Each Jira command is printed
before it runs, so it can be copied and run by hand if aeaready is aborted.
With approve, it first runs
jira-reason-syncto check that the reasons checked inREPLICATION.mdmatch Jira. On mismatch it offers to update Jira; declining aborts.It then runs
jira-approval-managerafter a confirmation prompt.
Highlighting important messages¶
A blockquote that starts with [!IMPORTANT] (GitHub alert syntax, also
understood by MyST and VS Code) renders with a red background in the PDF;
plain > blockquotes stay blue. [!CAUTION] is also red; [!NOTE], [!TIP]
and [!WARNING] look like plain blockquotes with a title.
> [!IMPORTANT]
> The openICPSR deposit must be updated before acceptance.This needs pandoc >= 3.1.10; aeaready warns if the pandoc it found is older.
Dependencies¶
PDF generation needs pandoc and either wkhtmltopdf or docker. On Windows,
use nopdf. --append needs aea-pdf-append from the Python package on PATH.