From 9fc0d04f5bd50430dd822386a2a1a1e6cb0b5d64 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 1 Mar 2025 18:41:07 +0100 Subject: [PATCH 01/26] update-book2: fix indentation We indent with spaces here, not using tabs. Signed-off-by: Johannes Schindelin --- script/update-book2.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/update-book2.rb b/script/update-book2.rb index 7fdea6b5d6..1d8a17c33c 100644 --- a/script/update-book2.rb +++ b/script/update-book2.rb @@ -138,7 +138,7 @@ def genbook(language_code, &get_content) xlink = html.scan(/href="1-.*?\.html\#(.*?)"/) xlink&.each do |link| xref = link.first - book.xrefs[xref] = 'redirect-to-en' if !book.xrefs[xref] + book.xrefs[xref] = 'redirect-to-en' if !book.xrefs[xref] begin html.gsub!(/href="1-.*?\.html\##{xref}"/, "href=\"{{< relurl \"#{book_prefix}ch00/#{xref}\" >}}\"") rescue StandardError @@ -155,7 +155,7 @@ def genbook(language_code, &get_content) footnotes.add(xref) next end - book.xrefs[xref] = 'redirect-to-en' if !book.xrefs[xref] + book.xrefs[xref] = 'redirect-to-en' if !book.xrefs[xref] begin html.gsub!(/href="\##{xref}"/, "href=\"{{< relurl \"#{book_prefix}ch00/#{xref}\" >}}\"") rescue StandardError @@ -222,7 +222,7 @@ def genbook(language_code, &get_content) # record all the xrefs sec.search(".//*[@id]").each do |id| id_xref = id.attribute("id").to_s - book.xrefs[id_xref] = csection if !id_xref.start_with?('_footnoteref_') + book.xrefs[id_xref] = csection if !id_xref.start_with?('_footnoteref_') end section += 1 @@ -305,7 +305,7 @@ def local_genbook2(language_code, worktree_path) if latest_tag.empty? puts "No tag found in #{worktree_path}, trying to fetch tags" latest_tag = `git -C "#{worktree_path}" fetch --tags origin && git -C "#{worktree_path}" for-each-ref --format '%(refname:short)' --sort=-committerdate --count=1 refs/tags/`.chomp - raise "Still no tags in #{worktree_path}?" if latest_tag.empty? + raise "Still no tags in #{worktree_path}?" if latest_tag.empty? end book.ebook_pdf = "https://github.com/progit/progit2/releases/download/#{latest_tag}/progit.pdf" book.ebook_epub = "https://github.com/progit/progit2/releases/download/#{latest_tag}/progit.epub" From df197048e782d596b703fc26bb3230858f3528c9 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 1 Mar 2025 19:18:36 +0100 Subject: [PATCH 02/26] update-book2: refactor the code to look for downloads Some books have downloadable PDF/ebook versions. In the `remote_genbook2` function, this information is discovered dynamically by looking at the corresponding repository's latest release. This functionality is useful even in the GitHub workflow that keeps https://git-scm.com/book/ up to date, so let's refactor it into a reusable function. Signed-off-by: Johannes Schindelin --- script/update-book2.rb | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/script/update-book2.rb b/script/update-book2.rb index 1d8a17c33c..3d0ff354e7 100644 --- a/script/update-book2.rb +++ b/script/update-book2.rb @@ -239,6 +239,24 @@ def genbook(language_code, &get_content) book end +# Update just the download data, based on the latest tag in the repository +def update_downloads(book, repo, octokit) + begin + rel = octokit.latest_release(repo) + get_url = lambda do |name_re| + asset = rel.assets.find { |asset| name_re.match(asset.name) } + asset&.browser_download_url + end + book.ebook_pdf = get_url.call(/\.pdf$/) + book.ebook_epub = get_url.call(/\.epub$/) + book.ebook_mobi = get_url.call(/\.mobi$/) + rescue Octokit::NotFound + book.ebook_pdf = nil + book.ebook_epub = nil + book.ebook_mobi = nil + end +end + # Generate book html directly from remote git repo def remote_genbook2(language_code) @octokit = Octokit::Client.new(access_token: ENV.fetch("GITHUB_API_TOKEN", nil)) @@ -269,20 +287,7 @@ def remote_genbook2(language_code) book.sha = repo_head.sha - begin - rel = @octokit.latest_release(repo) - get_url = lambda do |name_re| - asset = rel.assets.find { |asset| name_re.match(asset.name) } - asset&.browser_download_url - end - book.ebook_pdf = get_url.call(/\.pdf$/) - book.ebook_epub = get_url.call(/\.epub$/) - book.ebook_mobi = get_url.call(/\.mobi$/) - rescue Octokit::NotFound - book.ebook_pdf = nil - book.ebook_epub = nil - book.ebook_mobi = nil - end + update_downloads(book, repo, @octokit) book.save rescue StandardError => e From bfab8b23ff764d2873e98c64a6d59b522757fb25 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 1 Mar 2025 19:21:44 +0100 Subject: [PATCH 03/26] update-book2: optionally discover downloads even in `local_genbook2` There used to be convenient download links for some of the ProGit book translations. In the transition to a Hugo-generated site, these links were lost for all except the original English version, where the downloads were hard-coded. The reason is that in the Hugo world, we want to avoid network-heavy roundtrips that would be necessary when using the `remote_genbook2` function, and we use `local_genbook2` instead, where the information about what downloadable assets there are (if any) is simply not there. Let's add a way to discover the downloadable assets, by using Octokit, but still use the local clone for the rest of the generation. The way to enable this is by providing a `GITHUB_API_TOKEN` environment variable. If that environment variable is not set, no dynamic discovery will be performed. Signed-off-by: Johannes Schindelin --- script/update-book2.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/update-book2.rb b/script/update-book2.rb index 3d0ff354e7..dac42c1e32 100644 --- a/script/update-book2.rb +++ b/script/update-book2.rb @@ -305,7 +305,11 @@ def local_genbook2(language_code, worktree_path) raise e end book.sha = `git -C "#{worktree_path}" rev-parse HEAD`.chomp - if language_code == 'en' + access_token = ENV.fetch("GITHUB_API_TOKEN", nil) + if access_token && Book.all_books[language_code] + @octokit = Octokit::Client.new(access_token:) + update_downloads(book, Book.all_books[language_code], @octokit) + elsif language_code == 'en' latest_tag = `git -C "#{worktree_path}" for-each-ref --format '%(refname:short)' --sort=-committerdate --count=1 refs/tags/`.chomp if latest_tag.empty? puts "No tag found in #{worktree_path}, trying to fetch tags" From e510200f7844f95afaece6d027397961d463640e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 1 Mar 2025 19:42:00 +0100 Subject: [PATCH 04/26] Gemfile: add `base64` This is needed whenever calling Octokit. So far, this has not been necessary in the GitHub workflows, but in the next commit we will switch to discover the ProGit downloads dynamically, which requires Octokit. Signed-off-by: Johannes Schindelin --- Gemfile | 2 ++ Gemfile.lock | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 3f3e40db8c..980ffe5c19 100644 --- a/Gemfile +++ b/Gemfile @@ -8,3 +8,5 @@ gem "rss" gem "asciidoctor", "~> 2.0.0" gem "nokogiri" gem "diffy" + +gem "base64", "~> 0.2.0" diff --git a/Gemfile.lock b/Gemfile.lock index 76d21e3c1a..15f7a25eb9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,6 +4,7 @@ GEM addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) asciidoctor (2.0.23) + base64 (0.2.0) diffy (3.4.3) faraday (2.12.2) faraday-net_http (>= 2.0, < 3.5) @@ -58,6 +59,7 @@ PLATFORMS DEPENDENCIES asciidoctor (~> 2.0.0) + base64 (~> 0.2.0) diffy faraday-retry nokogiri @@ -67,6 +69,7 @@ DEPENDENCIES CHECKSUMS addressable (2.8.7) sha256=462986537cf3735ab5f3c0f557f14155d778f4b43ea4f485a9deb9c8f7c58232 asciidoctor (2.0.23) sha256=52208807f237dfa0ca29882f8b13d60b820496116ad191cf197ca56f2b7fddf3 + base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507 diffy (3.4.3) sha256=4264b9e7db00d1cd426fcd32e36565779163cedc2340a95b0e6f025e71f9aaa7 faraday (2.12.2) sha256=157339c25c7b8bcb739f5cf1207cb0cefe8fa1c65027266bcbc34c90c84b9ad6 faraday-net_http (3.4.0) sha256=a1f1e4cd6a2cf21599c8221595e27582d9936819977bbd4089a601f24c64e54a From f484ffcabdd6aaac3bb2071921cd37f2e6fd157e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 1 Mar 2025 19:30:38 +0100 Subject: [PATCH 05/26] ci(update-book): add back the download links for the non-English versions In the transition to the Hugo world, these download links were lost. By using the just-introduced feature where `script/update-book2.rb` can work on a clone of the (potentially translated) ProGit book but also discover dynamically in what format the book can be downloaded (if any), we can add those back. This closes https://github.com/git/git-scm.com/issues/1963. Signed-off-by: Johannes Schindelin --- .github/workflows/update-book.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-book.yml b/.github/workflows/update-book.yml index 491caa78e2..9c99d9b6b1 100644 --- a/.github/workflows/update-book.yml +++ b/.github/workflows/update-book.yml @@ -71,6 +71,8 @@ jobs: with: bundler-cache: true - name: update book/${{ matrix.language.lang }} + env: + GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | # this seems to be needed to let `bundle exec` see `vendor/bundle/` { bundle check || bundle install --frozen; } && From d1517e62ffe03e7932dbb2a4e4736205ac955e42 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 1 Mar 2025 19:51:27 +0100 Subject: [PATCH 06/26] ci(update-book): allow for unchanged translations when forcing a rebuild When forcing a full rebuild, it is possible that some translations do not result in any change. Allow for that _specifically_ when force-rebuilding, but not otherwise (where it would be a bug if there was no change, as at least the head commit will be changed). Signed-off-by: Johannes Schindelin --- .github/workflows/update-book.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-book.yml b/.github/workflows/update-book.yml index 9c99d9b6b1..49e4203247 100644 --- a/.github/workflows/update-book.yml +++ b/.github/workflows/update-book.yml @@ -87,6 +87,13 @@ jobs: # commit it all git add -A external/book && + if ${{ inputs.force-rebuild == true && 'git diff-index --exit-code HEAD --' || 'false' }} + then + # Force the bundle to be non-empty + git fetch --depth 2 origin ${{ github.ref_name }} && + git update-ref refs/remotes/origin/${{ github.ref_name }} HEAD^ && + exit 0 + fi && git -c user.name=${{ github.actor }} \ -c user.email=${{ github.actor }}@noreply.github.com \ commit -m 'book: update ${{ matrix.language.lang }}' \ From 8704fc0bf4c2bc8aa6c3b3494b939d4bd460d6db Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:10 +0000 Subject: [PATCH 07/26] book: update es Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/es/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/es/v2/_index.html b/external/book/content/book/es/v2/_index.html index c379f7aea9..a47c77b70e 100644 --- a/external/book/content/book/es/v2/_index.html +++ b/external/book/content/book/es/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-es sha: 2264d131f4f6ca028ff4fe88ca60fc8384ee0c3c + ebook_pdf: https://github.com/progit/progit2-es/releases/download/2.1.23/progit.pdf + ebook_epub: https://github.com/progit/progit2-es/releases/download/2.1.23/progit.epub page_title: Git - Book url: "/book/es/v2.html" aliases: From 514ead11dc1ab75afeb470bbeeee12c6883da543 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:10 +0000 Subject: [PATCH 08/26] book: update it Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/it/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/it/v2/_index.html b/external/book/content/book/it/v2/_index.html index b7508f3844..cc8e3bd11c 100644 --- a/external/book/content/book/it/v2/_index.html +++ b/external/book/content/book/it/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-it sha: '08e643e3d7391c7f503a9de7965bf5579fb9f727' + ebook_pdf: https://github.com/progit/progit2-it/releases/download/2.1.4/progit.pdf + ebook_epub: https://github.com/progit/progit2-it/releases/download/2.1.4/progit.epub page_title: Git - Book url: "/book/it/v2.html" aliases: From 73a4d71b43d2aec30d9dc00b46bd9ab6dae332f9 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:10 +0000 Subject: [PATCH 09/26] book: update zh Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/zh/v2/_index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external/book/content/book/zh/v2/_index.html b/external/book/content/book/zh/v2/_index.html index 3cf9c46b3c..4580107461 100644 --- a/external/book/content/book/zh/v2/_index.html +++ b/external/book/content/book/zh/v2/_index.html @@ -9,6 +9,9 @@ front_page: true repository_url: https://github.com/progit/progit2-zh sha: a5267dfdbf4985d6b2bb94b0993007736fa0acbf + ebook_pdf: https://github.com/progit/progit2-zh/releases/download/2.1.73/progit.pdf + ebook_epub: https://github.com/progit/progit2-zh/releases/download/2.1.73/progit.epub + ebook_mobi: https://github.com/progit/progit2-zh/releases/download/2.1.73/progit.mobi page_title: Git - Book url: "/book/zh/v2.html" aliases: From 84f9a815f549ec4b8c242e29d95ad3d956c8c9b3 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:11 +0000 Subject: [PATCH 10/26] book: update bg Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/bg/v2/_index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external/book/content/book/bg/v2/_index.html b/external/book/content/book/bg/v2/_index.html index 30fbbf0de1..8b21d06b8b 100644 --- a/external/book/content/book/bg/v2/_index.html +++ b/external/book/content/book/bg/v2/_index.html @@ -9,6 +9,9 @@ front_page: true repository_url: https://github.com/progit/progit2-bg sha: bad96055d9e17cb562781652a87df1de93ab2c9b + ebook_pdf: https://github.com/progit/progit2-bg/releases/download/2.1.60/progit.pdf + ebook_epub: https://github.com/progit/progit2-bg/releases/download/2.1.60/progit.epub + ebook_mobi: https://github.com/progit/progit2-bg/releases/download/2.1.60/progit.mobi page_title: Git - Book url: "/book/bg/v2.html" aliases: From 175b544cd849c15f8c9704e9f27c05efc35c36d7 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:12 +0000 Subject: [PATCH 11/26] book: update az Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/az/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/az/v2/_index.html b/external/book/content/book/az/v2/_index.html index 3be6aec5ca..5069bcfb09 100644 --- a/external/book/content/book/az/v2/_index.html +++ b/external/book/content/book/az/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit2-aze/progit2 sha: 9f5e87d19b622e05fd9f7cc215bcd39c79d5995b + ebook_pdf: https://github.com/progit2-aze/progit2/releases/download/2.1.167/progit_v2.1.167.pdf + ebook_epub: https://github.com/progit2-aze/progit2/releases/download/2.1.167/progit_v2.1.167.epub page_title: Git - Book url: "/book/az/v2.html" aliases: From c54fcbf2480cce85c8eec1630bd2f6671622b191 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:12 +0000 Subject: [PATCH 12/26] book: update ja Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/ja/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/ja/v2/_index.html b/external/book/content/book/ja/v2/_index.html index a64692808b..05e33da8d6 100644 --- a/external/book/content/book/ja/v2/_index.html +++ b/external/book/content/book/ja/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-ja sha: bfb44c39ca152442e1186b4e2913134bd9a0b1e7 + ebook_pdf: https://github.com/progit/progit2-ja/releases/download/2.1.7/progit.pdf + ebook_epub: https://github.com/progit/progit2-ja/releases/download/2.1.7/progit.epub page_title: Git - Book url: "/book/ja/v2.html" aliases: From c0071d36671b8f301f2c3cc79b129a865de332e9 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:12 +0000 Subject: [PATCH 13/26] book: update ko Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/ko/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/ko/v2/_index.html b/external/book/content/book/ko/v2/_index.html index eeb06e4387..c652271de1 100644 --- a/external/book/content/book/ko/v2/_index.html +++ b/external/book/content/book/ko/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-ko sha: '0099163d19b4124ab13135dee7932b2cea6ec09b' + ebook_pdf: https://github.com/progit/progit2-ko/releases/download/2.1.80/progit.pdf + ebook_epub: https://github.com/progit/progit2-ko/releases/download/2.1.80/progit.epub page_title: Git - Book url: "/book/ko/v2.html" aliases: From da3b2d0f5c511c5348b1ab91f49c2179814e3bd9 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:12 +0000 Subject: [PATCH 14/26] book: update ru Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/ru/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/ru/v2/_index.html b/external/book/content/book/ru/v2/_index.html index 3070a4eaf2..e4af751181 100644 --- a/external/book/content/book/ru/v2/_index.html +++ b/external/book/content/book/ru/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-ru sha: 79a75ed52f39247873bf2d8ffd7ed08706487755 + ebook_pdf: https://github.com/progit/progit2-ru/releases/download/2.1.117/progit.pdf + ebook_epub: https://github.com/progit/progit2-ru/releases/download/2.1.117/progit.epub page_title: Git - Book url: "/book/ru/v2.html" aliases: From 8cae91ef88b92f0a49efbf4d0a123ac7e7cdd72e Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:13 +0000 Subject: [PATCH 15/26] book: update gr Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/gr/v2/_index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external/book/content/book/gr/v2/_index.html b/external/book/content/book/gr/v2/_index.html index 7608e9c128..4fc12be1be 100644 --- a/external/book/content/book/gr/v2/_index.html +++ b/external/book/content/book/gr/v2/_index.html @@ -9,6 +9,9 @@ front_page: true repository_url: https://github.com/progit2-gr/progit2 sha: bddb5f3e050e3ab66d197eaab033e65a2aa98e03 + ebook_pdf: https://github.com/progit2-gr/progit2/releases/download/2.1.4/progit_v2.1.4.pdf + ebook_epub: https://github.com/progit2-gr/progit2/releases/download/2.1.4/progit_v2.1.4.epub + ebook_mobi: https://github.com/progit2-gr/progit2/releases/download/2.1.4/progit_v2.1.4.mobi page_title: Git - Book url: "/book/gr/v2.html" aliases: From df42a43d2d0608bc6bb3db70a55487b9a30e1fbb Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:13 +0000 Subject: [PATCH 16/26] book: update pl Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/pl/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/pl/v2/_index.html b/external/book/content/book/pl/v2/_index.html index cbace7c842..0a38bcc9a5 100644 --- a/external/book/content/book/pl/v2/_index.html +++ b/external/book/content/book/pl/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit2-pl/progit2-pl sha: 3a939c84461d254478a87749d43bed97ada37602 + ebook_pdf: https://github.com/progit2-pl/progit2-pl/releases/download/2.1.1/progit.pdf + ebook_epub: https://github.com/progit2-pl/progit2-pl/releases/download/2.1.1/progit.epub page_title: Git - Book url: "/book/pl/v2.html" aliases: From bc2d3c23d6e660dd1ff2a7aa95400543dc20f31b Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:13 +0000 Subject: [PATCH 17/26] book: update sr Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/sr/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/sr/v2/_index.html b/external/book/content/book/sr/v2/_index.html index 323260c62d..f486b421b9 100644 --- a/external/book/content/book/sr/v2/_index.html +++ b/external/book/content/book/sr/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-sr sha: d3a3670c50e4cd21c2828333f712b6eacaa7e10f + ebook_pdf: https://github.com/progit/progit2-sr/releases/download/2.1.3/progit.pdf + ebook_epub: https://github.com/progit/progit2-sr/releases/download/2.1.3/progit.epub page_title: Git - Book url: "/book/sr/v2.html" aliases: From 406dd5dd5d3238e6e45535cea9643720ffe84279 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:14 +0000 Subject: [PATCH 18/26] book: update be Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/be/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/be/v2/_index.html b/external/book/content/book/be/v2/_index.html index 6e5799cedf..b866ca6cb6 100644 --- a/external/book/content/book/be/v2/_index.html +++ b/external/book/content/book/be/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-be sha: 5d7dee94e8f4f56fc28ef927e7435d869cd312ff + ebook_pdf: https://github.com/progit/progit2-be/releases/download/2.1.2/progit.pdf + ebook_epub: https://github.com/progit/progit2-be/releases/download/2.1.2/progit.epub page_title: Git - Book url: "/book/be/v2.html" aliases: From 22f347defcdf92825c1905840143a5e8520cf9e8 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:16 +0000 Subject: [PATCH 19/26] book: update uk Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/uk/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/uk/v2/_index.html b/external/book/content/book/uk/v2/_index.html index c66b32a949..c677f6e9f9 100644 --- a/external/book/content/book/uk/v2/_index.html +++ b/external/book/content/book/uk/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-uk sha: d6bfd53e83b526f3d497983bfb784f4c832b1f9a + ebook_pdf: https://github.com/progit/progit2-uk/releases/download/2.1.12/progit.pdf + ebook_epub: https://github.com/progit/progit2-uk/releases/download/2.1.12/progit.epub page_title: Git - Book url: "/book/uk/v2.html" aliases: From a0e9f29a905fcc2611da1b7731aec22b0ece5964 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:20 +0000 Subject: [PATCH 20/26] book: update en Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/en/v2/_index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/external/book/content/book/en/v2/_index.html b/external/book/content/book/en/v2/_index.html index aed93767a8..787090106a 100644 --- a/external/book/content/book/en/v2/_index.html +++ b/external/book/content/book/en/v2/_index.html @@ -11,7 +11,6 @@ sha: 3404a4f5e0c1faab3e89ae93d48663413b31dd8d ebook_pdf: https://github.com/progit/progit2/releases/download/2.1.443/progit.pdf ebook_epub: https://github.com/progit/progit2/releases/download/2.1.443/progit.epub - ebook_mobi: https://github.com/progit/progit2/releases/download/2.1.443/progit.mobi page_title: Git - Book url: "/book/en/v2.html" aliases: From 202ae095bfc19f6a6bc3dd81bf6d9b6e04dd75b7 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:22 +0000 Subject: [PATCH 21/26] book: update fr Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/fr/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/fr/v2/_index.html b/external/book/content/book/fr/v2/_index.html index 4d67ed8687..b5b58eb7f5 100644 --- a/external/book/content/book/fr/v2/_index.html +++ b/external/book/content/book/fr/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-fr sha: be26909d7508e6b2754965e7e5a75d3e44b81dbc + ebook_pdf: https://github.com/progit/progit2-fr/releases/download/2.1.77/progit.pdf + ebook_epub: https://github.com/progit/progit2-fr/releases/download/2.1.77/progit.epub page_title: Git - Book url: "/book/fr/v2.html" aliases: From 35484ab2635c3fdf18b51be4fba372c5b62152e1 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:26 +0000 Subject: [PATCH 22/26] book: update sl Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/sl/v2/_index.html | 4 +++- external/book/sync/book-sl.sha | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/external/book/content/book/sl/v2/_index.html b/external/book/content/book/sl/v2/_index.html index ba5428b9d1..9ed2484f68 100644 --- a/external/book/content/book/sl/v2/_index.html +++ b/external/book/content/book/sl/v2/_index.html @@ -8,7 +8,9 @@ language_code: sl front_page: true repository_url: https://github.com/progit/progit2-sl - sha: 16dcf83d9eaa6256fd962b6652f30d6b767f40a1 + sha: '096aaf52e250ec1c5a8e47ea147dc79e797ade70' + ebook_pdf: https://github.com/progit/progit2-sl/releases/download/2.1.78/progit.pdf + ebook_epub: https://github.com/progit/progit2-sl/releases/download/2.1.78/progit.epub page_title: Git - Book url: "/book/sl/v2.html" aliases: diff --git a/external/book/sync/book-sl.sha b/external/book/sync/book-sl.sha index ac78c50e62..37c6034046 100644 --- a/external/book/sync/book-sl.sha +++ b/external/book/sync/book-sl.sha @@ -1 +1 @@ -16dcf83d9eaa6256fd962b6652f30d6b767f40a1 +096aaf52e250ec1c5a8e47ea147dc79e797ade70 From 11b653f6847cf73a65305429e508357e026d111d Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:26 +0000 Subject: [PATCH 23/26] book: update zh-tw Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/zh-tw/v2/_index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external/book/content/book/zh-tw/v2/_index.html b/external/book/content/book/zh-tw/v2/_index.html index 22338e7dad..f6707d4eaa 100644 --- a/external/book/content/book/zh-tw/v2/_index.html +++ b/external/book/content/book/zh-tw/v2/_index.html @@ -9,6 +9,9 @@ front_page: true repository_url: https://github.com/progit/progit2-zh-tw sha: f0a989f9aaf289c265cf95381b30653a9d04819b + ebook_pdf: https://github.com/progit/progit2-zh-tw/releases/download/2.1.0/progit_v2.1.0.pdf + ebook_epub: https://github.com/progit/progit2-zh-tw/releases/download/2.1.0/progit_v2.1.0.epub + ebook_mobi: https://github.com/progit/progit2-zh-tw/releases/download/2.1.0/progit_v2.1.0.mobi page_title: Git - Book url: "/book/zh-tw/v2.html" aliases: From d5f763a7ee55bb1b1e0202558a0aae9913c42f6f Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:27 +0000 Subject: [PATCH 24/26] book: update de Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/de/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/de/v2/_index.html b/external/book/content/book/de/v2/_index.html index d3a994b17b..47593ac8d9 100644 --- a/external/book/content/book/de/v2/_index.html +++ b/external/book/content/book/de/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-de sha: c4f0a32f55f41264c4c72aef9800b3bce306486e + ebook_pdf: https://github.com/progit/progit2-de/releases/download/2.1.293/progit.pdf + ebook_epub: https://github.com/progit/progit2-de/releases/download/2.1.293/progit.epub page_title: Git - Book url: "/book/de/v2.html" aliases: From 4b863761f8b9c9bb6070d97d0b9d241c76a94320 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:29 +0000 Subject: [PATCH 25/26] book: update nl Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/nl/v2/_index.html | 4 +++- external/book/sync/book-nl.sha | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/external/book/content/book/nl/v2/_index.html b/external/book/content/book/nl/v2/_index.html index 234d161e73..40012af6e2 100644 --- a/external/book/content/book/nl/v2/_index.html +++ b/external/book/content/book/nl/v2/_index.html @@ -8,7 +8,9 @@ language_code: nl front_page: true repository_url: https://github.com/progit/progit2-nl - sha: a81766ce9c37750b7d13fd6ef9bd5961605d619b + sha: a8d19c00fc6ed2da8cd400004638752ab1d9f735 + ebook_pdf: https://github.com/progit/progit2-nl/releases/download/2.1.117/progit.pdf + ebook_epub: https://github.com/progit/progit2-nl/releases/download/2.1.117/progit.epub page_title: Git - Book url: "/book/nl/v2.html" aliases: diff --git a/external/book/sync/book-nl.sha b/external/book/sync/book-nl.sha index 02e4af88fb..eef1dad2b7 100644 --- a/external/book/sync/book-nl.sha +++ b/external/book/sync/book-nl.sha @@ -1 +1 @@ -a81766ce9c37750b7d13fd6ef9bd5961605d619b +a8d19c00fc6ed2da8cd400004638752ab1d9f735 From 6e88fc9b38936b9ef356cd6261384f8067a9ac94 Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 1 Mar 2025 19:19:30 +0000 Subject: [PATCH 26/26] book: update pt-br Updated via the `update-book.yml` GitHub workflow. --- external/book/content/book/pt-br/v2/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/book/content/book/pt-br/v2/_index.html b/external/book/content/book/pt-br/v2/_index.html index 1954121886..5988707aaa 100644 --- a/external/book/content/book/pt-br/v2/_index.html +++ b/external/book/content/book/pt-br/v2/_index.html @@ -9,6 +9,8 @@ front_page: true repository_url: https://github.com/progit/progit2-pt-br sha: e30df8c08716f41756134ffb39b25e9fb34909ac + ebook_pdf: https://github.com/progit/progit2-pt-br/releases/download/2.1.48/progit.pdf + ebook_epub: https://github.com/progit/progit2-pt-br/releases/download/2.1.48/progit.epub page_title: Git - Book url: "/book/pt-br/v2.html" aliases: