about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/ci
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-12-30Opt into, rather than out of, linkcheck (#2180)Noah Lev-1/+1
This makes it less of a hassle to render the book locally.
2024-12-29Remove properly tracked config file from .gitignore & add support for ↵Martin Liška-3/+10
skipping of link-checking (#2023) * Remove properly tracked config file from .gitignore The file is part of the git history and is a configuration file. Fixes: #2018 * Add env. variable support * Refactoring * Really skip linkcheck if requested
2024-12-28Start using mdbook-linkcheck2 (#2103)Martin Liška-9/+3
2024-08-07Disable linkcheck in PRs until bugs are fixedNoah Lev-0/+6
See https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/77 and https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/86. These bugs are causing linkcheck to erroneously fail because we run it using `-f`, to avoid too many requests. For now, disable linkcheck in PR CI, though leave it enabled in the cron job, where the bug should not occur.
2024-08-03linkcheck: fix filtering of the source files (#2019)Martin Liška-2/+2
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.
2024-03-30Delete length check (#1952)Nilstrieb-43/+0
It's super annoying to be forced to use this bad convention, and apparently everyone agrees. The only reason no improvements have been done is because those were blocked on writing a better checker. I strongly believe that no checker is better than a bad checker, so let's just delete it in the meantime. I kindly asked anyone who sees this to complain about overly long sentences in review in the future, I think we can make this turn out fine.
2023-04-09Various improvements to `check_line_lengths.sh` (#1667)jyn-4/+4
2023-03-27Don't require $GITHUB_TOKEN to build locally (#1652)jyn-3/+13
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-04-29Link to Zulip search for finding the most recent check-in (#1118)Joshua Nelson-1/+4
2021-04-27Remove the possible unnecessary flagJohnTitor-1/+1
2021-04-27Replace some Travis-related things completelyYuki Okushi-1/+1
2021-03-11Check `BASE_SHA` only if it's a PR (#1083)Yuki Okushi-1/+1
2021-03-10Switch from Travis to GHA (#1073)Yuki Okushi-6/+6
2021-02-04Make check-in.sh output in way that suggest to add only the most relevant infoSantiago Pastorino-6/+2
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.
2021-02-01Document how to stabilize a library feature (#1036)Joshua Nelson-0/+1
* Move 'force-unstable-if-unmarked' to the bootstrapping chapter * Document how to stabilize a library feature Note that features can't be stabilized until they go through FCP and that FCP happens on the tracking issue, not the PR. * Fix wrong glob By default `**` behaves the same as two `*` side by side, i.e. it only globs file paths, not directories. `shopt -s globstar` needs to be set for it to mean a directory. I didn't notice this before now because `globstar` is set by default in interactive mode, but not otherwise.
2020-11-30Improve contributor experience for the dev-guide itself (#973)Joshua Nelson-1/+3
- Fix typos in the README - Don't echo all instructions in the linkcheck.sh shellscript; this is noisy and unhelpful when developing locally. Verbose output is still enabled in CI. - Link to the index page for compiler docs, not `rustc_middle`. Note that the compiler docs are not a guide - that's us! - Remove outdated instructions about avoiding 429s. These should no longer be occurring locally now that we're using caching. - Consolidate info about `mdbook` and `mdbook-linkcheck` near each other
2020-11-23don't use cache while running PR buildsmark-1/+1
2020-10-22fix formattingJoshua Nelson-1/+1
2020-10-22Improve markdown formattingJoshua Nelson-4/+9
2020-10-22Add a `check-in.sh` script to automate writing markdown linksJoshua Nelson-0/+34
Example usage: ``` $ ./check-in.sh usage: ./check-in.sh <since> <number-of-prs-merged> $ ./check-in.sh 2020-09-03 usage: ./check-in.sh <since> <number-of-prs-merged> help: you can find the number of PRs merged at https://github.com/rust-lang/rustc-dev-guide/pulls?q=is%3Apr+is%3Aclosed+updated%3A%3E2020-09-03 $ ./check-in.sh 2020-09-03 72 Authors: - **@1c3t3a** - **@arora-aman** ... snip ... Changes: - Replace links to `buildbot2.r-l.o` with `bors.r-l.o` [#929](https://github.com/rust-lang/rustc-dev-guide/pull/929) - Add reference PRs for `r?` and `r+` comments [#928](https://github.com/rust-lang/rustc-dev-guide/pull/928) ... snip ... Changes in progress: ```
2020-10-08Better error messageWho? Me?!-1/+1
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-10-08Lol logic is hardWho? Me?!-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08add assertmark-0/+5
2020-10-08More debuggable bash settingsWho? Me?!-0/+3
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08Add comment referring to travis docsWho? Me?!-0/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08linkcheck only for changed files except in cron jobsmark-0/+20
2020-10-01Recommend setting up `check_line_lengths` as a pre-commit scriptJoshua Nelson-9/+8
I've run into lots of annoying failures from this. - Make it runnable without arguments - Add it in the README
2020-01-30use cargo installMark Mansi-24/+0
2019-11-05remove all the hacks, add some improvementsMark Mansi-12/+2
2019-10-04Refactor (build CI script): minimizes the script, thanks to mark-i-mAmanjeev Sethi-14/+2