jquast / x84

A python telnet/ssh server for modern terminals. In spirit of classic software such as ami/x, teleguard, renegade, iniquity.
http://x84.readthedocs.org/
Other
373 stars 56 forks source link

Implement child config directory in [system] option scriptpath #269

Closed jesseward closed 9 years ago

jesseward commented 9 years ago

Adds logic to support the notion of a 'child config directory'. Requested in issue #241. scriptpath now supports a command delimited list of directories.

Example scriptpath = /opt/bbs/bbs.jesseward.com/scripts,/usr/local/src/github/x84/x84/x84/default

The highest preference directory location will reside at list index 0. If index 0 misses, the imp.find_module() iterates through the list until a hit is returned.

Verified that the presence of a single scriptpath directory does not cause negative impact to existing installations.

landscape-bot commented 9 years ago

Code Health Repository health decreased by 0.03% when pulling 3910cb3 on jesseward:x84-241-child-config-directory into 8d383e9 on jquast:master.

jquast commented 9 years ago

thanks, pretty good.

I fly out in the morning so I might not get to review again for a few days, no hurry.

haliphax commented 9 years ago

Awesome!

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling 9f068dc on jesseward:x84-241-child-config-directory into 8d383e9 on jquast:master.