Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort defines alphabetically #878

Merged
merged 1 commit into from Nov 21, 2022
Merged

Conversation

threema-danilo
Copy link
Contributor

When modifying the defines, this makes it less likely to accidentally add a define twice.

This also includes a fix for the documentation patching, which previously ignored the HAVE_* variables and duplicated them on every call to download.sh.

(The context for this change is that I have a set of patches that needs to be kept up to date for new releases of better-sqlite3. Sorted defines result in a smaller diff and easier maintenance.)

When modifying the defines, this makes it less likely to accidentally
add a define twice.

This also includes a fix for the documentation patching, which
previously ignored the HAVE_* variables and duplicated them on every
call to `download.sh`.
Copy link
Member

@mceachen mceachen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Verified that all the defines are retained (vscode's sort flipped the order of 'SQLITE_ENABLE_FTS3_PARENTHESIS' and 'SQLITE_ENABLE_FTS3' fwiw)

@JoshuaWise JoshuaWise merged commit 1b32770 into WiseLibs:master Nov 21, 2022
@threema-danilo threema-danilo deleted the sort-defines branch November 22, 2022 08:05
B4nan pushed a commit to mikro-orm/mikro-orm that referenced this pull request Nov 28, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [better-sqlite3](https://togithub.com/WiseLibs/better-sqlite3) |
[`^7.0.0` ->
`^8.0.0`](https://renovatebot.com/diffs/npm/better-sqlite3/7.6.2/8.0.0)
|
[![age](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/compatibility-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/confidence-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|
| [better-sqlite3](https://togithub.com/WiseLibs/better-sqlite3) |
[`7.6.2` ->
`8.0.0`](https://renovatebot.com/diffs/npm/better-sqlite3/7.6.2/8.0.0) |
[![age](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/compatibility-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/confidence-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>WiseLibs/better-sqlite3</summary>

###
[`v8.0.0`](https://togithub.com/WiseLibs/better-sqlite3/releases/tag/v8.0.0)

[Compare
Source](https://togithub.com/WiseLibs/better-sqlite3/compare/v7.6.2...v8.0.0)

#### Breaking Changes

-   Dropped support for Node.js versions `10.x` and `12.x`.

#### Non-breaking Changes

-   Upgraded to SQLite version `3.40.0`.
- Fixed LIMIT and OFFSET queries on virtual tables, by
[@&#8203;mandel59](https://togithub.com/mandel59) in
[WiseLibs/better-sqlite3#873
-   Fixed various compilation issues:
- By [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in
[WiseLibs/better-sqlite3#894
- By [@&#8203;neoxpert](https://togithub.com/neoxpert) in
[WiseLibs/better-sqlite3#870

#### New Contributors

- [@&#8203;mandel59](https://togithub.com/mandel59) made their first
contribution in
[WiseLibs/better-sqlite3#873
- [@&#8203;nathanhammond](https://togithub.com/nathanhammond) made their
first contribution in
[WiseLibs/better-sqlite3#894
- [@&#8203;neoxpert](https://togithub.com/neoxpert) made their first
contribution in
[WiseLibs/better-sqlite3#870
- [@&#8203;threema-danilo](https://togithub.com/threema-danilo) made
their first contribution in
[WiseLibs/better-sqlite3#878

**Full Changelog**:
WiseLibs/better-sqlite3@v7.6.2...v8.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekday" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/mikro-orm/mikro-orm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yOS4yIiwidXBkYXRlZEluVmVyIjoiMzQuMzcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants