Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Use write_fledgling() to write NEWS.md #588

Merged
merged 80 commits into from
Feb 4, 2023
Merged

Conversation

maelle
Copy link
Member

@maelle maelle commented Nov 18, 2022

Fix #147
Fix #586
Fix #336

TODOs

  • decide whether to deprecate update_version().
  • decide what to name update_news() if not update_news(). I am not against keeping the name. I've thought of record_changes().
  • would there be a way to first test this branch in a few repos where fledge is used?
  • improve the section header parsing (see refactor: Use write_fledgling() to write NEWS.md #588 (review) or keep it as a debt-labelled issue if we plan a debt-paying-back session soon? 😅 )

@maelle

This comment was marked as outdated.

NEWS.md Outdated Show resolved Hide resolved
vignettes/internals.Rmd Show resolved Hide resolved
@maelle

This comment was marked as resolved.

@maelle

This comment was marked as resolved.

@maelle

This comment was marked as outdated.

R/pandoc.R Outdated
}
if (length(versions) == 0) {
rlang::abort("Empty changelog")

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decision to be made here between aborting and messaging 😅

maelle and others added 2 commits January 23, 2023 14:36
Co-authored-by: maelle <maelle@users.noreply.github.com>
R/commits.R Outdated
@@ -2,10 +2,6 @@ with_repo <- function(code) {
withr::with_dir(usethis::proj_get(), code)
}

local_repo <- function(.local_envir = caller_env()) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why has this been removed @krlmlr?

@maelle
Copy link
Member Author

maelle commented Jan 30, 2023

@krlmlr will this be good to go after #610?

@krlmlr krlmlr changed the title refactor: write_fledgling() refactor: Use write_fledgling() to write NEWS.md Feb 4, 2023
@krlmlr krlmlr merged commit 2d74d5d into main Feb 4, 2023
@krlmlr krlmlr deleted the write-fledgeling branch February 4, 2023 13:57
@krlmlr
Copy link
Contributor

krlmlr commented Feb 4, 2023

Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
2 participants