cvsclient: handle additional responses sent by server
While checking out files the server sends messages to the CVS client which provide information about the state of file paths.
Our custom CVS client implementation needs to recognize a few additional responses the server may send while checking out a different version of a file which was already checked earlier. Otherwise our client will error out. We can simply ignore the messages (and its 2 paths arguments separated by \n) because we do not manage an actual CVS working copy.
Found while testing ingestion of the GNU dino repository at cvs.savannah.gnu.org/sources/dino
Migrated from D6559 (view on Phabricator)
Merge request reports
Activity
Build is green
Patch application report for D6559 (id=23833)
Rebasing onto 7f761b85...
Current branch diff-target is up to date.
Changes applied before test
commit 7eaef259b073ec0ee0e6d70ae0f7a36cc614b143 Author: Stefan Sperling <stsp@stsp.name> Date: Wed Oct 27 12:07:32 2021 +0200 cvsclient: handle additional responses sent by server While checking out files the server sends messages to the CVS client which provide information about the state of file paths. Our custom CVS client implementation needs to recognize a few additional responses the server may send while checking out a different version of a file which was already checked earlier. Otherwise our client will error out. We can simply ignore the messages (and its 2 paths arguments separated by \n) because we do not manage an actual CVS working copy. Found while testing ingestion of the GNU dino repository at cvs.savannah.gnu.org/sources/dino
See https://jenkins.softwareheritage.org/job/DLDCVS/job/tests-on-diff/34/ for more details.
Build is green
Patch application report for D6559 (id=23849)
Rebasing onto d3b3344b...
Current branch diff-target is up to date.
Changes applied before test
commit 6ff0b4473c2bdf2feaee0d4df9b03a6787cd23e1 Author: Stefan Sperling <stsp@stsp.name> Date: Wed Oct 27 15:50:03 2021 +0200 apply style tweaks suggested by vlorentz and reformatted by black commit 3a2f06b3d5fb45ceab1a8a4721a0b7102e633d24 Author: Stefan Sperling <stsp@stsp.name> Date: Wed Oct 27 12:07:32 2021 +0200 cvsclient: handle additional responses sent by server While checking out files the server sends messages to the CVS client which provide information about the state of file paths. Our custom CVS client implementation needs to recognize a few additional responses the server may send while checking out a different version of a file which was already checked earlier. Otherwise our client will error out. We can simply ignore the messages (and its 2 paths arguments separated by \n) because we do not manage an actual CVS working copy. Found while testing ingestion of the GNU dino repository at cvs.savannah.gnu.org/sources/dino
See https://jenkins.softwareheritage.org/job/DLDCVS/job/tests-on-diff/38/ for more details.