jsan and .tgz archives

4 views
Skip to first unread message

MattWa

unread,
Apr 26, 2010, 5:50:58 AM4/26/10
to JSAN Users
Hi,
I recently installed jsan and saw the distribution ruby.js, released
as /dist/a/b/c/ruby.js-0.4.0.tgz
I note that every* other distribution has extension .tar.gz
Would it be possible to have this module re-uploaded with an updated
file extension, or is there a better way?

thanks,

Matt.

--
You received this message because you are subscribed to the Google Groups "JSAN Users" group.
To post to this group, send email to js...@googlegroups.com.
To unsubscribe from this group, send email to jsan+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jsan?hl=en.

Nickolay Platonov

unread,
Apr 26, 2010, 6:02:53 AM4/26/10
to js...@googlegroups.com
Hi,

You can't extract it from archive?

Nickolay

MattWa

unread,
Apr 27, 2010, 6:25:20 AM4/27/10
to JSAN Users
I could, but I'm running jsan (JSAN::Shell) as an executable, which
has certain expectations as to what is valid:

jsan> install
ruby.js
Scanning index for dependencies...
Fetching releases from JSAN...
1 of 1: Mirroring release /dist/f/fl/flgr/ruby.js-0.4.0.tgz
Installing release to '/Users/[$USER]/usr/local/lib/jsan'
1 of 1: Extracting release /dist/f/fl/flgr/ruby.js-0.4.0.tgz
Failed to load unsupported archive type /dist/f/fl/flgr/
ruby.js-0.4.0.tgz at /Library/Perl/5.8.8/JSAN/Client.pm line 300

On Apr 26, 11:02 am, Nickolay Platonov <nickol...@gmail.com> wrote:
> Hi,
>
> You can't extract it from archive?
>
> Nickolay
>
>
>
> On Mon, Apr 26, 2010 at 1:50 PM, MattWa <matt.wal...@gmail.com> wrote:
> > Hi,
> > I recently installed jsan and saw the distribution ruby.js, released
> > as /dist/a/b/c/ruby.js-0.4.0.tgz
> > I note that every* other distribution has extension .tar.gz
> > Would it be possible to have this module re-uploaded with an updated
> > file extension, or is there a better way?
>
> > thanks,
>
> > Matt.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "JSAN Users" group.
> > To post to this group, send email to js...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > jsan+uns...@googlegroups.com <jsan%2Bunsu...@googlegroups.com>.
> > For more options, visit this group at
> >http://groups.google.com/group/jsan?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "JSAN Users" group.
> To post to this group, send email to js...@googlegroups.com.
> To unsubscribe from this group, send email to jsan+uns...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/jsan?hl=en.

Nickolay Platonov

unread,
Apr 27, 2010, 6:46:33 AM4/27/10
to js...@googlegroups.com
On Tue, Apr 27, 2010 at 2:25 PM, MattWa <matt....@gmail.com> wrote:
I could, but I'm running jsan (JSAN::Shell) as an executable, which
has certain expectations as to what is valid:

jsan> install
ruby.js
Scanning index for dependencies...
Fetching releases from JSAN...
1 of 1: Mirroring release /dist/f/fl/flgr/ruby.js-0.4.0.tgz
Installing release to '/Users/[$USER]/usr/local/lib/jsan'
1 of 1: Extracting release /dist/f/fl/flgr/ruby.js-0.4.0.tgz
Failed to load unsupported archive type /dist/f/fl/flgr/
ruby.js-0.4.0.tgz at /Library/Perl/5.8.8/JSAN/Client.pm line 300


Oh, I see.

So, is the *.tgz just a synonym for *.tar.gz? If so it can be added as supported archive type to the shell.


Regards, Nickolay

MattWa

unread,
Jun 8, 2010, 11:35:30 AM6/8/10
to JSAN Users
On Apr 27, 11:46 am, Nickolay Platonov <nickol...@gmail.com> wrote:
> On Tue, Apr 27, 2010 at 2:25 PM, MattWa <matt.wal...@gmail.com> wrote:
> > I could, but I'm running jsan (JSAN::Shell) as an executable, which
> > has certain expectations as to what is valid:
>
> > jsan> install
> > ruby.js
> > Scanning index for dependencies...
> > Fetching releases from JSAN...
> > 1 of 1: Mirroring release /dist/f/fl/flgr/ruby.js-0.4.0.tgz
> > Installing release to '/Users/[$USER]/usr/local/lib/jsan'
> > 1 of 1: Extracting release /dist/f/fl/flgr/ruby.js-0.4.0.tgz
> > Failed to load unsupported archive type /dist/f/fl/flgr/
> > ruby.js-0.4.0.tgz at /Library/Perl/5.8.8/JSAN/Client.pm line 300
>
> Oh, I see.
>
> So, is the *.tgz just a synonym for *.tar.gz? If so it can be added as
> supported archive type to the shell.
>
> Regards, Nickolay
>
> --
This worked (with 1 error reported)
Matt.

*** JSAN/Index/Release.pm 2010-06-08 16:30:49.000000000 +0100
--- JSAN/Index/Release-old.pm 2010-06-08 16:13:58.000000000 +0100
***************
*** 224,230 ****
my $self = shift;

# Load tarballs
! if ( $self->source =~ /(\.tar\.gz|\.tgz)$/ ) {
require Archive::Tar;
my $tar = Archive::Tar->new;
my $path = $self->mirror;
--- 224,230 ----
my $self = shift;

# Load tarballs
! if ( $self->source =~ /\.tar\.gz$/ ) {
require Archive::Tar;
my $tar = Archive::Tar->new;
my $path = $self->mirror;

Nickolay Platonov

unread,
Jun 8, 2010, 10:34:33 PM6/8/10
to js...@googlegroups.com
With 1 error? During archive extraction or .. ?

Nickolay

Reply all
Reply to author
Forward
0 new messages