public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-lsp-server] epel10: Update to version 0.8.0; Fixes RHBZ#2492126
Date: Fri, 10 Jul 2026 05:59:39 GMT	[thread overview]
Message-ID: <178366317907.1.11148939463430632164.rpms-rust-lsp-server-a887074bad05@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-lsp-server
Branch : epel10
Commit : a887074bad0554c06134efb4fe46c2dd81fa3f14
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-09T06:38:33+01:00
Stats  : +49/-12 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-lsp-server/c/a887074bad0554c06134efb4fe46c2dd81fa3f14?branch=epel10

Log:
Update to version 0.8.0; Fixes RHBZ#2492126

---
diff --git a/.gitignore b/.gitignore
index 634b952..3d4fc70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /lsp-server-0.7.7.crate
 /lsp-server-0.7.8.crate
 /lsp-server-0.7.9.crate
+/lsp-server-0.8.0.crate

diff --git a/lsp-server-fix-metadata.diff b/lsp-server-fix-metadata.diff
index 80559a7..6b0709d 100644
--- a/lsp-server-fix-metadata.diff
+++ b/lsp-server-fix-metadata.diff
@@ -1,13 +1,28 @@
---- lsp-server-0.7.9/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ lsp-server-0.7.9/Cargo.toml	2025-08-17T13:03:45.634591+00:00
-@@ -28,10 +28,6 @@
- [lib]
+--- lsp-server-0.8.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ lsp-server-0.8.0/Cargo.toml	2026-07-09T05:34:25.592149+00:00
+@@ -29,10 +29,6 @@
  name = "lsp_server"
  path = "src/lib.rs"
--
+ 
 -[[example]]
 -name = "minimal_lsp"
 -path = "examples/minimal_lsp.rs"
- 
+-
  [dependencies.crossbeam-channel]
  version = "0.5.15"
+ 
+@@ -47,6 +43,14 @@
+ 
+ [dependencies.serde_json]
+ version = "1.0.140"
++
++[dev-dependencies.lsp-types]
++version = ">=0.4.0, <0.11.0"
++package = "gen-lsp-types"
++features = ["url"]
++
++[dev-dependencies.ctrlc]
++version = "3.4.7"
+ 
+ [lints.clippy]
+ assigning_clones = "allow"

diff --git a/rust-lsp-server.spec b/rust-lsp-server.spec
index 74a5825..6e90350 100644
--- a/rust-lsp-server.spec
+++ b/rust-lsp-server.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
 %global crate lsp-server
 
 Name:           rust-lsp-server
-Version:        0.7.9
+Version:        0.8.0
 Release:        %autorelease
 Summary:        Generic LSP server scaffold
 
@@ -13,7 +13,16 @@ License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/lsp-server
 Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
-# * drop example code that relies on un-published code
+# * Omit examples/minimal_lsp.rs because it requires the unpublished
+#   rust-analyzer workspace crate “toolchain”
+# * Restore some dev-dependencies stripped during publication (!):
+#   * gen-lsp-types 0.4.0 as lsp-types, widened downstream through 0.10,
+#   with “url” feature
+#   * ctrlc 3.4.7
+#   Do not restore those that are only for examples/minimal_lsp.rs.
+#   * anyhow
+#   * rustc-hash
+#   * toolchain 0 (unpublished workspace crate)
 Patch:          lsp-server-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24

diff --git a/rust2rpm.toml b/rust2rpm.toml
index a81c466..6d59a15 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,17 @@
 [package]
 cargo-toml-patch-comments = [
-    "drop example code that relies on un-published code",
+    """\
+Omit examples/minimal_lsp.rs because it requires the unpublished rust-analyzer \
+workspace crate “toolchain”\
+""",
+    """\
+Restore some dev-dependencies stripped during publication (!):
+  * gen-lsp-types 0.4.0 as lsp-types, widened downstream through 0.10,
+    with “url” feature
+  * ctrlc 3.4.7
+Do not restore those that are only for examples/minimal_lsp.rs.
+  * anyhow
+  * rustc-hash
+  * toolchain 0 (unpublished workspace crate)
+""",
 ]
-

diff --git a/sources b/sources
index b9c415a..983fccd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lsp-server-0.7.9.crate) = 332814c48389bdd32ddb75616b4361a2f22370267a66f31b063b1bc4ab19439cc0f4de833394288c92e62a15fdfdbd9aafa24df9efc3607bfc4d5e153c4f4386
+SHA512 (lsp-server-0.8.0.crate) = d3878e3aa4a4bbdd6a141127e7799e9b99d6f97e530b3d4213dbbd1ce5a699031c26616ab142f88bd4c938d43fe7147eabe05959ca12d3207bec3a2f0c02202c

                 reply	other threads:[~2026-07-10  5:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178366317907.1.11148939463430632164.rpms-rust-lsp-server-a887074bad05@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox