You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Michael Mior <mm...@apache.org> on 2018/09/10 14:42:52 UTC

Re: Calcite Jenkins fails due to spaces in folder names

LGTM, although I'm not able to actually test on WIndows right now.

--
Michael Mior
mmior@apache.org


Le mar. 28 août 2018 à 12:40, Vladimir Sitnikov <si...@gmail.com>
a écrit :

> Hi,
>
> Jenkins jobs fail due to %20 in the file path.
> CI failure holds -SNAPSHOT releases from being published.
>
> The good news is it looks like there's a solution.
>
> https://stackoverflow.com/a/17870390/1261287 suggests Paths.get
> (uri).toFile(), however that fails for "file:test.txt" kind of URLs
> Apparently uri.getSchemeSpecificPart() extracts *decoded* file name out of
> "file:test.txt", so both methods seem to cover all the cases.
>
> The PR is https://github.com/apache/calcite/pull/807, JIRA is
> https://issues.apache.org/jira/browse/CALCITE-2495
>
> It would be great if the change could get a review or two.
> On the other hand, I'm sure it could be committed as is since it is more or
> less small build-script tuning kind of change (modulo various operating
> systems)
>
> The idea is to implement URL handling it in Sources.of(URL), and reuse the
> class everywhere.
> On top of that, I add URL.getPath() to the list of forbidden signatures (it
> returns encoded path, so it is hard to use properly).
>
> Note: the PR touches lots of various adapters, however those are mostly
> mechanical changes of URL.getPath to Sources.of(URL).file()
>
> Vladimir
>

Re: Calcite Jenkins fails due to spaces in folder names

Posted by Michael Mior <mm...@uwaterloo.ca>.
Awesome! Thanks again for getting this up and running :)

--
Michael Mior
mmior@uwaterloo.ca


Le lun. 10 sept. 2018 à 15:16, Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> a écrit :

> Michael>Excellent :) Would be great to have CI running on Windows. Thanks
> Vladimir!
>
> https://ci.appveyor.com/project/ApacheSoftwareFoundation/calcite/build/2
>
> It works, and it even uses C:\projects\calcite +\ folder (with space and
> plus!)
>
> I'm going to merge appveyor.yml from
> https://github.com/apache/calcite/pull/824/files
>
> Vladimir
>

Re: Calcite Jenkins fails due to spaces in folder names

Posted by Vladimir Sitnikov <si...@gmail.com>.
Michael>Excellent :) Would be great to have CI running on Windows. Thanks
Vladimir!

https://ci.appveyor.com/project/ApacheSoftwareFoundation/calcite/build/2

It works, and it even uses C:\projects\calcite +\ folder (with space and
plus!)

I'm going to merge appveyor.yml from
https://github.com/apache/calcite/pull/824/files

Vladimir

Re: Calcite Jenkins fails due to spaces in folder names

Posted by Michael Mior <mm...@apache.org>.
Excellent :) Would be great to have CI running on Windows. Thanks Vladimir!


--
Michael Mior
mmior@apache.org


Le lun. 10 sept. 2018 à 11:19, Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> a écrit :

> Thanks for the review.
>
> Michael> I'm not able to actually test on WIndows right now.
>
> I have raised https://issues.apache.org/jira/browse/INFRA-16999  to enable
> Appveyor integration.
>
> Hopefully we could get some level of Windows coverage that way.
>
> Vladimir
>

Re: Calcite Jenkins fails due to spaces in folder names

Posted by Vladimir Sitnikov <si...@gmail.com>.
Thanks for the review.

Michael> I'm not able to actually test on WIndows right now.

I have raised https://issues.apache.org/jira/browse/INFRA-16999  to enable
Appveyor integration.

Hopefully we could get some level of Windows coverage that way.

Vladimir