Preparing for 0.9 release of StzLib

42 views
Skip to first unread message

Mansour Ayouni

unread,
Jan 19, 2026, 6:57:09 AM (14 days ago) Jan 19
to The Ring Programming Language
Hello Mahmoud,

I will be publishing the first (experimental) release of StzLib in the occasion of the 10th Ring Anniversary so interested programmers can play with it and give their feedbacks.

The official release V1.0 will be released months later after finishing the current development I'm making of a real world software for a banking institution.

I need your help for packaging the lib in RingPM.

I think I have done all the necessary configs (except the addition of the dependencies I left for later). Please see:

Also I added an uptodate zip file.

But when I try:
ringpm install stzlib from mayouni

I first got a message that it already exists. So I went to the RingPM GUI tool and removed it (it's called stzlib-0.9 there, while I wish it is just called stzlib).:

image.png

And when I tried to install it again I got these messages:

image.png

Can you tell me what I've done wrong?

Best,
Mansour

Mahmoud Fayed

unread,
Jan 19, 2026, 10:37:58 PM (13 days ago) Jan 19
to The Ring Programming Language
Hello Mansour

>> "Can you tell me what I've done wrong?"

The error message means the RingPM can't find files in your GitHub project

This happens because package.ring file contains files that doesn't exist 

Example: (lib.ring)

Suggestion:

Delete all files from package.ring except these files
"main.ring",
"setup.ring",
"uninstall.ring",
"LICENSE",
"README.md"

:ringfolderfiles = [
"bin/load/stzlib.ring",
"libraries/stzlib.zip"
],

Then just update libraries/stzlib.zip to contains the recent version of the files

This way RingPM will download files, run setup.ring to unextract stzlib.zip

This is too much faster than installing files one by one

Greetings,
Mahmoud

Mansour Ayouni

unread,
Jan 19, 2026, 10:53:58 PM (13 days ago) Jan 19
to Mahmoud Fayed, The Ring Programming Language
Hello Mahmoud,

Thanks a lot for your hint, it works now!
image.png

How can I add a final message after extracting the zip to for example :
"All files are extracted successfully to /ring/libraries/stzlib folder"

Something I expected to have when i red this in main.ring file:
image.png
But nothing of that was displayed on the console...

Regards,
Mansour

--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/4ae1ec13-548b-4ac1-a1d9-e8d17f05fd3en%40googlegroups.com.

Mahmoud Fayed

unread,
Jan 19, 2026, 11:00:33 PM (13 days ago) Jan 19
to The Ring Programming Language
Hello Mansour

>> "Something I expected to have when i red this in main.ring file:"

The main.ring file is expected when you type the next command

ringpm run stzlib

>> "How can I add a final message after extracting the zip to for example :"

Check this section in the documentation: The Ring Package Manager (RingPM) — Ring 1.25.0 documentation

We have the (Setup) option which in your package.ring will run setup.ring: mayouni/stzlib: A foundation library for Ring applications


Greetings,
Mahmoud

Mansour Ayouni

unread,
Jan 19, 2026, 11:12:57 PM (13 days ago) Jan 19
to Mahmoud Fayed, The Ring Programming Language

Mahmoud Fayed

unread,
Jan 19, 2026, 11:16:46 PM (13 days ago) Jan 19
to The Ring Programming Language
Hello Mansour

You are welcome :D

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages