Skip to content

Fix xtask package RPM profile handling - #1865

Merged
oferchen merged 1 commit into
masterfrom
fix-cargo-rpm-build-exit-code-1
Nov 1, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-cargo-rpm-build-exit-code-1

Conversation

@oferchen

@oferchen oferchen commented Nov 1, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • avoid passing the unsupported --profile flag to cargo rpm build
  • validate non-release profile overrides and point contributors to the RPM buildflags metadata

Testing

  • cargo --locked run -p xtask -- package
  • cargo --locked run -p xtask -- package --rpm

@oferchen
oferchen merged commit 8116677 into master Nov 1, 2025
@oferchen
oferchen deleted the fix-cargo-rpm-build-exit-code-1 branch November 1, 2025 10:34
oferchen added a commit that referenced this pull request Apr 28, 2026
…ine (#3418)

Adds two doc-only notes covering recurring questions:

- crates/rsync_io/src/ssh/mod.rs: explains why SSH transfers cannot use
  the fast_io socket reader/writer paths. The data channel is the
  inherited stdio pipe pair from the spawned ssh child, not an AF_INET
  socket, so the io_uring socket fast path is unreachable. Mirrors
  upstream main.c:504 do_cmd(). Cross-references tasks #1859
  (pipe-FD io_uring) and #1860 (splice-based zero-copy) and notes that
  daemon TCP and local-disk transfers still benefit from fast_io.

- crates/transfer/src/generator/mod.rs: documents the sender-side
  INC_RECURSE state machine (Idle -> ScanDir -> SendChunk -> WaitAck
  -> NextDir -> Done) with upstream citations to flist.c:2192
  send_file_list(), sender.c:199 send_files(), generator.c:2226
  generate_files(), receiver.c:522 recv_files(), and compat.c:161
  set_allow_inc_recurse(). Documents that the sender side is
  implemented but disabled in build_capability_string until interop
  is validated (task #1862); the 'i' capability is not advertised
  when oc-rsync is sender.

Closes #1858, #1865.
oferchen added a commit that referenced this pull request May 1, 2026
…ine (#3418)

Adds two doc-only notes covering recurring questions:

- crates/rsync_io/src/ssh/mod.rs: explains why SSH transfers cannot use
  the fast_io socket reader/writer paths. The data channel is the
  inherited stdio pipe pair from the spawned ssh child, not an AF_INET
  socket, so the io_uring socket fast path is unreachable. Mirrors
  upstream main.c:504 do_cmd(). Cross-references tasks #1859
  (pipe-FD io_uring) and #1860 (splice-based zero-copy) and notes that
  daemon TCP and local-disk transfers still benefit from fast_io.

- crates/transfer/src/generator/mod.rs: documents the sender-side
  INC_RECURSE state machine (Idle -> ScanDir -> SendChunk -> WaitAck
  -> NextDir -> Done) with upstream citations to flist.c:2192
  send_file_list(), sender.c:199 send_files(), generator.c:2226
  generate_files(), receiver.c:522 recv_files(), and compat.c:161
  set_allow_inc_recurse(). Documents that the sender side is
  implemented but disabled in build_capability_string until interop
  is validated (task #1862); the 'i' capability is not advertised
  when oc-rsync is sender.

Closes #1858, #1865.
oferchen added a commit that referenced this pull request May 5, 2026
…ine (#3418)

Adds two doc-only notes covering recurring questions:

- crates/rsync_io/src/ssh/mod.rs: explains why SSH transfers cannot use
  the fast_io socket reader/writer paths. The data channel is the
  inherited stdio pipe pair from the spawned ssh child, not an AF_INET
  socket, so the io_uring socket fast path is unreachable. Mirrors
  upstream main.c:504 do_cmd(). Cross-references tasks #1859
  (pipe-FD io_uring) and #1860 (splice-based zero-copy) and notes that
  daemon TCP and local-disk transfers still benefit from fast_io.

- crates/transfer/src/generator/mod.rs: documents the sender-side
  INC_RECURSE state machine (Idle -> ScanDir -> SendChunk -> WaitAck
  -> NextDir -> Done) with upstream citations to flist.c:2192
  send_file_list(), sender.c:199 send_files(), generator.c:2226
  generate_files(), receiver.c:522 recv_files(), and compat.c:161
  set_allow_inc_recurse(). Documents that the sender side is
  implemented but disabled in build_capability_string until interop
  is validated (task #1862); the 'i' capability is not advertised
  when oc-rsync is sender.

Closes #1858, #1865.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant