Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker, bug fixes, and more #12

Merged
merged 26 commits into from
Mar 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
27ce16b
Fixes to some places where sds is used
amnuts Feb 1, 2023
c00d4bc
Renamed amnuts binary and main source file to remove the version number
amnuts Feb 1, 2023
c189c84
Started a bit of a restructure
amnuts Feb 12, 2023
a860075
Renamed the 'storage' directory to something better
amnuts Feb 13, 2023
dd3392a
Started to update some docs
amnuts Feb 13, 2023
9ffb7b1
Changed to alpine for smaller image
amnuts Feb 13, 2023
36175d6
Further docker-related tweaks
amnuts Feb 13, 2023
9f59d7c
Fixed some sdsfree calls to be int he right places
amnuts Feb 13, 2023
0470b03
Merge pull request #10 from amnuts/dockerize
amnuts Feb 13, 2023
06cfc2d
Updated vendor files for sds
amnuts Feb 13, 2023
a74e322
Moved help command related functions to the help command file
amnuts Feb 13, 2023
9ca32ac
Fixed segfault when swapping sessions on same user
amnuts Feb 14, 2023
85d1e4c
Merge pull request #11 from amnuts/sds-update
amnuts Feb 14, 2023
1b18af3
PR feedback: fixed typo
amnuts Feb 15, 2023
bed438d
PR feedback: consistency on paths in defines.h
amnuts Feb 15, 2023
5fa2f9c
Updated some emails, urls, and typos
amnuts Feb 16, 2023
09797e7
Corrected line endings and typos
amnuts Feb 16, 2023
5f0f534
Added email address back in
amnuts Feb 16, 2023
d862864
Fixed some issues
amnuts Feb 16, 2023
63cd916
Resolved some more buffer overflows
amnuts Feb 16, 2023
fc0a880
Add define to make alignment more obvious
amnuts Feb 17, 2023
da2c18b
Removed compiled warnings from align_strings function
amnuts Feb 17, 2023
3499f71
Fixing some typos
amnuts Feb 17, 2023
a7ce2cf
Updated some texts
amnuts Feb 18, 2023
8ef3b9a
Prevent globbing
amnuts Mar 18, 2023
0c33c4f
Small tweak to script
amnuts Mar 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 24 additions & 34 deletions README
Original file line number Diff line number Diff line change
@@ -1,46 +1,36 @@
+-----------------------------------------------------------------------------+
README - README - README - README - README - README - README - README - README
Introductory information for the Unix talker code Amnuts
README - README - README - README - README - README - README - README
Introductory information for the Amnuts talker code
+-----------------------------------------------------------------------------+

Welcome to the Amnuts talker code, version 2.3.0! Or, if you have already
used Amnuts, then welcome back! This is the latest version of Amnuts and MANY
things have changed.
Welcome to the Amnuts talker code! Or, if you have already used Amnuts, then
welcome back - it's good to still have you with us. :-)

Amnuts development slowed down for a (long) while, but thanks to two people
in particular, it managed to get back on track. These people go by the handles
'Ardant' and 'Uzume'. Ardant supplied a CVS repository and bug tracking
software for Amnuts, and Uzume and worked tirelessly in updating Amnuts and
making it more stable. Many thanks to both of them.
It has been 20 years - yup, two whole decades - since this README was last
updated, and, honestly, not much has changed in the world of Amnuts Talkers.
The Golden Age of talkers has long past, though it's still awesome to see some
die-hard fans still out there and keeping talkers alive (Marado's TalkerNode,
for example).

Because of the CVS and Bugzilla, a new website was set up for the development
of the Amnuts talker code. This can be found at:
As for Amnuts, as you're undoubtedly aware, it's now available from GitHub:

http://www.amnuts.net/
https://github.com/amnuts/Amnuts
or https://amnuts.net/

Instructions can be found there on how to use CVS and Bugzilla. If you find
any bugs with this version of Amnuts then it would be appreciated if you use
Bugzilla to report them. From the CVS repository you can download the latest
files.
You can submit issues and post up on the discussion board there. Please feel
free to fork and submit pull requests.

The Amnuts code can be found, as always, at:
To get started with Amnuts you'll need either a linux environment or you can
use docker. For further details, see the docs/docker and and other related
files in the docs directory.

http://amnuts.talker.com/
Lots of the documentation and files where haven't been updated for those same
amnuts marked this conversation as resolved.
Show resolved Hide resolved
two decades, but hopefully one day they will be revived and revamped. Until
then, just head towards the wind and push on as best you can. ;-)

or can now also be access via:
Thanks for using Amnuts and, as you're here you must be interested in talkers,
so thanks also for keeping those alive! Enjoy!

http://www.amnuts.org/

Please read the 'IMPORTANT' file, and the 'amnuts_changes' in the DOCs
directory for more information on what changes have been made since
version 2.2.1 (the previous release to this one) because there have been a
LOT of them! Even if you are a previous Amnuts user, programmer, owner,
whatever - you should STILL READ THE FILES! :)

Thanks for using Amnuts! Enjoy!


Andrew Collington
The Amnuts Development Team
August, 2003
Andrew Collington
February, 2023
+-----------------------------------------------------------------------------+
41 changes: 41 additions & 0 deletions docs/docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
+------------------------------------------------------------------------------+
DOCKER - DOCKER - DOCKER - DOCKER - DOCKER - DOCKER - DOCKER - DOCKER - DOCKER
Information on spinning up Amnuts with Docker
+------------------------------------------------------------------------------+

The Docker setup for Amnuts is pretty new and probably doesn't cover all the
needs you could want, and if you have to change things then you're pretty much
on your own. However, it could provide you a way to compile and run an Amnuts
based talker without having all the GCC requirements installed... So long as
you have bash and docker, you should be able to get up and running pretty easily.

To start with, you'll need to run:

./docker-startup.sh

This will create the Dockerfile and docker-compose.yml files for your platform
(amd64 or arm64v8 are supported). If you make changes to the docker-startup.sh
file or the accompanying supervisord.conf file, you'll need to remove the
previously built image (assuming you have built one) and run the docker-setup
file again.

To compile the code, use the command:

docker-compose run --rm amnuts make install

This will build the image if you haven't already, create a container, compile
the talker, then remove the container. Because all the files are mounted as a
volume, you'll not lose any files when the container is removed.

In fact, you can run any of the Makefile commands this way, eg:

docker-compose run --rm amnuts make distclean

If you want to jump on the container itself, use:

docker-compose run --rm amnuts /bin/bash

Once you have run the "make install" command, you can then start the talker
with:

docker-compose run amnuts