Skip to content

Commit d05ca30

Browse files
Merge branch 'main' into typst-template
2 parents 932cffa + b5e9ae3 commit d05ca30

File tree

387 files changed

+13392
-3673
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

387 files changed

+13392
-3673
lines changed

.circleci/config.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: [jgm,tarleb]
1+
github: [jgm,tarleb,silby]

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,29 @@ assignees: ''
77

88
---
99
<!--
10-
Thank you for reporting an issue! Before you continue, please make sure that you have
10+
Thank you for reporting an issue!
11+
Before you continue, please make sure that you have
1112
12-
- searched the [issue tracker](https://github.com/jgm/pandoc/issues) for similar issues (including closed issues).
13-
- searched the [discussion forum](https://github.com/jgm/pandoc/discussions) for
14-
solutions.
15-
- reproduced your issue on the [latest release of pandoc](https://github.com/jgm/pandoc/releases), or online at [try pandoc](https://pandoc.org/try).
13+
- reproduced your issue with the latest release of pandoc
14+
(https://github.com/jgm/pandoc/releases), or online (https://pandoc.org/try).
15+
- searched the issue tracker (https://github.com/jgm/pandoc/issues)
16+
for similar issues (including closed issues).
17+
- searched the discussion forum
18+
(https://github.com/jgm/pandoc/discussions) for solutions.
19+
20+
If you are experiencing a regression (an unwanted change of
21+
behavior from an earlier version of pandoc), please indicate
22+
this and give relevant version numbers. Be sure to check the
23+
release notes (https://pandoc.org/releases) for relevant
24+
changes, as you might find a solution there.
1625
1726
Note that this bug tracker is for reporting bugs, not asking
18-
questions. For questions, use the [discussion
19-
forum](https://github.com/jgm/pandoc/discussions).
27+
questions. For questions, use the discussion forum:
28+
https://github.com/jgm/pandoc/discussions.
2029
-->
2130

2231
**Explain the problem.**
2332
Include the **exact command line** you used and **all inputs necessary to reproduce the issue**. Please create as minimal an example as possible, to help the maintainers isolate the problem. Explain the output you received and how it differs from what you expected.
2433

2534
**Pandoc version?**
26-
What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue.)
35+
What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue. Note that many linux distributions have old versions of pandoc in their repositories.)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
44
url: https://github.com/jgm/pandoc/discussions
5-
# https://groups.google.com/forum/#!forum/pandoc-discuss
65
about: "Discussion forum for pandoc"
76
- name: Contributing Guidelines
87
url: https://pandoc.org/CONTRIBUTING.html

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Thank you for suggesting a feature! Before you continue, please make sure that y
1212
1313
- read the contributing guidelines: https://pandoc.org/CONTRIBUTING.html
1414
- searched the issue tracker for similar issues (including closed issues): https://github.com/jgm/pandoc/issues
15-
- searched the pandoc-discuss mailing list for relevant discussions: https://groups.google.com/forum/#!forum/pandoc-discuss
15+
- searched the discussion list for relevant discussions: https://github.com/jgm/pandoc/discussions
1616
-->
1717

1818
**Describe your proposed improvement and the problem it solves.**

.github/workflows/ci.yml

Lines changed: 45 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,35 @@ jobs:
5151
- ghc: '8.10'
5252
cabal: 'latest'
5353
cabalopts: ''
54+
ghcopts: '-Werror'
5455
- ghc: '9.0'
5556
cabal: 'latest'
5657
cabalopts: ''
58+
ghcopts: '-Werror'
5759
- ghc: '9.2'
5860
cabal: 'latest'
5961
cabalopts: ''
62+
ghcopts: '-Werror'
6063
- ghc: '9.4'
6164
cabal: 'latest'
6265
cabalopts: ''
66+
ghcopts: '-Werror'
6367
- ghc: '9.6'
6468
cabal: 'latest'
6569
cabalopts: ''
70+
ghcopts: '-Werror'
71+
- ghc: '9.8'
72+
cabal: 'latest'
73+
cabalopts: ''
74+
ghcopts: '-Werror'
75+
- ghc: '9.10'
76+
cabal: 'latest'
77+
cabalopts: ''
78+
ghcopts: ''
79+
- ghc: '9.12'
80+
cabal: 'latest'
81+
cabalopts: '--allow-newer'
82+
ghcopts: ''
6683
steps:
6784
- uses: actions/checkout@v4
6885

@@ -103,7 +120,7 @@ jobs:
103120
104121
- name: Build and test
105122
run: |
106-
cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options=-Werror all
123+
cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
107124
108125
linux-stack:
109126

@@ -138,32 +155,32 @@ jobs:
138155
run: |
139156
stack test --fast
140157
141-
linux-nix-cabal:
158+
# linux-nix-cabal:
142159

143-
runs-on: ubuntu-latest
144-
strategy:
145-
fail-fast: true
146-
steps:
147-
- uses: actions/checkout@v4
148-
- uses: cachix/install-nix-action@V27
149-
with:
150-
nix_path: nixpkgs=channel:nixos-unstable
151-
- name: Cache cabal global package db
152-
id: cabal-global
153-
uses: actions/cache@v4
154-
with:
155-
path: |
156-
~/.local/state/cabal
157-
key: ${{ runner.os }}-nix-cabal-global-${{ secrets.CACHE_VERSION }}
158-
- name: Cache cabal work
159-
id: cabal-local
160-
uses: actions/cache@v4
161-
with:
162-
path: |
163-
dist-newstyle
164-
key: ${{ runner.os }}-nix-cabal-local-${{ secrets.CACHE_VERSION }}
165-
- run: |
166-
nix-shell --run "cabal update && cabal test --enable-tests --disable-optimization --ghc-options=-Werror all"
160+
# runs-on: ubuntu-latest
161+
# strategy:
162+
# fail-fast: true
163+
# steps:
164+
# - uses: actions/checkout@v4
165+
# - uses: cachix/install-nix-action@v30
166+
# with:
167+
# nix_path: nixpkgs=channel:nixos-24.05
168+
# - name: Cache cabal global package db
169+
# id: cabal-global
170+
# uses: actions/cache@v4
171+
# with:
172+
# path: |
173+
# ~/.local/state/cabal
174+
# key: ${{ runner.os }}-nix-cabal-global-${{ secrets.CACHE_VERSION }}
175+
# - name: Cache cabal work
176+
# id: cabal-local
177+
# uses: actions/cache@v4
178+
# with:
179+
# path: |
180+
# dist-newstyle
181+
# key: ${{ runner.os }}-nix-cabal-local-${{ secrets.CACHE_VERSION }}
182+
# - run: |
183+
# nix-shell --run "cabal update && cabal test --enable-tests --disable-optimization --ghc-options=-Werror all"
167184

168185
windows:
169186

@@ -175,6 +192,7 @@ jobs:
175192
- name: Install ghc
176193
run: |
177194
ghcup install ghc --set 9.4.4
195+
ghcup install cabal --set 3.10
178196
179197
# declare/restore cached things
180198

@@ -194,7 +212,7 @@ jobs:
194212
dist-newstyle
195213
key: ${{ runner.os }}-stack-work-${{ hashFiles('cabal.project') }}-${{ secrets.CACHE_VERSION }}
196214

197-
- name: Install dependencies
215+
- name: Build and test
198216
run: |
199217
cabal update
200218
cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options=-Werror all

.github/workflows/nightly.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717

1818
- name: Install ghc
1919
run: |
20-
ghcup install ghc --set 9.4.4
20+
ghcup install ghc --set 9.8
21+
ghcup install cabal --set 3.14
2122
2223
- name: Install dependencies
2324
run: |
@@ -46,7 +47,8 @@ jobs:
4647
- uses: actions/checkout@v4
4748
- name: Install ghc
4849
run: |
49-
ghcup install ghc --set 9.4.4
50+
ghcup install ghc --set 9.8
51+
ghcup install cabal --set 3.14
5052
- name: Install dependencies
5153
run: |
5254
cabal update
@@ -69,13 +71,18 @@ jobs:
6971

7072
macos:
7173

72-
runs-on: macos-12
74+
runs-on: macos-13
7375

7476
steps:
7577
- uses: actions/checkout@v4
78+
- name: Install ghcup
79+
run: |
80+
brew install ghcup
7681
- name: Install ghc
7782
run: |
78-
ghcup install ghc --set 9.4.4
83+
ghcup install ghc --set 9.8
84+
ghcup install cabal --set 3.14
85+
echo "$HOME/.ghcup/bin" >> "${GITHUB_PATH}"
7986
- name: Install dependencies
8087
run: |
8188
cabal update

.github/workflows/release-candidate.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,20 @@ jobs:
7777

7878
macos:
7979

80-
runs-on: macos-12
80+
runs-on: macos-13
8181

8282
steps:
8383
- uses: actions/checkout@v4
8484

85+
- name: Install ghcup
86+
run: |
87+
brew install ghcup
88+
8589
- name: Install ghc and cabal
8690
run: |
8791
ghcup install ghc --set 9.6
8892
ghcup install cabal --set 3.10
93+
echo "$HOME/.ghcup/bin" >> "${GITHUB_PATH}"
8994
9095
- name: Create release
9196
run: |

0 commit comments

Comments
 (0)