Skip to content

Commit

Permalink
Merge branch 'develop' into WIP/ssc-mappings
Browse files Browse the repository at this point in the history
# Conflicts:
#	base/ltfssaxes.dtx
  • Loading branch information
FrankMittelbach committed Dec 10, 2024
2 parents d3e2650 + a2cb14c commit 24743e3
Show file tree
Hide file tree
Showing 2,510 changed files with 656,963 additions and 108,507 deletions.
9 changes: 7 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
* text=auto !eol
texmf/* linguist-vendored
support/* linguist-vendored
*.def linguist-language=tex
*.fdd linguist-language=tex
*.ini linguist-language=tex
*.lvt linguist-language=tex
*.pvt linguist-language=tex
texmf/** linguist-vendored
support/** linguist-vendored
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
3 changes: 1 addition & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
**READ ME FIRST**: Please understand that in most cases we will not be able to merge a pull request because there are a lot of internal activities needed when updating the LaTeX2e sources. If you have a code suggestion please discuss it with the team first.

*Pull requests in this repository are intended for LaTeX Team members only.*

# Internal housekeeping

## Status of pull request
Expand All @@ -17,4 +15,5 @@
- [ ] Version and date string updated in changed source files
- [ ] Relevant `\changes` entries in source included
- [ ] Relevant `changes.txt` updated
- [ ] Rollback provided (if necessary)?
- [ ] `ltnewsX.tex` (and/or `latexchanges.tex`) updated
17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

34 changes: 32 additions & 2 deletions .github/tl_packages
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,48 @@ fancyhdr
# special testing for firstaid
bidi
bigfoot
crop
ncctools
dinbrief
everyshi
filehook
pgf
pgfmorepages
ulem
unicode-math
lualatex-math
varwidth
songs
cleveref
blindtext
tugboat
arydshln
#
# special testing for latex-lab
pdfmanagement-testphase
abraces
accents
braket
breqn
cases
extarrows
interval
l3experimental
mathdots
mathtools
mattens
pdfcol
pdfmanagement-testphase
tagpdf
# we proably want to test new code against KOMA once in a while
tikz-cd
kantlipsum
natbib
colorprofiles

# we probably want to test new code against KOMA and memoir once in a while
# xpatch is needed by memoir is of 2023-08
koma-script
memoir
xpatch
#
# Additional support for typesetting
alphalph
Expand All @@ -67,17 +94,20 @@ geometry
graphics-def
helvetic
hologo
hypdoc
imakeidx
ly1
makeindex
mflogo
palatino
pdfcolfoot
pl
psnfss
sauter
setspace
times
titlesec
todonotes
underscore
uniquecounter
vntex
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/cache.yaml

This file was deleted.

72 changes: 25 additions & 47 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Create release

# We create releases for all new tags
# We create releases for all new tags that don't contain '/' in their names
on:
push:
tags:
Expand All @@ -10,76 +10,54 @@ jobs:
# The l3build job contains the actual work. This is mostly the same as in main.yaml
# and should stay synchronized. Sadly it doesn't seem possible to reuse the instructions at the moment.
release:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: Build release
environment: Release
steps:
# Boilerplate
- name: Checkout repository
uses: actions/checkout@v2
# GitHub Actions don't regenerate the test if the key doesn't change, so
# we integrate a random UUID into the key to keep them different.
# DO NOT CHANGE THIS
- name: Generate unique ID
id: get-id
run: |
echo -n ::set-output name=id::
cat /proc/sys/kernel/random/uuid
# Actually load the cache. Since we never reuse the key, we need restore-keys
# to indicate the prefix of our caches. This loads the newest cache with this
# prefix in the key.
#
# If we want to force regeneration of the cache, increase the number after
# *both* instances of "texlive-v"
- name: Load cache
uses: actions/cache@v2
with:
path: ~/texlive
key: texlive-v0-${{ steps.get-id.outputs.id }}
restore-keys: texlive-v0-
uses: actions/checkout@v4
# We need Ghostscript for dvips and XeTeX tests.
- run: sudo apt-get update && sudo apt-get install ghostscript
- name: Install Ghostscript
run: sudo apt-get update && sudo apt-get install ghostscript
- name: Install TeX Live
uses: zauguin/install-texlive@v1
uses: zauguin/install-texlive@v3
with:
repository: https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final
# List the required TeX Live packages in a separate file to allow reuse in
# different workflows.
package_file: .github/tl_packages
# For tags starting with dev- or release- we do full builds of all components
- name: Run l3build
if: ${{ startsWith(github.ref_name, 'dev-') || startsWith(github.ref_name, 'release-') }}
run: l3build ctan -q -H --show-log-on-error
# Otherwise we assume that the part before the first -2 is the name of the `required` package we want to
# build. Therefore we switch to the right directors first. Afterwards we have to move the generated artifacts
# back to the main directory so that they are found in the next step.
- name: Run l3build
if: ${{ !(startsWith(github.ref_name, 'dev-') || startsWith(github.ref_name, 'release-')) }}
env:
tagname: ${{github.ref_name}}
run: cd "required/${tagname%%-2*}" && l3build ctan -q -H --show-log-on-error && mv *.zip ../../
- name: Archive failed test output
if: ${{ failure() }}
uses: actions/upload-artifact@v2
if: ${{ always() }}
uses: zauguin/l3build-failure-artifacts@v1
with:
name: testfiles
path: build/test*/*.diff
# Decide how long to keep the test output artifact:
retention-days: 3
# Now create the release (this only runs if the previous steps were successful)
- name: Create GitHub release
uses: ncipollo/release-action@880be3d0a71bc0fa98db60201d2cbdc27324f547
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
id: release
with:
artifacts: "*.zip"
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: ${{ startsWith(github.ref, 'refs/tags/dev-') }}
# Determine the name of the tag we are working on. Sadly GH Actions only provides
# github.ref which has the name prefixed with github.ref and no way to remove a prefix
# in normal expressions, so we need an action for that.
- name: Get name
uses: frabert/replace-string-action@9b62dfe3ae936b1cc380f2421c8ac9e63a4a3e85
id: name
if: ${{ always() }}
with:
pattern: "^refs/(?:heads|tags)/"
string: ${{ github.ref }}
replace-with: ""
# While the normal notification job only informs about failed runs, we additionally want to notify about successful releases.
- name: Send mail
# The explicit commit hash ensures that this can't be used by dawidd6 as a
# backdoor to execute arbitrary code during our runs.
uses: dawidd6/action-send-mail@ceb614a2c5737d913f2d2729e2bcc70ad933382b
uses: dawidd6/action-send-mail@611879133a9569642c41be66f4a323286e9b8a3b
with:
# Currently using my (Marcel's) mail server for sending mails.
server_address: typesetting.eu
Expand All @@ -95,14 +73,14 @@ jobs:
# to send from the mail address.
from: LaTeX CI <[email protected]>
# Determine the subject and body of the mail.
subject: "Version ${{steps.name.outputs.replaced}} of ${{github.repository}} has been released"
subject: "Version ${{github.ref_name}} of ${{github.repository}} has been released"
body: |
The release ${{steps.name.outputs.replaced}} has been created for ${{github.repository}}.
The release ${{github.ref_name}} has been created for ${{github.repository}}.
More information can be found at
${{steps.release.outputs.html_url}}
- name: Send failure notification
uses: dawidd6/action-send-mail@ceb614a2c5737d913f2d2729e2bcc70ad933382b
uses: dawidd6/action-send-mail@611879133a9569642c41be66f4a323286e9b8a3b
if: ${{ failure() }}
with:
server_address: typesetting.eu
Expand All @@ -113,12 +91,12 @@ jobs:
from: LaTeX CI <[email protected]>
priority: high
# Determine the subject and body of the mail.
subject: "Test failure while trying to build release ${{steps.name.outputs.replaced}} in ${{github.repository}}"
subject: "Test failure while trying to build release ${{github.ref_name}} in ${{github.repository}}"
body: |
Test failure for ${{github.repository}}
-------------------------------------------------------------
On tag: ${{steps.name.outputs.replaced}} (${{github.sha}})
On tag: ${{github.ref_name}} (${{github.sha}})
Initiated by: ${{github.actor}}
Commit URL: https://github.com/${{github.repository}}/commit/${{github.sha}}
More information: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Loading

0 comments on commit 24743e3

Please sign in to comment.