Skip to content

Add git metadata appendix from lab-manual#30

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-git-metadata-section
Draft

Add git metadata appendix from lab-manual#30
Copilot wants to merge 3 commits intomainfrom
copilot/add-git-metadata-section

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 5, 2026

Ports the document generation metadata appendix from UCD-SERG/lab-manual. Displays git commit information (branch, hash, date) in rendered outputs for tracking source versions when transferring edits from rendered documents back to Quarto sources.

Changes

  • New appendix: appendix-document-metadata.qmd executes R code at render time to capture git metadata
  • Configuration: Added appendices section to _quarto.yml
  • CI workflows: Added R environment setup and package installation (knitr, rmarkdown, tibble) to publish.yml and preview.yml

The tibble package is required by existing df-print: tibble configuration in _quarto.yml for PDF output.

Example output

- Branch: main
- Commit: a1b2c3d
- Full commit hash: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0
- Commit date: 2026-02-05 05:57:59 +0000
Original prompt

This section details on the original issue you should resolve

<issue_title>add the git metadata section from https://github.com/UCD-SERG/lab-manual</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 5, 2026 05:57
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copilot AI changed the title [WIP] Add the git metadata section from lab manual Add git metadata appendix from lab-manual Feb 5, 2026
Copilot AI requested a review from d-morrison February 5, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add the git metadata section from https://github.com/UCD-SERG/lab-manual

2 participants