Comments (8)
Would it be sufficient to add a note for the correct use/placement of example.conf in its header?
from charybdis.
No - the idea here is for the make install
target to yield working install.
from charybdis.
Personally, I think having a working example configuration upon building is a Bad Thing^tm. Configuration and customization is absolutely crucial for a proper IRC network, and this should be made clear - and it is, in the current configuration. Looking at solutions, I would recommend what Heartmender suggested, notes about the correct placement in the header of example.conf.
Additionally, from quick testing of my own (see below), it appears that attempting to start Charybdis without a configuration file in place does not show any kind of error, it simply stops. Someone please correct me if this is wrong. If this is the current behaviour, however, I would recommend adding a notification to create an ircd.conf if one is not found when running the ircd binary.
[VPS] rylai@crestfall:~/ircd/bin $ ./ircd
notice: starting charybdis-3.5.0-dev ...
notice: libratbox version: 20081213_1-26296 - Using SSL: OpenSSL 1.0.1e 11 Feb 2013 compiled: 0x1000105f, library 0x1000105f
[VPS] rylai@crestfall:~/ircd/bin $
from charybdis.
This assumes that people will install charybdis to build a fully-fledged network, whereas it can also be useful to install charybdis to (say) develop IRC bots locally, and the example config is well adapted to that (or should be).
from charybdis.
quora@fluttershy:~/Prefixes/Chary/bin$ ./ircd
notice: starting charybdis-3.5.0-dev ...
notice: libratbox version: 20081213_1-26296 - Using SSL: OpenSSL 1.0.1c 10 May 2012 compiled: 0x1000103f, library 0x1000103f
notice: FATAL: No config file found at /home/quora/Prefixes/Chary/etc/ircd.conf, exiting
How would this be in addition to renaming example.conf
to ircd.conf.example
in the same style as Atheme's atheme.conf.example
? I feel that a patch like this is best suited for packaging in places like Debian's repositories, and not in the upstream source tree.
from charybdis.
@anarcat
That is a possible situation, yes. I still don't think that is reasoning enough for a working ircd.conf out of the box. I could see a barebones.conf example file potentially being included for purposes like that, I guess.
@Heartmender
I do believe that this would be a good idea.
from charybdis.
Please see adef4da and e3b534d. I am considering this closed as a patch to further rename these files can be introduced to Debian locally.
from charybdis.
I already did, in fact, include that patch in the Debian package. The patch is really silly and unreadable as it removes one file and creates the other, yet there's no change.
I wanted to avoid this confusing and useless change with upstream, but it seems I failed. :)
But since the patch was refused, I will simply drop it on our side and rename the file during the build process instead.
from charybdis.
Related Issues (20)
- Catastrophic compile fail in commio.c (librb) in (I believe) master HOT 2
- FreeBSD: Port bind issue HOT 3
- SCTP is not documented in reference/example.confs
- hideserver module /map for users HOT 4
- Cannot add channel modes without "+". HOT 1
- /stats C is undocumented
- a mode to mute unregistered users and show a helpful error HOT 2
- make more snotes netwide
- consider sending set by/at on BMASK burst
- ban lists preventing adding subsets of active supersets assumes human behaviour
- TLS-SRP
- warn users affected by +zq/+zb HOT 1
- Unknown date build field from release
- make `+rb $~a` prioritise ERR_NEEDREGGEDNICK
- extban for matching a mask only when unidentified
- autogen.sh fails with missing libtool files HOT 1
- KICK without a source is ignored HOT 4
- wsock doesn't accept input.
- I-Line problem
- m_requirectcp.cpp botnets/spambots/floodbots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charybdis.