Releases: ropensci/tic
Releases · ropensci/tic
tic 0.11.0
- Templates: On Linux, system libraries are now installed via
remotes::system_requirements()
(#300) - Instead of using an exact version tag, the core GHA actions are now referenced using a dynamic major version tag (e.g. v2 instead of v2.3.4).
This includes an update of the templates to the latest revision date 2021-06-26. do_pkgdown()
macro now also builds the site on on branches containing the wordcran
.
This adds support for the {fledge} release mechanism when using both a development and release site (#303)update-tic.yml
: Remove hardcoded reference to master branchupdate_yaml()
is not in beta state anymore
tic 0.10.0
General
- Drop Travis support (#295)
- Drop Appveyor support (#296)
- Bump templates: install required
libgit2
required by usethis v2.0.0 (tic dep) - Run r-devel on ubuntu instead of macOS
- DSL: Don't add steps twice, if present in a previous macro (#272)
use_tic()
: use GitHub Actions as the default provider for all platformsupdate_yml()
: Support updating multiple YAML files- Update instructions for spatial libs on macOS for GHA
GitHub Actions templates
- Update
actions/checkout
to v2.3.4 - Update
actions/upload-artifacts
to v2.2.1 - Update
pat-s/always-upload-cache
to v2.1.3 - Update
peter-evans/create-pull-request
action inupdate-tic.yml
template to use latest master - Add
workflow_dispatch
event trigger to templates
Bug fixes
step_setup_ssh()
now verifies that {git2r} is installed. This prevents build failures for {rsconnect} deploymentsgha_add_secret()
: Add new upstream parameters and fix endpoint- Replace hardcoded references to "master" by a dynamic query of the default repo branch
- Conditionally install pkgdown required system libs on both Linux and macOS
gha_add_secret()
: Fixowner/repo
output when calling the function from a different repo root (#299, @gadenbuie)
tic 0.9.0
Features
update_yaml()
: Account for duplicated env vars when a custom env var masks a template env varuse_tic_badge()
: Update tic badge and default action name (#269)- Installing and using
ccache
for faster source package installation is now optional.
While usingccache
can help a lot for installing large dependency chains of certain packages, it also adds substantial overhead to builds for small packages.
It is now optional and needs to be added as a custom block to builds. (#264) - Add
step_session_info()
.
This step prints the session info after having installed all dependencies in the "install" stage. (#259) step_install_deps()
anddo_package_checks()
gaindependencies = TRUE
argument.- New
use_update_tic()
: Adds GitHub Actions workflowupdate-tic.yml
to automatically update tic YAML templates - Support fully custom runner matrices on GitHub Actions via template types
"custom"
and ´"custom-deploy"` - New
gha_add_secret()
to automate the process of adding a GitHub PAT to a repo as a secret.
This function will probably be move to {ghactions} in the future.
Bugfixes
- Temporarily enforce {covr} dev version to account for timeouts on GHA, see r-lib/covr#435
- Remove alert in steps-install.R (#263)
- Pass arg
remote
to all printing instances. Previously using a different remote than "origin" caused an error..
CI Provider specific
GitHub Actions
- Update versions of "tinytex" and "always-upload-cache" actions (#267)
- Install LaTeX on only one runner (#257)
- Switch from
main.yml
totic.yml
(#260) - Set env var GITHUB_PAT from secret GITHUB_TOKEN to work around rate limits in {remotes}
- Update
actions/checkout
to v2.1.1 - Update
pat-s/always-upload-cache
to v2.0.0 - Remove old clang7 compiler setup for R <= 3.6.3
tic 0.8.0
Features
- New
update_yml()
: Update your {tic} yaml templates to the latest upstream version in {tic}.
User changes are preserved if these are marked correctly.
See vignette "Updating Templates" for instructions.
This process can also be fully automated via a custom CI job. - Add argument
force
tostep_do_push_deploy()
for adding the--force
flag to git calls - Add solutions to {rgl} installation issues to FAQ
- Update
.R/Makevars
CI Provider specific
GitHub Actions
- Set CRON time to 4 am to avoid download issues with mirror updates
- Added
-I/usr/local/include
to CPPFLAGS for macOS runners to mirror CRAN setup
Circle CI
- Update r-oldrelease to R 3.6.3
tic 0.7.0
Macros
- Add
do_blogdown()
macro (#242)
CI Provider specific
GitHub Actions
use_tic()
: Movecli::tree()
calls touse_*_yml()
functions to avoid printing of false-positive trees.use_*_yml()
: Set defaults for argumenttype
.- Fix GHA build URL and prettify deploy message (#247)
- Adjust GH Actions templates to use the
use_*_yml()
logic (#246) - Bugfix: Packages on R-devel macOS are being installed in parallel again.
R 4.0 toolchain
- GitHub Actions: R-devel on macOS now uses Apples default clang compiler and the 10.13 SDK (High Sierra) to mimic the CRAN toolchain behavior.
(The 10.15 SKD causes various issues when installing packages from source.) - Env var
SDKROOT
is now set to/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
to prevent linking issues on macOS >= 10.15.4
tic 0.6.0
General
use_badge
: Refactor to use default badges from the respective providers rather than from shields.io (too slow and sometimes badges did not render at all) (#240)- Condition deployment templates on a single runner for deployment. This avoids race conditions during deployment. This applies to all CI providers and templates (blogdown, bookdown, package) (#241)
- Files specified for deployment via
step_push_deploy(commit_paths = )
are now force added to the index bygit
.
This enables to add directories likedocs/
(e.g. created by a local pkgdown build) to.gitignore
and still deploy it during CI (#237).
CI Provider specific
GitHub Actions
- GitHub Actions: Always use option '--no-manual' on Windows because LaTeX is not available (because it takes ages to install)
step_rcmdcheck()
: Test in directory "check" to simplify upload of artifacts- Set cron job to 4am to avoid potential download issues with R-devel on macOS
- Github Actions: Only deploy on R-release on macOS by default.
Bugfixes
use_tic()
fails with descriptive error message if the badges start/end sections are missing in READMEstep_install_ssh_keys()
: Do not usegit2r::config()
when deploying on Windows to prevent build freezes
Documentation
faq.Rmd
: Add info how to avoid git race conditions during pkgdown deployment (#238)
tic 0.5.0
Enhancements
- New function
tic::use_ghactions_deploy()
(status "experimental") to set up a SSH key for deployment. - New function
use_ghactions_yml()
withdeploy = TRUE/FALSE
(FALSE by default). - New Vignette "FAQ".
- Added GH Actions support to
use_tic()
- new macro
do_readme_rmd()
(#223) - new function
list_macros()
Maintenance
- Change for the default of the private SSH deploy key name from
TRAVIS_DEPLOY_KEY
toTIC_DEPLOY_KEY
to have a generic name. - Change argument
travis_private_key_name
toprivate_key_name
- Renamed
yaml-templates.R
toyaml_templates.R
because the former caused troubles when previewing the dev version of the docs. - Beautified the CLI output of
use_tic()
- Replaced all instances of
_tic_
in the docs by{tic}
tic 0.4.0
tic 0.3.0
- add argument "check_dir" to step_rcmdcheck (#179)
- use
remotes::install_cran(upgrade = TRUE)
to install packages (#186) - added support for Circle CI (#177)
- All packages installed for custom steps use binary packages if possible on Windows and macOS (#178).
- Use
TRAVIS_BUILD_WEB_URL
for the commit message. do_package_checks()
gainstype
argument.- Tweak documentation.
- export
use_travis_yml()
,use_circle_yml()
anduse_appveyor_yml()
and add overview table of available options