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 3 months ago

yuja commented 3 months 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 3 months 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 3 months 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 months ago

@markbt, what's your preference?