Closed ohnx closed 6 years ago
Hello, and thank you for the interest.
Bulk of the work is done by autoupdate.py which is present in this repository.
Quoting from my personal notes, which should pretty closely reflect the setup I used:
templeos.hourly
#!/bin/bash
cd
cd TempleOS
./autoupdate.py
git push origin nightly
templeos
#!/bin/bash
/bin/su - git-bot -c /home/git-bot/templeos.hourly
End quote.
I'll be glad to answer any further questions.
I'm having trouble extracting the latest TOS_Distro.ISO. Has Terry moved away from using ISO9660? That would break the script.
Please see #4. Would you be interested in tackling that issue as well?
Well, since I see that the OP didn't reply, I would like to volunteer myself to host the commit bot.
All the needed code is out there, I can only wish you good luck setting it up. Feel free to ask if you run into any specific issues.
If you get it working, I'll give you push access to the repo or something
Hey so @ghost brought this issue to my attention again... I still have that VPS!
I've been trying to run the autoupdate
and extract_templeos
scripts and ran into a few issues but I think I've solved them all now. For future reference:
pip3 install fusepy
, not apt install python-fuse
)./TOSZ
not found (copy it from Downloads/TOSZ)os.remove()
some files (use try
-except OSError
)Anyways, I got everything working + running as a cron job now. If you want, you can let ohnxbot
be a collaborator and I'll update the remote on my end (right now it's just pushing to a fork).
Also, right now the VPS is configured to push to master
every day at 00:00 EDT.
I sent you an invite a few days ago.
Whoops! Thanks for the reminder, I don't usually check this email.
Bot works.
Is the commit bot open source?
I have a spare VPS I wouldn't mind running it on.