Archiver 0.1 - IRIX/IMD GUI for tar.

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
foetz
Moderator
Moderator
Posts: 6592
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby foetz » Thu Oct 19, 2017 5:35 pm

svn works fine on irix. i've been using it for many years and still use it regulary. i'm not sure about the latest versions tho because i never felt the need to upgrade to 1.6 or higher.

User avatar
duck
Donor
Donor
Posts: 746
Joined: Mon Oct 27, 2003 5:22 pm
Location: Jakobstad, Finland
Contact:

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby duck » Sat Oct 21, 2017 2:54 am

I set up a mercurial repository (because I really like hg), and it should work on IRIX if you have python2.7. I have successfully built python3 so it should be just fine, though possibly a bit slow.

Public URL: https://mercurial.shangtai.net/repo/Archiver
Push URL: https://mercurial.shangtai.net/push/repo/Archiver, which requires a login, use nekochan and the sound it makes in japan with two a:s as a password.

The server that runs hgweb is in the process of having services migrated away from it, but I'll try to keep the migration seamless.

I'll go back to nursing my migraine now,
nyan,
duck

Edit: Just tried it, mercurial 4.3.3 (https://www.mercurial-scm.org/repo/hg/a ... 3.3.tar.gz) built perfectly with neko_python-2.7.3
:Octane: halo, octane Image knightrider, d i g i t a l AlphaPC164, pond, soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby vishnu » Sat Oct 21, 2017 10:16 pm

jimmer wrote:Of course we'll still have to send Vishnu tarballs on tape every couple of months... :twisted:


What! :shock: Why I oughta... :twisted:

Went to reinstall my system today and found my ancient Teac CD ROM is now suffering from the infamous IRIX "open door" syndrome. :roll:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
jimmer
Donor
Donor
Posts: 483
Joined: Tue Oct 12, 2004 3:54 pm
Location: London, Ingerlund

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby jimmer » Sun Oct 22, 2017 5:57 am

Open Door syndrome?

User avatar
duck
Donor
Donor
Posts: 746
Joined: Mon Oct 27, 2003 5:22 pm
Location: Jakobstad, Finland
Contact:

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby duck » Sun Oct 22, 2017 6:25 am

I don't have any myself, but I understand the Teac drives that SGI used have a plastic cog that tends to break/fall off.
:Octane: halo, octane Image knightrider, d i g i t a l AlphaPC164, pond, soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby dexter1 » Sun Oct 22, 2017 10:20 am

duck wrote:I don't have any myself, but I understand the Teac drives that SGI used have a plastic cog that tends to break/fall off.

Yes, except they are Toshiba's, see viewtopic.php?f=3&t=16727779#p7360973

UPDATE:

Code: Select all

hg clone https://mercurial.shangtai.net/repo/Archiver
mopes about SSL certificates:

abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

but

Code: Select all

hg clone http://mercurial.shangtai.net/repo/Archiver
is fine and the Archiver binary compiles.

An option to set the archiver binary would be neat so that people who have both nekoware's gnu tar (as gtar) and the IRIX native tar can switch, or even give a script: I use

Code: Select all

alias gztar   gzcat !$ | tar !^- -
to extract .gz tarballs since i haven't compiler gnu tar for my R4K yet.
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

User avatar
duck
Donor
Donor
Posts: 746
Joined: Mon Oct 27, 2003 5:22 pm
Location: Jakobstad, Finland
Contact:

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby duck » Sun Oct 22, 2017 11:13 am

dexter1 wrote:

Code: Select all

hg clone https://mercurial.shangtai.net/repo/Archiver
mopes about SSL certificates:

abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)


