rweekly / rweekly.org

R Weekly
https://rweekly.org
678 stars 351 forks source link

WISH: Preserve events and fundings sections when draft.md is reset #1174

Open HenrikBengtsson opened 1 year ago

HenrikBengtsson commented 1 year ago

Hi, I noticed that 2022-W39 lost:

  • R Consortium ISC Call for Proposals - Infrastructure Steering Committee (ISC) grants for low-to-medium risk projects with a focused scope and likely to have a broad impact on the R Community. Deadline 2022-10-01.

under Section 'Grants & Funding'. I didn't get removed for the first few weeks, but only for this last week. It's unfortunate and extra unfortunate as the deadline is this week. I noticed that the same mistake happened once back in April too.

Section 'Upcoming Events in 3 Months' also lost several events that are still upcoming.

HenrikBengtsson commented 1 year ago

Maybe one could write a reset script that run via GitHub Actions that parses all current sections while preserving some of the sections as-is?

jonocarroll commented 1 year ago

That's my bad - I can add that entry back into the issue shortly.

The workflow for resetting the draft involves our draft template and doesn't preserve much at all. Perhaps a source of 'upcoming events' with expiry dates could be pulled in each issue?

jonocarroll commented 1 year ago

The entry has been restored in the issue, but I'll leave this open for discussions about how to prevent this happening again.

HenrikBengtsson commented 1 year ago

Thanks for the quick fix. Note that there are also some upcoming events that need to be restored.

jonocarroll commented 1 year ago

Thanks for that - I've restored them.