streampager icon indicating copy to clipboard operation
streampager copied to clipboard

Backport changes from Sapling?

Open yuja opened this issue 1 year ago • 3 comments

Hi, do you have any plan to backport changes from Sapling fork? (or release it with different name?) https://github.com/facebook/sapling/tree/main/eden/scm/lib/third-party/streampager

In particular, I'm interested in

  • split binary crate (and/or update clap to 4.x)
  • update other dependencies
  • add feature flag that drops "notify" dependency

I can send PRs, but I suspect that it would be undesired to maintain separate branches.

yuja avatar Aug 03 '24 10:08 yuja

Alternatively, maybe you could publish new versions from the fork in the Sapling repo. That's less attractive to me, but I'm guessing there's a reason you created the fork instead of having Sapling just depend on this versions published from here.

martinvonz avatar Aug 04 '24 13:08 martinvonz

Alternatively, maybe you could publish new versions from the fork in the Sapling repo. That's less attractive to me, but I'm guessing there's a reason you created the fork instead of having Sapling just depend on this versions published from here.

It was for fast iteration. Changing streampager, reviewing, publishing to crates.io, updating internal version takes time. Code review by other team members can also offload @markbt. Although we haven't utilized the "fast iteration" benefit that much.

Publishing from sapling could be a reasonable choice. We now have a team account so it's easy for any team member to publish - no longer blocks on one person.

I'll let @markbt decide what to do next.

quark-zju avatar Aug 05 '24 18:08 quark-zju

@markbt, what's your preference?

martinvonz avatar Sep 02 '24 14:09 martinvonz

Sorry for the delay. It's now published at https://crates.io/crates/sapling-streampager

quark-zju avatar Nov 11 '24 19:11 quark-zju

Many thanks!

yuja avatar Nov 12 '24 01:11 yuja