It's a let's encrypt certificate (I'm cheap) and that might be the issue?
:Octane: halo, octane Image knightrider, d i g i t a l AlphaPC164, pond, soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby dexter1 » Sun Oct 22, 2017 11:31 am

duck wrote:[It's a let's encrypt certificate (I'm cheap) and that might be the issue?

Could be, but i can curl https://helloworld.letsencrypt.org/ but not the mercurial repo via https.
I don't think the certificate is invalid, it's probably mercurial. If i supply '--insecure' to the https url, it works:

Code: Select all

hg clone --insecure https://mercurial.shangtai.net/repo/Archiver
warning: mercurial.shangtai.net certificate with fingerprint 4f:db:cf:c4:9e:e7:42:b7:c7:d7:40:ac:47:c1:c1:81:0f:97:d0:14 not verified (check hostfingerprints or web.cacerts config setting)
destination directory: Archiver
requesting all changes
adding changesets
adding manifests
adding file changes
added 4 changesets with 49 changes to 25 files
updating to branch default
21 files updated, 0 files merged, 0 files removed, 0 files unresolved
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

User avatar
jimmer
Donor
Donor
Posts: 483
Joined: Tue Oct 12, 2004 3:54 pm
Location: London, Ingerlund

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby jimmer » Sun Oct 22, 2017 8:25 pm

Well, so far mercurial has lived up to its name. Couldn't get 4.3.3 to compile, so am using canavan's 3.8.1 and python 2.7.13 from nekoware beta. I was able to pull Archiver 0.4 from the repo with dexter's --insecure flag. However, I wasn't able to authenticate to upload Archiver 0.5 (what sound _does_ a Japanese cat make?) and with https I get a ton of certificate errors. Also, the whole thing is pretty slow on my O2:

Code: Select all

avi@bluebox ~/doc/sgi/archiver/src > time hg version
Mercurial Distributed SCM (version 3.8.1)
(see https://mercurial-scm.org for more information)

Copyright (C) 2005-2016 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

real    0m14.199s
user    0m12.688s
sys     0m0.793s


>10 seconds to get a mere version number from a local binary/script? hg log, hg add, hg commit etc. are all really slow too. I'm obviously doing something wrong.

So here's the 0.5 tarball. I'll post the tape to myself in the morning :)

- UI bug fixed: archive extension to the archive filename on the archive creation dialog now sets correctly.
- minor code clean-up

archiver-0.5.tar.gz
(11.26 KiB) Downloaded 3 times

For 0.6 I'll try to add GNU tar/IRIX tar binary switching logic and some other minor configuration things.

Have a great week y'all!
:Fuel: redbox 800Mhz 4Gb V12
:O2: bluebox 200Mhz 256Mb AV1+O2Cam

User avatar
duck
Donor
Donor
Posts: 746
Joined: Mon Oct 27, 2003 5:22 pm
Location: Jakobstad, Finland
Contact:

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby duck » Mon Oct 23, 2017 10:19 am

dexter1 wrote:
duck wrote:[It's a let's encrypt certificate (I'm cheap) and that might be the issue?

Could be, but i can curl https://helloworld.letsencrypt.org/ but not the mercurial repo via https.
I don't think the certificate is invalid, it's probably mercurial. If i supply '--insecure' to the https url, it works:


It's not mercurial either, apparently I had some sort of massive brain fart when setting up SSL. I'll try to fix it.

jimmer wrote:Well, so far mercurial has lived up to its name. Couldn't get 4.3.3 to compile, so am using canavan's 3.8.1 and python 2.7.13 from nekoware beta. I was able to pull Archiver 0.4 from the repo with dexter's --insecure flag. However, I wasn't able to authenticate to upload Archiver 0.5 (what sound _does_ a Japanese cat make?) and with https I get a ton of certificate errors. Also, the whole thing is pretty slow on my O2:


Yeah, it's slow because it needs to spool up the python executable. I updated the repo anyway.

My 2xR12k@300 Octane runs hg version (4.3.3) in 1.67 seconds. My alpha ev56@500 takes 7 seconds (hg 4.1.1). I actually used it quite a lot on the alpha...

Japanese cats say nyaan.
:Octane: halo, octane Image knightrider, d i g i t a l AlphaPC164, pond, soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.

User avatar
foetz
Moderator
Moderator
Posts: 6592
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby foetz » Mon Oct 23, 2017 6:11 pm

jimmer wrote:hg log, hg add, hg commit etc. are all really slow too

i recommended svn for a reason. no point in putting up with all the excess from using an interpreted language if you can have it directly.

User avatar
duck
Donor
Donor
Posts: 746
Joined: Mon Oct 27, 2003 5:22 pm
Location: Jakobstad, Finland
Contact:

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby duck » Thu Nov 02, 2017 12:05 pm

I sure hope I didn't curb development because having a repo with a slow client acts as a retarder to development?
:Octane: halo, octane Image knightrider, d i g i t a l AlphaPC164, pond, soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.

User avatar
jimmer
Donor
Donor
Posts: 483
Joined: Tue Oct 12, 2004 3:54 pm
Location: London, Ingerlund

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby jimmer » Thu Nov 02, 2017 2:58 pm

@Duck - LOL - no, you didn't cause The-World-As-We-Know-It to come to a messy end :)

I've fixed and added most of the stuff I was planning to add for 0.6, but I've had to disconnect bluebox for a bit while stuff goes on in my house. I'll try and get 0.6 out some time this weekend.
:Fuel: redbox 800Mhz 4Gb V12
:O2: bluebox 200Mhz 256Mb AV1+O2Cam

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby vishnu » Fri Nov 03, 2017 6:07 pm

Trying

Code: Select all

hg clone https://mercurial.shangtai.net/repo/Archiver
I get abort: error: Connection refused

Trying

Code: Select all

Public URL: https://mercurial.shangtai.net/repo/Archiver
I get Unable to connect Firefox can’t establish a connection to the server at mercurial.shangtai.net. :roll:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
jimmer
Donor
Donor
Posts: 483
Joined: Tue Oct 12, 2004 3:54 pm
Location: London, Ingerlund

Re: Archiver 0.1 - IRIX/IMD GUI for tar.

Unread postby jimmer » Fri Nov 03, 2017 6:34 pm

Right, well, Errhmmm, here's Archiver version 0.6.

Unfortunately, I have had to remove most of the 'make it work with stock IRIX tar' stuff i tried, as it wasnt working very well. Because we're using the VkProgram/VkSubprocess thing, it's not liking the whole *cat pipe into tar thing much. I tried some variations but i couldn't get it to work well, so I gave up as GNU tar works like a charm. I've left the scaffolding for it in the code, look for the lifesize FIXME's. If there's an intrepid soul who wants to work on getting stock IRIX tar to work - your efforts will be lauded by all!

other than that:

- you can now add '#DATE' anywhere in your archive filename and archiver will replace the marker with a current datestamp.
- settings dialog has a new switch to add files to archives with relative paths.
- some more code clean-up

Please note that archiver still doesn;t do much checking for things like: are the various compressors actually installed on your system? or: did you really just enter that silly value? Ideally archiver should do a bunch of runtime checks. It doesn't. I also couldn't decide if archiver should open the archives it creates immediately after creating them. In the end I decided against having an 'auto open' feature but it would be trivial to add that to the settings dialog.

I hope somebody finds this final-ish version useful. I don't think I'll be adding much more to this thing as it more or less does what I need it to do. My itch has been scratched.

Have fun with it! :)

J
Attachments
archiver-0.6.tar.gz
(13.09 KiB) Downloaded 6 times
:Fuel: redbox 800Mhz 4Gb V12
:O2: bluebox 200Mhz 256Mb AV1+O2Cam


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 2 guests