about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/ci/date-check
AgeCommit message (Collapse)AuthorLines
2025-05-10noiseTshepang Mbambo-2/+0
2025-05-10we are a collectiveTshepang Mbambo-1/+0
2025-05-10bump editionTshepang Mbambo-1/+1
2025-05-10no point versioning theseTshepang Mbambo-101/+107
They are internal tools.
2025-05-10add missing wordTshepang Mbambo-1/+1
2025-03-30add rustfmt settings fileTshepang Mbambo-125/+30
2024-07-09Bump all other depsNoah Lev-14/+26
2024-07-09Fix chrono deprecationsNoah Lev-3/+7
2024-07-09Bump chronoNoah Lev-36/+233
The specific reason I decided to update is since newer versions of chrono don't depend on time 0.1, which has some soundness issues. Of course, staying up-to-date in general is a good idea.
2023-02-16have checkboxes only point to date-check lines in files (#1603)Tshepang Mbambo-1/+1
They currently also point to filenames, which is redundant. current - [ ] thir.md - [ ] line 7: 2022-04 - [ ] line 60: 2022-08 - [ ] traits/chalk.md - [ ] line 4: 2022-05 proposed - thir.md - [ ] line 7: 2022-04 - [ ] line 60: 2022-08 - traits/chalk.md - [ ] line 4: 2022-05
2022-08-25address review commentTshepang Mbambo-1/+7
https://github.com/rust-lang/rustc-dev-guide/pull/1428#discussion_r948143840
2022-08-25make date-check more easy to useTshepang Mbambo-4/+2
One could not run it like the following, for the would be a panic: cargo run --manifest-path ci/date-check/Cargo.toml . Also, remove the need to specify argument, in which case, current_dir is assumed.
2022-08-09update date-check format on github issue (#1416)Tshepang Mbambo-1/+1
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02date-check: be more strictTshepang Mbambo-2/+2
2022-08-02make date-check more lightweight (#1394)Tshepang Mbambo-30/+136
* make date-check lightweight This avoids having to write the date twice when updating date-check. Before "As of <-- 2022-07 --> July 2022" After "As of July 2022" * please clippy * update date-check docs * accept review suggestion Co-authored-by: Noah Lev <camelidcamel@gmail.com> * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557 * accept review suggestion Co-authored-by: Noah Lev <camelidcamel@gmail.com> * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261 * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017 * this breaks markdown * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268 This led to a more robust regex, though making the tool more picky. It also found a wrong date format that was missed. * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419 * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816 * accept review suggestion This was reverted by mistake Co-authored-by: Noah Lev <camelidcamel@gmail.com> * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395 * use a more simple fn * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981 Much more clean * nit * accept review suggestion Co-authored-by: Noah Lev <camelidcamel@gmail.com> * avoid a failed regex Also, test new shape * adjust to new regex (which uses named groups) New regex was introduced by 456008cc35de0597d26fec0030ee5db8a0c2fb65 Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-06-07Bump regex from 1.4.3 to 1.5.5 in /ci/date-check (#1364)dependabot[bot]-24/+10
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-21Update author fieldNoah Lev-1/+1
2021-10-21Switch date-check to Rust 2021Noah Lev-1/+1
No migrations were necessary.
2021-08-26date-check: Recognize capitalized 'Date' as wellNoah Lev-1/+7
Now, if people use 'Date' instead of 'date', it won't be ignored.
2021-02-03Implement date-checkerCamelid-0/+395
This tool looks for HTML comments like `<!-- date: 2021-01 -->` in each Markdown source file and compiles a list of dates that are older than six months. It then opens an issue with that list, with checkboxes for each file and date. Note that it will only open an issue if there was at least one date older than six months; it does nothing if the list is empty. This tool is automatically run monthly in a GitHub Actions workflow. I have tested the tool on a private repo and confirmed that it works.