da7d40a553
build(deps): bump crate-ci/typos from 1.22.9 to 1.23.1 ( #2202 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.22.9 to
1.23.1.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 08:56:52 +01:00
5899752873
Add workflow support for Arabic translation ( #2194 )
...
Part of : #445 , #2193
2024-07-08 08:51:52 +01:00
a976603da5
First step in Arabic Translation ( #2193 )
...
Part of : #445
2024-07-05 22:40:03 -07:00
5db15cccb6
Publish all languages. ( #2189 )
2024-07-05 11:11:12 -07:00
2de95fa2de
Fix publish workflow ( #2171 )
...
Need to `apt-get update` before `apt-get install`.
2024-06-25 09:42:16 -04:00
c7425f91c4
build(deps): bump crate-ci/typos from 1.22.7 to 1.22.9 ( #2162 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.22.7 to
1.22.9.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 10:48:20 +01:00
a89a4d70ca
build(deps): bump crate-ci/typos from 1.22.3 to 1.22.7 ( #2149 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.22.3 to
1.22.7.
2024-06-17 09:10:02 -04:00
53daee6993
build(deps): bump crate-ci/typos from 1.21.0 to 1.22.3 ( #2134 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.21.0 to
1.22.3.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-10 09:38:06 +01:00
f337c0f70d
Upgrade dependencies in github actions ( #2101 )
2024-05-28 10:49:12 +02:00
3d999663ac
Add @AlexandraImbrisca to CODEOWNERS ( #2091 )
...
Co-authored-by: Martin Geisler <martin@geisler.net >
2024-05-22 11:17:25 +02:00
23c5f66758
Add razvanm CODEOWNERS for ro.po ( #2090 )
2024-05-22 11:15:40 +02:00
6b1b024a47
Update CODEOWNERS with new vi.po
reviewer ( #2051 )
...
Ignored unrelated failing tests.
2024-05-21 20:30:17 -07:00
3d99e1badf
Retire @suetfei as zh-CN reviewer ( #2059 )
...
I talked with Suet-fei and she told me that she does not have time to
review the translation.
Thanks for the help!
2024-05-06 09:13:30 -07:00
43f910aa41
build(deps): bump crate-ci/typos from 1.20.10 to 1.21.0 ( #2055 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.20.10
to 1.21.0.
2024-05-06 09:34:29 -04:00
6f4f29e603
Bump crate-ci/typos from 1.20.9 to 1.20.10 ( #2034 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.20.9 to
1.20.10.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 11:30:19 +01:00
4259b63c44
Bump crate-ci/typos from 1.20.8 to 1.20.9 ( #2018 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.20.8 to
1.20.9.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:14:00 +02:00
487d1710c9
Add @alerque as a reviewer for the Turkish translation ( #1999 )
...
See invitation here:
https://github.com/google/comprehensive-rust/pull/1971#issuecomment-2061199545
Also note that @enes1313 is marked as a code owner, but they are *not* a
collaborator on the repository so the code owner features are
non-functional and this is considered an error by the GH parser.
Obviously there are two possible resolutions to that...
2024-04-18 12:48:18 +02:00
f103971cf4
Add @HidenoriKobayashi to CODEOWNERS for Japanese translation ( #1997 )
...
@HidenoriKobayashi has been working on Japanese translation very well so
it'd be nice to have him as a CODEOWNER
2024-04-16 14:11:34 +09:00
956a1361f1
Bump crate-ci/typos from 1.20.4 to 1.20.8 ( #1990 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.20.4 to
1.20.8.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 10:25:43 +01:00
8ed4d48aa5
Only save CI cache on main
branch ( #1962 )
...
When a PR restores the cache, it will find the most recent cache from
the `main` branch. This cache should be mostly up to date.
We are constantly at the 10 GB limit for our CI caches, so removing the
extra caches from the many PR branches should ensure that we always have
space for the `main` branch caches.
2024-04-08 18:04:42 +02:00
13336fc428
Bump crate-ci/typos from 1.19.0 to 1.20.4 ( #1968 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.19.0 to
1.20.4.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 15:48:59 +01:00
620b8a3b72
Run mdbook test
on translated code ( #1961 )
...
I made a small mistake during the refactor in #1492 : I removed the
`MDBOOK_BOOK__LANGUAGE` environment variable, which means that we ended
up testing the original Rust code snippets again and again.
This commit also fixes the few typos that have sneaked into the
translations due to the lack of testing.
2024-04-07 19:38:18 +09:00
6e8000e35d
Bump actions/configure-pages from 4 to 5 ( #1953 )
...
Bumps
[actions/configure-pages](https://github.com/actions/configure-pages )
from 4 to 5.
2024-04-01 11:26:15 -04:00
6064631f50
Adding Vietnamese to the publish workflow. ( #1933 )
2024-03-26 10:47:13 -07:00
eff410cd1a
Update CODEOWNERS with Vietnamese ( #1932 )
...
Add @daivinhtran as Vietnamese codeowner.
2024-03-24 22:57:35 +01:00
6fc747aa05
Update labeler.yml with Vietnamese ( #1931 )
2024-03-22 16:55:06 +00:00
97ac0e7caf
set fallback fonts for PDF rendering ( #1728 )
...
Once a new version of Pandoc is released that includes
https://github.com/jgm/pandoc/pull/9204 and
https://github.com/jgm/pandoc/pull/9353 (both merged), this will fix the
emoji and symbol rendering issues in #1708 .
It doesn't seem to be possible to set fallback fonts with
`luatexja-fontspec` (used to configure CJK fonts), which results in some
missing symbols in the translations but at least renders the emoji
properly.
Closes #1708
2024-03-07 14:37:52 +01:00
c866c13b68
Retire @duyguisler as a Turkish reviewer ( #1880 )
...
Thanks for the work so far, feel free to come back if you have more
time!
2024-03-06 17:04:53 +00:00
0761f936ca
Add a dev theme to help with slide aspect ratio ( #1842 )
...
Added a dev theme to help with slide aspect ratio while updating content
or for reviewing PRs.
Fixes #1796 .
---------
Co-authored-by: Dustin J. Mitchell <djmitche@google.com >
Co-authored-by: Martin Geisler <martin@geisler.net >
2024-03-05 10:33:42 +00:00
c509dbd9e4
Always install and run mdbook-pandoc
( #1713 )
...
Before, we only installed and ran `mdbook-pandoc` when publishing the
course — which means that a PR change could accidentally break the
publish workflow. We now test that it works on every PR.
From a discussion in #1704 .
2024-03-04 16:25:58 +01:00
e74a8b77bd
URGENT: Fix course schedule watcher github action ( #1867 )
...
@djmitche Currently all PRs are marked as schedule change PRs.
This is my try to propose a fix for this, but please review diligently,
I'm no github actions expert, and I don't have an environment to test.
2024-03-04 09:39:30 -05:00
2bed943920
build(deps): bump crate-ci/typos from 1.18.2 to 1.19.0 ( #1872 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.18.2 to
1.19.0.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 10:54:38 +00:00
adff70d025
Update course-schedule PR comments in-place ( #1856 )
...
Instead of always adding a new comment, just update the existing comment
if one exists.
This fixes #1834 .
2024-02-29 10:51:37 -05:00
152354e9c9
Put a header on schedule comments ( #1814 )
...
This will add a little more context. See the current result in
https://github.com/google/comprehensive-rust/pull/1813 .
2024-02-20 09:19:14 -05:00
8080e2add6
Rendered PDF improvements ( #1805 )
...
Updates `mdbook-pandoc` to
[0.5.0](https://github.com/max-heller/mdbook-pandoc/releases/tag/v0.5.0 )
to use some new features:
- Table wrapping (closes #1709 )
The wrapping logic mirror's
[Pandoc's](https://pandoc.org/MANUAL.html#extension-pipe_tables ) (i.e.,
compare the relative widths of the `---` columns to determine column
widths) so tables in the source may need tweaking to get the proportions
right
- Replace broken links in PDF with corresponding links to
https://google.github.io/comprehensive-rust/
2024-02-20 11:04:30 +01:00
33b19848ef
Improved support for commenting when course timings change. ( #1797 )
...
This
* Works with the GitHub permissions model (at least in local testing on
another temporary repo)
* Only comments when the timings actually change
2024-02-12 11:03:24 +00:00
4f719ddc72
build(deps): bump crate-ci/typos from 1.18.0 to 1.18.2 ( #1811 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.18.0 to
1.18.2.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 10:11:15 +00:00
73a6ab6ded
build(deps): bump crate-ci/typos from 1.17.2 to 1.18.0 ( #1785 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.17.2 to
1.18.0.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 10:31:16 +00:00
55604ddbeb
Add myself to pt-BR reviewers ( #1770 )
2024-01-31 10:16:19 -08:00
87df46cf07
pt-BR: add myself to CODEOWNERS ( #1774 )
2024-01-31 16:46:36 +01:00
88dd268b01
Add @namhyung to Korean code reviewers. ( #1771 )
2024-01-30 17:22:36 -05:00
e990b395cd
Add myself (Ethan) to zh-CN reviewers ( #1734 )
2024-01-22 20:13:47 -08:00
d76ca698ba
Bump crate-ci/typos from 1.17.1 to 1.17.2 ( #1731 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.17.1 to
1.17.2.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 09:20:40 -05:00
01f5ecf1e6
Run dependabot on bare-metal examples and exercises too. ( #1712 )
...
These can't be in the main workspace due to needing custom cargo config
for linker scripts and targets.
2024-01-18 10:21:46 +00:00
4797401c83
Add myself to zh-CN reviewers ( #1714 )
2024-01-17 21:47:15 +00:00
e785962ca4
split typos and formatting checks into separate workflows ( #1710 )
...
Without this it's easy for failures of one of these checks to hide
failures of the other.
2024-01-17 13:57:42 +00:00
d731da4a5e
Move pandoc/
folder out of the way ( #1704 )
...
The config fragments there are only used in the GitHub actions, so we
can stash them way in the `.github/` folder.
2024-01-16 19:25:45 -05:00
9ed01cca77
Render book as PDF in publish.yml
workflow ( #1572 )
...
Renders the book as a PDF and includes it in the published HTML bundle
as `comprehensive-rust.pdf`.
Closes #1543
2024-01-15 23:02:05 +01:00
3dc774d8e7
Group Dependabot PRs by minor/patch level ( #1701 )
...
This should help us limit the number of PRs opened by Dependabot. The
intention is for the bot to mostly open two PRs per week:
- one for patch updates (the ‘z’ in ‘x.y.z’)
- one for minor updates (the ‘y’ in ‘x.y.z’)
The rare major version updates (the ‘x’ in ‘x.y.z’) are sent
individually.
The configuration options here are taken from
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
This might help with #1681 , but I don’t know yet how the new PR
description looks.
2024-01-15 13:53:14 +00:00
60c5a332ec
Partially revert #1576 ( #1700 )
...
The GitHub action added in #1576 fails because it cannot run with the
necessary permissions: it requires write access to be able to post a
comment, but when triggered from a fork, the token is limited to read
access.
The error is from the thollander/actions-comment-pull-request action:
No comment has been found with asked pattern. Creating a new comment.
Error: Resource not accessible by integration
The downgrading of the token is explained on:
https://docs.github.com/en/actions/security-guides/automatic-token-authentication
where “Maximum access for pull requests from public forked repositories”
says that the pull-requests permission is capped at read in the typical
case for us.
I kept the underlying functionality since we might want to use it for
something else (perhaps track the duration in the README).
Fixes the errors seen on the recent PRs: #1693 , #1687 , and likely
others.
2024-01-15 13:56:05 +01:00