Re: [julia-users] How to unpack a .tar file in Julia?
Thanks for the info. The problem is solved (in the meantime). See GR.jl commit 889f9d0 On Tuesday, February 2, 2016 at 12:34:45 AM UTC+1, Tony Kelman wrote: > > Check the BinDeps package for unpack_cmd > > > On Monday, February 1, 2016 at 4:34:13 AM UTC-8, Aslak Grinsted wrote: >> >> >> I have a problem that i do not have tar on my windows machine, and for >> that reason Pkg.build("GR") fails. I tried fixing it using 7zip as that was >> present in my julia bin folder by replacing >> >> run(`tar xzf downloads/$tarball`) >> >> with >> >> run(pipeline(`7z x -so downloads/$tarball`,`7z x -aoa -si -ttar -o"."`)) >> >> --- That worked fine on my windows machine, but fails on travis: >> https://travis-ci.org/jheinen/GR.jl/jobs/106192456 >> >> Any tips are welcome. >> >> >> >> >> >> >> >> >> On Tuesday, March 10, 2015 at 9:33:06 PM UTC+1, Stefan Karpinski wrote: >>> >>> I would just shell out to the tar command and then work with the >>> untarred directory. >>> >>> On Tue, Mar 10, 2015 at 4:05 PM, Weijian Zhang >>> wrote: >>> Hello, I have a .tar.gz file. With GZip.jl, I can write code to unzip it to a .tar file. But how can I unpack this .tar file in Julia? Thanks, Weijian >>>
Re: [julia-users] How to unpack a .tar file in Julia?
Check the BinDeps package for unpack_cmd On Monday, February 1, 2016 at 4:34:13 AM UTC-8, Aslak Grinsted wrote: > > > I have a problem that i do not have tar on my windows machine, and for > that reason Pkg.build("GR") fails. I tried fixing it using 7zip as that was > present in my julia bin folder by replacing > > run(`tar xzf downloads/$tarball`) > > with > > run(pipeline(`7z x -so downloads/$tarball`,`7z x -aoa -si -ttar -o"."`)) > > --- That worked fine on my windows machine, but fails on travis: > https://travis-ci.org/jheinen/GR.jl/jobs/106192456 > > Any tips are welcome. > > > > > > > > > On Tuesday, March 10, 2015 at 9:33:06 PM UTC+1, Stefan Karpinski wrote: >> >> I would just shell out to the tar command and then work with the untarred >> directory. >> >> On Tue, Mar 10, 2015 at 4:05 PM, Weijian Zhang wrote: >> >>> Hello, >>> >>> I have a .tar.gz file. With GZip.jl, I can write code to unzip it to a >>> .tar file. >>> But how can I unpack this .tar file in Julia? >>> >>> Thanks, >>> >>> Weijian >>> >>> >>
Re: [julia-users] How to unpack a .tar file in Julia?
I have a problem that i do not have tar on my windows machine, and for that reason Pkg.build("GR") fails. I tried fixing it using 7zip as that was present in my julia bin folder by replacing run(`tar xzf downloads/$tarball`) with run(pipeline(`7z x -so downloads/$tarball`,`7z x -aoa -si -ttar -o"."`)) --- That worked fine on my windows machine, but fails on travis: https://travis-ci.org/jheinen/GR.jl/jobs/106192456 Any tips are welcome. On Tuesday, March 10, 2015 at 9:33:06 PM UTC+1, Stefan Karpinski wrote: > > I would just shell out to the tar command and then work with the untarred > directory. > > On Tue, Mar 10, 2015 at 4:05 PM, Weijian Zhang > wrote: > >> Hello, >> >> I have a .tar.gz file. With GZip.jl, I can write code to unzip it to a >> .tar file. >> But how can I unpack this .tar file in Julia? >> >> Thanks, >> >> Weijian >> >> >
Re: [julia-users] How to unpack a .tar file in Julia?
All right, thanks. On Tuesday, 10 March 2015 20:33:06 UTC, Stefan Karpinski wrote: > > I would just shell out to the tar command and then work with the untarred > directory. > > On Tue, Mar 10, 2015 at 4:05 PM, Weijian Zhang > wrote: > >> Hello, >> >> I have a .tar.gz file. With GZip.jl, I can write code to unzip it to a >> .tar file. >> But how can I unpack this .tar file in Julia? >> >> Thanks, >> >> Weijian >> >> >
Re: [julia-users] How to unpack a .tar file in Julia?
I would just shell out to the tar command and then work with the untarred directory. On Tue, Mar 10, 2015 at 4:05 PM, Weijian Zhang wrote: > Hello, > > I have a .tar.gz file. With GZip.jl, I can write code to unzip it to a > .tar file. > But how can I unpack this .tar file in Julia? > > Thanks, > > Weijian > >
[julia-users] How to unpack a .tar file in Julia?
Hello, I have a .tar.gz file. With GZip.jl, I can write code to unzip it to a .tar file. But how can I unpack this .tar file in Julia? Thanks, Weijian