zed/script
Joseph T. Lyons b28507d2e0
Link to pull requests in changelog notes (#15996)
This PR changes how we ask users to draft up PRs and how release note
generation happens.

We no longer force the user to create the markdown URL link, but we do
ask them to use the `closes` [GitHub magic
word](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
to link the PR to an issue, so that the issue is closed automatically
when closing the PR.

As for the changelog release notes, we are no longer linking to the
issues, but the PR itself, which should contain the issue if a reader
wants to dive further back. This makes our output more consistent, as
every line will have a link, even if there is no issue associated, and
it removes the need for us to try to parse the issue url in the body to
try to correct mistakes in how they were forming Markdown urls - the PR
url is always returned in the request, which makes it easy. **Lastly,
it's just a lot less annoying to make the release notes.**

The new PR format will be:

```
Closes #ISSUE

Release Notes:

- Added/Fixed/Improved ...
```

The new script output format will be:

```
PR Title: theme: Use a non-transparent color for the fallback `title_bar.inactive_background`
Credit: ([#15709](https://github.com/zed-industries/zed/pull/15709); thanks [maxdeviant](https://github.com/maxdeviant))
Release Notes:

- linux: Changed the fallback color of `title_bar.inactive_background` to a non-transparent value.
--------------------------------------------------------------------------------
PR Title: Skip over folded regions when iterating over multibuffer chunks
Credit: ([#15646](https://github.com/zed-industries/zed/pull/15646); thanks [osiewicz](https://github.com/osiewicz))
Release Notes:

- Fixed poor performance when editing in the assistant panel after inserting large files using slash commands
--------------------------------------------------------------------------------
```

This still requires us to manually apply the credit line, but the line
is already fully formed, so this should still be faster than having to
manually create that line / fix any line where someone messed it up
(which was all the time). I would just automatically apply it to the
release notes, but sometimes we have multiple bullet points in a single
PR and no real structure is enforced, so I foresee doing anything
automatic breaking and needing manual adjustment.

Release Notes:

- N/A
2024-08-08 15:26:17 -04:00
..
danger Link to pull requests in changelog notes (#15996) 2024-08-08 15:26:17 -04:00
eula Update EULA (#12858) 2024-06-10 16:09:18 -04:00
flatpak Flatpak fixes (#14083) 2024-07-10 12:51:08 -06:00
lib Add GitHub Action for publishing the extension CLI (#9542) 2024-03-19 14:19:32 -04:00
licenses Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
update_top_ranking_issues Update Python to v3.12.5 (#15944) 2024-08-08 11:23:23 -04:00
analyze_highlights.py Minor script fix (#10857) 2024-04-22 13:05:41 -04:00
bootstrap script/bootstrap: Fix sqlx command by using newer version (#15980) 2024-08-08 16:10:18 +02:00
bump-extension-cli Add a script for bumping the extension CLI (#9646) 2024-03-21 12:05:31 -04:00
bump-nightly ./script/trigger-release (#10589) 2024-04-16 19:32:51 -06:00
bump-zed-minor-versions
bump-zed-patch-version
bundle-linux Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
bundle-mac Fix description of -l flag in bundle-mac (#14864) 2024-07-20 19:16:54 +03:00
check-licenses Stop using xtask for clippy (#13223) 2024-06-18 13:49:44 -06:00
clear-target-dir-if-larger-than
clippy Stop using xtask for clippy (#13223) 2024-06-18 13:49:44 -06:00
collab-flamegraph Only 5s of data! (#8983) 2024-03-06 21:35:46 -07:00
crate-dep-graph
create-migration remoting (#9680) 2024-03-22 08:44:56 -06:00
deploy-collab
deploy-postgrest
draft-release-notes release notes vN (#11077) 2024-04-26 17:18:17 -06:00
drop-test-dbs
generate-eula-rtf
generate-licenses Remove extra cargo install cargo-about (#13077) 2024-06-14 18:02:20 -04:00
get-changes-since
get-crate-version
get-preview-channel-changes Link to pull requests in changelog notes (#15996) 2024-08-08 15:26:17 -04:00
get-released-version ./script/trigger-release (#10589) 2024-04-16 19:32:51 -06:00
histogram
import-themes
install-linux linux scripts: Respect $CARGO_TARGET_DIR (#13830) 2024-07-05 14:19:05 +03:00
install.sh Display hint to add PATH for Fish shell too (#14504) 2024-07-15 11:11:09 -06:00
kube-shell
linux Add jq as a dependency for Linux script for Arch Linux (#13569) 2024-06-27 09:58:53 -06:00
metal-debug
randomized-test-ci
randomized-test-minimize
reset_db collab: Setup database for LLM service (#15882) 2024-08-06 17:18:08 -04:00
run-local-minio
seed-db Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
squawk Suppress typos in basic.conf (#10099) 2024-04-02 21:02:25 -04:00
storybook
symbolicate
trigger-release ./script/trigger-release (#10589) 2024-04-16 19:32:51 -06:00
upload-extension-cli Add GitHub Action for publishing the extension CLI (#9542) 2024-03-19 14:19:32 -04:00
upload-nightly Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
what-is-deployed
zed-local Allow canceling in-progress language server work (e.g. cargo check) (#13173) 2024-06-17 17:58:47 -07:00