You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/admin/author_updates.md
+2-11Lines changed: 2 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,21 +8,12 @@ Triagebot can ping project-goal owners for updates. To use it, go to Zulip and e
8
8
@triagebot ping-goals 14 Oct-21
9
9
```
10
10
11
-
The first number (14) is a threshold, it is typically set to the current day of the month (e.g., the above command assumes it is Oct 14). It means "if they have posted a comment in the last 14 days, don't bug them".
11
+
The first number (14) is a threshold, it is typically set to the current day of the month (e.g., the above command assumes it is Oct 14). It means "if they have posted a comment in the last 14 days, don't bug them".
12
12
13
13
The second string ("Oct-21") is the deadline for updates to be included.
14
14
15
15
We need to improve this UI.
16
16
17
17
## Filling out the template
18
18
19
-
Run the `cargo rpg updates` command to create the blog post template. If running from within vscode, the `--vscode` command will open the result in a fresh tab, which is convenient. Otherwise, use `--output-file $file.md` to create a new file.
20
-
21
-
The template will be filled in with the list of flagship goals. Each flagship goal will have their [Why this goal?](./merge_rfc.md#author-the-why-this-goal-sections-for-the-flagship-goals) section auto-inserted from the corresponding tracking issue.
22
-
23
-
The template will also include the detailed list of updates in a `<details>` section as well as any TL;DR comments left by users.
24
-
25
-
The update template itself is maintained with handlebars, you will find it [here](https://github.com/rust-lang/rust-project-goals/blob/main/templates/updates.hbs).
26
-
27
-
28
-
19
+
After the updates have been published, they can be summarized in a monthly blog post, as described in [this dedicated chapter](./updates.md).
Copy file name to clipboardExpand all lines: src/admin/updates.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,19 @@ Usage:
6
6
> cargo rpg updates --help
7
7
```
8
8
9
-
The `updates` command generates the starting point for a monthly blog post. The output is based on the handlebars templates found in the `templates` directory. The command you probably want most often is something like this
9
+
Run the `cargo rpg updates` command to create the blog post template. If running from within vscode, the `--vscode` command will open the result in a fresh tab, which is convenient. Otherwise, use `--output-file $file.md` to create a new file.
10
10
11
-
```
12
-
> cargo rpg updates YYYYhN --vscode
13
-
```
11
+
The template will be filled in with the list of flagship goals. Each flagship goal will have their [Why this goal?](./merge_rfc.md#author-the-why-this-goal-sections-for-the-flagship-goals) section auto-inserted from the corresponding tracking issue.
12
+
13
+
The template will also include the detailed list of updates in a `<details>` section as well as any TL;DR comments left by users.
14
14
15
-
which will open the blogpost in a tab in VSCode. This makes it easy to copy-and-paste over to the main Rust blog.
15
+
The update template itself is maintained with handlebars, you will find it [here](https://github.com/rust-lang/rust-project-goals/blob/main/templates/updates.hbs).
16
16
17
-
## Blog post starting point
18
17
19
-
The blog post starting point is based on the handlebars template in `templates/updates.hbs`.
18
+
This command can also take optional dates to control which comments and updates in the given date range are included in the blog post. This is usually needed to correctly set the starting date right after the previous month's blog post.
20
19
21
-
## Configuring the LLM
20
+
For example,
22
21
23
-
The `updates` command makes use of an LLM hosted on AWS Bedrock to summarize people's comments. You will need to run `aws configure` and login with some default credentials. You can skip the LLM by providing the `--quick` command-line option, but then you have to generate your own text, which can be pretty tedious.
0 commit comments