News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Developer Tools

Started by SleePy, March 02, 2023, 10:05:19 PM

Previous topic - Next topic

SleePy

Link to the mod

This tool is to help developers working with hooks only customizations.

This gives a popup window for you to work with a package to do actions such as:
   - Reinstall hooks (adds/replaces matching hooks) as defined in the packages install action
   - Remove hooks (removes hooks as defined in the packages uninstall action
   - Pushes files out as per the packages install action
   - Pulls files in as per the packages install action
   - Compress customization into tgz (tar with gzip) and zip

This is intended for development purposes, not production uses.
This customization is intended to only be used with customizations that do not modify SMF sources (boardmod or xml) and are hook only.
To use this, your customization must be in the folder format, not in a compressed archive (.tar.gz or .zip) inside the Packages folder.
Extended information on how to use this tool can be found here: https://github.com/jdarwood007/smfmod_devtools/wiki

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Bugo

Interesting, I'll take note! :)

SleePy

Yea.  This was a improvement over my own tools.  I write my mods by having the git repo in the folder in the Packages folder, which SMF supports for installs.  I then would sync my changed files from their relevant SMF locations back into the package folder and commit up in git.   The hooks also was a improved tool as I typically need to add/modify hooks as the code progressed.  Finally just put these together as a real tool rather than a collection of scripts I need to otherwise keep around.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

-Rock Lee-

This is great for me :P several codes from your repository saved me on several occasions :D by the way I leave the translation into Spanish.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

SleePy

Thanks.  I will look at getting it added into a release.  Or you can also submit it as a PR against the repo: https://github.com/jdarwood007/smfmod_devtools
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: