Skip to content

Commit

Permalink
feat: Add a non-chords first songbook leadsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanlucut committed Dec 23, 2024
1 parent 048b7b3 commit de48b7f
Show file tree
Hide file tree
Showing 118 changed files with 2,009 additions and 3,139 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ insert_final_newline = true

[{*.js,*.ts(x)}]
insert_final_newline = true

[*.tex]
insert_final_newline = false
27 changes: 4 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ on: [ pull_request ]

jobs:
ChangedCodePathsFilter:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
rcOutput: ${{ steps.filter.outputs.rcImportsHaveChanged }}
texOutput: ${{ steps.filter.outputs.texFilesHaveChanged }}
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand All @@ -22,11 +21,10 @@ jobs:
- 'temp-runners/rc_authors_to_process.txt'
- 'temp-runners/rc_ids_to_ignore.txt'
- 'temp-runners/rc_ids_to_process.txt'
texFilesHaveChanged: 'LaTeX/**/*.tex'
Build:
needs: ChangedCodePathsFilter
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand All @@ -49,7 +47,7 @@ jobs:

ImportFromRCBasedOnAuthorsOrIds:
needs: [ ChangedCodePathsFilter, Build ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: needs.ChangedCodePathsFilter.outputs.rcOutput == 'true'
steps:
- name: Clone repository
Expand Down Expand Up @@ -90,7 +88,7 @@ jobs:

AutoUpdateMeta:
needs: [ Build ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -119,20 +117,3 @@ jobs:
env:
CI: true
FORCE_COLOR: 2

CompileLaTeX:
needs: [ ChangedCodePathsFilter, Build ]
runs-on: ubuntu-latest
if: needs.ChangedCodePathsFilter.outputs.texOutput == 'true'
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Compile BES Conduct LaTeX doc
uses: xu-cheng/latex-action@v3
with:
root_file: BES_Conduct_Afisaj.tex
working_directory: LaTeX/conduct/
latexmk_shell_escape: true
2 changes: 1 addition & 1 deletion .github/workflows/deploy_to_gdrive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
DeployToGDrive:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout bes-lyrics repo
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/latex_conduct_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
LaTeXConductRelease:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand All @@ -34,6 +34,6 @@ jobs:
files: 'LaTeX/conduct/BES_Conduct_Afisaj.pdf'
tag_name: ${{ steps.tag.outputs.release_tag }}
fail_on_unmatched_files: true
draft: true
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62 changes: 62 additions & 0 deletions .github/workflows/latex_songbook_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: 'LaTeX Songbook (no chords))'

on:
push:
branches:
- leadsheets-without-chords
# paths:
# - 'verified/trupe_lauda_si_inchinare/**'
workflow_dispatch:

jobs:
LaTeXSongbookRelease:
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Install Fonts
run: |
sudo apt-get update
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get install --reinstall ttf-mscorefonts-installer
sudo fc-cache -fv # Refresh the font cache
- name: Verify Font Installation
run: |
fc-list | grep -i "georgia"
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Run Build songbook TEX
run: |
npm i && npm run songbook:convert
env:
CI: true

- name: Compile BES Songbook LaTeX doc
uses: xu-cheng/latex-action@v3
with:
root_file: bes-songbook.tex
working_directory: LaTeX/songbook/
latexmk_shell_escape: true
latexmk_use_xelatex: true

- name: Generate Release Tag
id: tag
run: echo "{name}={release_tag::BES_Songbook_$(date +"%Y.%m.%d_%H-%M")}" >> $GITHUB_OUTPUT

- name: Release
uses: softprops/action-gh-release@v1
with:
files: 'LaTeX/songbook/bes-songbook.pdf'
tag_name: ${{ steps.tag.outputs.release_tag }}
fail_on_unmatched_files: true
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 9 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/.idea/aws.xml
/.idea/cssdialects.xml
/.idea/nx-console.xml
/.idea/git_toolbox_blame.xml
/.idea/git_toolbox_prj.xml
/.idea/webResources.xml
node_modules/
**/*.aux
**/*.fdb_latexmk
Expand All @@ -9,8 +15,6 @@ node_modules/
**/*.out
**/*.thm
**/*.xdv
**/*.bes-songbook.tex
target-tex-common-songbook
/.idea/aws.xml
/.idea/cssdialects.xml
/.idea/nx-console.xml
bes-songbook.tex
bes-songbook.pdf
target-tex
4 changes: 1 addition & 3 deletions .idea/bes-lyrics.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/git_toolbox_blame.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/git_toolbox_prj.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 22 additions & 2 deletions .idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/webResources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .run/Run_ [Temp] add songs from rc by authors.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run: [Temp] add songs from rc by authors" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="temp-runners/importSongsFromRcByAuthors.ts" working-dir="$PROJECT_DIR$">
<configuration default="false" name="Run: [Temp] add songs from rc by authors" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="import-songs-temp-runners/importSongsFromRcByAuthors.ts" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/Run_ [Temp] cherry pick songs we have in church.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run: [Temp] cherry pick songs we have in church" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="temp-runners/moveExistingWorshipSongsToDir.ts" working-dir="$PROJECT_DIR$">
<configuration default="false" name="Run: [Temp] cherry pick songs we have in church" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="import-songs-temp-runners/moveExistingWorshipSongsToDir.ts" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
</component>
</component>
Binary file added LaTeX/conduct/BES_Conduct_Afisaj.pdf
Binary file not shown.
Loading

0 comments on commit de48b7f

Please sign in to comment.