markbt / streampager

A pager for command output or large files
MIT License
45 stars 11 forks source link

Backport changes from Sapling? #61

Open yuja opened 1 month ago

yuja commented 1 month ago

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

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

martinvonz commented 1 month ago

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.

quark-zju commented 1 month ago

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.

martinvonz commented 2 weeks ago

@markbt, what's your preference?