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

Re: [GSoC] Query regarding Microproject

From
Shanthanu <shanthanu.s.rai9@gmail.com>
Date
Mar 25, 2020, 13:51 UTC
Message-ID
<165cc039-2092-2520-e23e-5734fd3fc0f8@gmail.com>
In-Reply-To
<CAP8UFD3fAQyiXsO0w_uG6Oe8EfvkL6=ijUqHp4j8GD8A50Jo+g@mail.gmail.com>
On 24/03/20 1:01 am, Christian Couder wrote:
Show 8 quoted lines
>> So shouldn't the test file itself have mentioned (say as a comment at
>> the top
>> or in a separate README) that it was expecting subversion 1.8 or lesser on
>> the system? I am using Ubuntu 18.04 and by default the package manager
>> installs subversion 1.9.
> It would be better if the test could be fixed to work with subversion
> 1.9. Otherwise the test could perhaps check the subversion version and
> run only if subversion is version 1.8 or lesser.

Yeah that makes sense. I will try to look into how the tests can be fixed to work with svn 1.9.

Show 7 quoted lines
>> This issue might also be present in other git-svn test files. (I haven't
>> checked
>> though, not sure how to run just git-svn tests)
> Maybe with something like:
>
> $ cd t
> $ prove --jobs 8 t91*-svn*.sh

Thanks. I ran the command and found that all tests (except t9119) fail for svn 1.9 and pass for 1.8. t9119 gives the below output for svn 1.8: skipped: skipping svn-info test (SVN version: 1.8.13 not supported)

't9119-git-svn-info.sh' seems to already have the code to check the version of subversion. So we could use the same code to check the correct version in 'lib-git-svn.sh'?

Note that I haven't checked which all subversion versions work for a given test (only know that svn 1.8 works for all).

Previous: Christian Couder
Message 6 of 6 in “[GSoC] Query regarding Microproject”
  1. Shanthanu RaiMar 20, 2020
  2. Christian CouderMar 20, 2020
  3. ShanthanuMar 20, 2020
  4. ShanthanuMar 21, 2020
  5. Christian CouderMar 23, 2020
  6. ShanthanuMar 25, 2020

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.