-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Noam Ross
committed
Nov 9, 2023
1 parent
1b1d132
commit c7dcc3d
Showing
18 changed files
with
357 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
^gitty\.Rproj$ | ||
^relic\.Rproj$ | ||
^\.Rproj\.user$ | ||
^README\.Rmd$ | ||
^\.github$ | ||
^CODE_OF_CONDUCT\.md$ | ||
^LICENSE\.md$ | ||
^man/install_minio\.Rd$ | ||
^man/sys_tempdir\.Rd$ | ||
^man/sys_tempfile\.Rd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | ||
# The action runs when: | ||
# - A new release is published | ||
# - Changes to the main branch | ||
on: | ||
release: | ||
types: [published] | ||
push: | ||
branches: [master, main] | ||
workflow_dispatch: | ||
|
||
name: Update Docs and Metadata | ||
|
||
jobs: | ||
update-docs-and-meta: | ||
runs-on: macos-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: r-lib/actions/setup-r@v2 | ||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: | | ||
any::cffr | ||
any::codemeta | ||
any::rmarkdown | ||
any::devtools | ||
- name: Update package metadata and docs | ||
run: | | ||
devtools::document() | ||
cffr::cff_write(keys = list()) | ||
codemeta::write_codemeta() | ||
rmarkdown::render('README.Rmd', output_options = list(html_preview = FALSE)) | ||
shell: Rscript {0} | ||
|
||
- name: Commit results | ||
run: | | ||
git config --local user.name "github-actions[bot]" | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git add CITATION.cff codemeta.json README.md NAMESPACE man/** | ||
git commit -m 'Update package metadata and documentation' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
YEAR: 2023 | ||
COPYRIGHT HOLDER: gitty authors | ||
COPYRIGHT HOLDER: relic authors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export(commits_between) | ||
export(file_copy_versions) | ||
export(graph_from_commits) | ||
export(graph_from_git_repository) | ||
export(tar_load_version) | ||
export(tar_read_version) | ||
export(tar_read_versions) | ||
import(fs) | ||
import(git2r) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# relic (development version) | ||
|
||
* Initial proof of concept |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#' @keywords internal | ||
"_PACKAGE" | ||
|
||
## usethis namespace: start | ||
#' @import fs git2r | ||
## usethis namespace: end | ||
NULL |
Oops, something went wrong.