Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mdbook for openSUSE:Factory checked 
in at 2025-09-19 15:34:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mdbook (Old)
 and      /work/SRC/openSUSE:Factory/.mdbook.new.27445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mdbook"

Fri Sep 19 15:34:04 2025 rev:22 rq:1305896 version:0.4.47

Changes:
--------
--- /work/SRC/openSUSE:Factory/mdbook/mdbook.changes    2025-06-23 
15:04:12.123053409 +0200
+++ /work/SRC/openSUSE:Factory/.mdbook.new.27445/mdbook.changes 2025-09-19 
15:34:35.030317745 +0200
@@ -1,0 +2,9 @@
+Thu Sep 18 12:39:15 UTC 2025 - Soc Virnyl Estela 
<[email protected]>
+
+- Update to version 0.4.47:
+  * Merge pull request #2587 from ehuss/bump-version
+  * Merge pull request #2586 from ehuss/fix-search-subchapter
+  * Update to 0.4.47
+  * Fix search not showing in sub-directories
+
+-------------------------------------------------------------------
@@ -333 +341,0 @@
-

Old:
----
  mdBook-0.4.46.tar.zst

New:
----
  mdBook-0.4.47.tar.zst

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mdbook.spec ++++++
--- /var/tmp/diff_new_pack.bXjxbe/_old  2025-09-19 15:34:36.054360771 +0200
+++ /var/tmp/diff_new_pack.bXjxbe/_new  2025-09-19 15:34:36.054360771 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mdbook
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           mdbook
-Version:        0.4.46
+Version:        0.4.47
 Release:        0
 Summary:        Create books from markdown
 License:        (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR 
BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 
OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND 
(MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND 
BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MPL-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.bXjxbe/_old  2025-09-19 15:34:36.090362284 +0200
+++ /var/tmp/diff_new_pack.bXjxbe/_new  2025-09-19 15:34:36.094362452 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="cargo_vendor" mode="manual">
     <param name="url">https://github.com/rust-lang/mdBook</param>
-    <param name="revision">v0.4.46</param>
+    <param name="revision">v0.4.47</param>
     <param name="versionrewriteregex">^v?(.*)</param>
     <param name="versionrewritepattern">$1</param>
     <param name="changesgenerate">true</param>

++++++ mdBook-0.4.46.tar.zst -> mdBook-0.4.47.tar.zst ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mdBook-0.4.46/CHANGELOG.md 
new/mdBook-0.4.47/CHANGELOG.md
--- old/mdBook-0.4.46/CHANGELOG.md      1970-01-01 01:00:00.000000000 +0100
+++ new/mdBook-0.4.47/CHANGELOG.md      1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +1,13 @@
 # Changelog
 
+## mdBook 0.4.47
+[v0.4.46...v0.4.47](https://github.com/rust-lang/mdBook/compare/v0.4.46...v0.4.47)
+
+### Fixed
+
+- Fixed search not showing up in sub-directories.
+  [#2586](https://github.com/rust-lang/mdBook/pull/2586)
+
 ## mdBook 0.4.46
 
[v0.4.45...v0.4.46](https://github.com/rust-lang/mdBook/compare/v0.4.45...v0.4.46)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mdBook-0.4.46/Cargo.lock new/mdBook-0.4.47/Cargo.lock
--- old/mdBook-0.4.46/Cargo.lock        1970-01-01 01:00:00.000000000 +0100
+++ new/mdBook-0.4.47/Cargo.lock        1970-01-01 01:00:00.000000000 +0100
@@ -1205,7 +1205,7 @@
 
 [[package]]
 name = "mdbook"
-version = "0.4.46"
+version = "0.4.47"
 dependencies = [
  "ammonia",
  "anyhow",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mdBook-0.4.46/Cargo.toml new/mdBook-0.4.47/Cargo.toml
--- old/mdBook-0.4.46/Cargo.toml        1970-01-01 01:00:00.000000000 +0100
+++ new/mdBook-0.4.47/Cargo.toml        1970-01-01 01:00:00.000000000 +0100
@@ -3,7 +3,7 @@
 
 [package]
 name = "mdbook"
-version = "0.4.46"
+version = "0.4.47"
 authors = [
     "Mathieu David <[email protected]>",
     "Michael-F-Bryan <[email protected]>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mdBook-0.4.46/guide/src/continuous-integration.md 
new/mdBook-0.4.47/guide/src/continuous-integration.md
--- old/mdBook-0.4.46/guide/src/continuous-integration.md       1970-01-01 
01:00:00.000000000 +0100
+++ new/mdBook-0.4.47/guide/src/continuous-integration.md       1970-01-01 
01:00:00.000000000 +0100
@@ -21,7 +21,7 @@
 
 ```sh
 mkdir bin
-curl -sSL 
https://github.com/rust-lang/mdBook/releases/download/v0.4.46/mdbook-v0.4.46-x86_64-unknown-linux-gnu.tar.gz
 | tar -xz --directory=bin
+curl -sSL 
https://github.com/rust-lang/mdBook/releases/download/v0.4.47/mdbook-v0.4.47-x86_64-unknown-linux-gnu.tar.gz
 | tar -xz --directory=bin
 bin/mdbook build
 ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mdBook-0.4.46/src/theme/searcher/searcher.js 
new/mdBook-0.4.47/src/theme/searcher/searcher.js
--- old/mdBook-0.4.46/src/theme/searcher/searcher.js    1970-01-01 
01:00:00.000000000 +0100
+++ new/mdBook-0.4.47/src/theme/searcher/searcher.js    1970-01-01 
01:00:00.000000000 +0100
@@ -468,12 +468,12 @@
         showResults(true);
     }
 
-    fetch('{{ resource "searchindex.json" }}')
+    fetch(path_to_root + '{{ resource "searchindex.json" }}')
         .then(response => response.json())
         .then(json => init(json))        
         .catch(error => { // Try to load searchindex.js if fetch failed
             var script = document.createElement('script');
-            script.src = '{{ resource "searchindex.js" }}';
+            script.src = path_to_root + '{{ resource "searchindex.js" }}';
             script.onload = () => init(window.search);
             document.head.appendChild(script);
         });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mdBook-0.4.46/tests/gui/search.goml 
new/mdBook-0.4.47/tests/gui/search.goml
--- old/mdBook-0.4.46/tests/gui/search.goml     1970-01-01 01:00:00.000000000 
+0100
+++ new/mdBook-0.4.47/tests/gui/search.goml     1970-01-01 01:00:00.000000000 
+0100
@@ -0,0 +1,33 @@
+// This tests basic search behavior.
+
+// We disable the requests checks because `searchindex.json` will always fail
+// locally (due to CORS), but the searchindex.js will succeed.
+fail-on-request-error: false
+go-to: |DOC_PATH| + "index.html"
+
+define-function: (
+    "open-search",
+    [],
+    block {
+        assert-css: ("#search-wrapper", {"display": "none"})
+        press-key: 'S'
+        wait-for-css-false: ("#search-wrapper", {"display": "none"})
+    }
+)
+
+call-function: ("open-search", {})
+assert-text: ("#searchresults-header", "")
+write: "strikethrough"
+wait-for-text: ("#searchresults-header", "2 search results for 
'strikethrough':")
+// Close the search display
+press-key: 'Escape'
+wait-for-css: ("#search-wrapper", {"display": "none"})
+// Reopening the search should show the last value
+call-function: ("open-search", {})
+assert-text: ("#searchresults-header", "2 search results for 'strikethrough':")
+// Navigate to a sub-chapter
+go-to: "./individual/strikethrough.html"
+assert-text: ("#searchresults-header", "")
+call-function: ("open-search", {})
+write: "strikethrough"
+wait-for-text: ("#searchresults-header", "2 search results for 
'strikethrough':")

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/mdbook/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.mdbook.new.27445/vendor.tar.zst differ: char 7, 
line 1

Reply via email to