GithubHelp home page GithubHelp logo

Comments (8)

Heartmender avatar Heartmender commented on September 27, 2024

Would it be sufficient to add a note for the correct use/placement of example.conf in its header?

from charybdis.

anarcat avatar anarcat commented on September 27, 2024

No - the idea here is for the make install target to yield working install.

from charybdis.

sariyamelody avatar sariyamelody commented on September 27, 2024

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.

anarcat avatar anarcat commented on September 27, 2024

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.

Heartmender avatar Heartmender commented on September 27, 2024
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.

sariyamelody avatar sariyamelody commented on September 27, 2024

@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.

Heartmender avatar Heartmender commented on September 27, 2024

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.

anarcat avatar anarcat commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.