git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: I have end-of-lifed cvsps

From
Jakub Narębski <jnareb@gmail.com>
Date
Dec 17, 2013, 19:58 UTC
Message-ID
<CANQwDwe8AcbCYG5GZcY1tn9BN0x5KWux_CNQY2OWG+qZJ5rS4Q@mail.gmail.com>
In-Reply-To
<20131217140746.GB15010@thyrsus.com>
On Tue, Dec 17, 2013 at 3:07 PM, Eric S. Raymond <esr@thyrsus.com> wrote:
> Jakub Narębski <jnareb@gmail.com>:
Show 8 quoted lines
>> I wonder if we can add support for incremental import once, for all
>> VCS supporting fast-export, in one place, namely at the remote-helper.
>
> Something in the pipeline - either the helper or the exporter - needs to
> have an equivalent of vc-fast-export's and cvsps's -i option, which
> omits all commits before a specified time and generates cookies like
> "from refs/heads/master^0" before each branch root in the incremental
> dump.

Errr... doesn't cvs-fast-export support --export-marks=<file> to save progress and --import-marks=<file> to continue incremental import? I *guess* that 'export' / 'import' capabilities-based remote helpers use 'export-marks <file>' / 'import-marks <file>' capability for incremental import, also known as "fetch", isn't it? But I might be mistaken, I don't know enough about remote helpers...

I would check it in cvs-fast-export manpage, but the page seems to be down:

  http://isup.me/www.catb.org
    It's not just you! http://www.catb.org looks down from here.
Show 6 quoted lines
> This could be done in the wrapper, but only if the wrapper itself
> includes an import-stream parser, interprets the output from the
> exporter program, and re-emits it.  Having done similar things
> myself in reposurgeon, I advise against this strategy; it would
> introduce a level of complexity to the wrapper that doesn't belong
> there, and make the exporter+wrapper combination harder to verify.
Right.
> Fortunately, incremental dump is trivial to implement in the output
> stage of an exporter if you have access to the exporter source code.
> I've done it in two different exporters.  cvs-fast-export now has a
> regression test for this case

This is I guess assuming that information from later commits doesn't change guesses about shape of history from earlier commits...

-- 
Jakub Narebski
Previous: Eric S. RaymondNext: Eric S. Raymond
Message 34 of 48 in “I have end-of-lifed cvsps”
  1. Eric S. RaymondDec 12, 2013
  2. Martin LanghoffDec 12, 2013
  3. Eric S. RaymondDec 12, 2013
  4. Martin LanghoffDec 12, 2013
  5. Andreas KreyDec 12, 2013
  6. Martin LanghoffDec 12, 2013
  7. Eric S. RaymondDec 12, 2013
  8. Eric S. RaymondDec 12, 2013
  9. Martin LanghoffDec 12, 2013
  10. Eric S. RaymondDec 12, 2013
  11. Martin LanghoffDec 12, 2013
  12. Eric S. RaymondDec 12, 2013
  13. Martin LanghoffDec 12, 2013
  14. Eric S. RaymondDec 12, 2013
  15. Martin LanghoffDec 13, 2013
  16. Eric S. RaymondDec 13, 2013
  17. Eric S. RaymondDec 12, 2013
  18. Martin LanghoffDec 12, 2013
  19. Jakub NarębskiDec 17, 2013
  20. Johan HerlandDec 17, 2013
  21. Eric S. RaymondDec 17, 2013
  22. Johan HerlandDec 17, 2013
  23. Eric S. RaymondDec 17, 2013
  24. Johan HerlandDec 17, 2013
  25. Eric S. RaymondDec 17, 2013
  26. Michael HaggertyDec 18, 2013
  27. Johan HerlandDec 19, 2013
  28. Michael HaggertyDec 19, 2013
  29. Johan HerlandDec 19, 2013
  30. Michael HaggertyDec 19, 2013
  31. Eric S. RaymondDec 19, 2013
  32. Michael HaggertyDec 19, 2013
  33. Eric S. RaymondDec 17, 2013
  34. Jakub NarębskiDec 17, 2013
  35. Eric S. RaymondDec 17, 2013
  36. Jakub NarębskiDec 18, 2013
  37. Eric S. RaymondDec 18, 2013
  38. Jakub NarębskiDec 18, 2013
  39. incremental fast-import and marks (Re: I have end-of-lifed cvsps)Jonathan Nieder, Dec 18, 2013
  40. Eric S. RaymondDec 18, 2013
  41. Martin LanghoffDec 18, 2013
  42. John KeepingDec 18, 2013
  43. Eric S. RaymondDec 18, 2013
  44. Kent R. SpillnerDec 18, 2013
  45. Jeff KingDec 18, 2013
  46. Eric S. RaymondDec 18, 2013
  47. Andreas SchwabDec 18, 2013
  48. Eric S. RaymondDec 18, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.