Time Nick Message 15:16 Methacrylon Hi, I made a pull request with some refactoring, adding no new feature. My PR fails on travis because of the build on MacOS taking to much time (50min). Is there something I can do about it? 15:17 Methacrylon Second question, I would like to know what are the guidelines for the documentation of code, and how I can help on this topic :) 15:22 sfan5 failing macos build is not a problem 15:23 Methacrylon Ok, that's what I supposed, but thanks for the confirmation 15:23 Methacrylon What's the process to have a PR accepted? 15:33 Methacrylon I've to go, I may figure out anyway 16:19 festerdam I'm trying to compile minetest on GNU/Linux. When I run cmake, I am informed that my gcc version is too old. I have a newer compiler installed on my system, which isn't initially in PATH, so I tried to set the CC and the CXX variables to the path of the C compiler and the C++ compiler respectively. I still received the same error messages. Then I tried to define CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to the same paths as before but the 16:20 festerdam I tried to run cmake by running: cmake . -D RUN_IN_PLACE=TRUE -D CMAKE_C_COMPILER=$HOME/Software/gcc-9.1.0/bin/x86_64-pc-linux-gnu-gcc-9.1.0 -D CMAKE_CXX_COMPILER=$HOME/Software/gcc-9.1.0/bin/x86_64-pc-linux-gnu-g++ 16:21 festerdam I don't know much about cmake. 16:21 nepugia did you remove the cmake cache thingy? 16:22 festerdam I did not. How do I clear it? 16:22 nepugia also, do you want to use those as enviroment variables? or as cmake thingies 16:22 nepugia if they are intended to be enviroment variables they are in the wrong place 16:23 nepugia There should be a file named CMakeCache or something that can be deleted (and a folder cmake creates) 16:24 Calinou rm CMakeCache.txt 16:25 Calinou alternatively, to clean all generated files: "git clean -dfxi" 16:25 Calinou (if you cloned the repository using Git) 16:27 festerdam There was no CMakeCache.txt in the source directory but I was able to clean it with git. Now it works. 16:27 festerdam Thanks! 16:55 DS-minetest is somewhere documented, which exception should be used in which cases 16:55 DS-minetest ? 17:20 sfan5 what do you mean by that? 17:21 DS-minetest if I want to throw an error, I have to use exceptions.h, right? are the exceptions in there somehow documented? 17:30 sfan5 if in doubt throw a BaseException 19:40 MinetestBot 02[git] 04paramat -> 03minetest/minetest: Dungeons: Make multiple large rooms possible (#8678) 13458f617 https://git.io/fj1IK (152019-07-16T19:39:58Z) 19:44 MinetestBot 02[git] 04HybridDog -> 03minetest/minetest: Use vector.dot and vector.cross in vector.angle 134122969 https://git.io/fj1IP (152019-07-16T19:44:42Z) 19:44 MinetestBot 02[git] 04HybridDog -> 03minetest/minetest: Add vector.dot and vector.cross 1371db715 https://git.io/fj1IX (152019-07-16T19:44:42Z) 19:57 tpe I just grabbed Minetest git and built a bare server on an RPi4. Running the minetestserver binary gives me 19:57 tpe 2019-07-16 20:53:32: ERROR[Main]: Subgame specified in default_game [minetest] is invalid. 19:57 tpe 2019-07-16 20:53:32: ERROR[Main]: ServerError: Supplied invalid gamespec 19:58 tpe What am I missing? 19:58 Methacrylon I'm not sure, but I think your missing the minetest default game 19:58 Methacrylon Which is in a separate repo 19:59 Methacrylon https://github.com/minetest/minetest_game 19:59 tpe You know what, I should have double checked that. I DID grab minetest_game from git but it hasn't gone in the right folder. 20:00 tpe I must have cocked that up somewhere. :D 20:00 Methacrylon Ahah maybe :p 20:00 Methacrylon If you put it in games folder, you should be good 20:00 Methacrylon I'm curious how well minetest server can run an RPi, let me know :) 20:03 tpe Moved it to the right place, now says 20:03 tpe 2019-07-16 21:02:12: [Main]: Automatically selecting world at [/media/pi/Beans/minetest/../worlds/world] 20:03 tpe 2019-07-16 21:02:12: ERROR[Main]: Subgame [] could not be found. 20:03 tpe 2019-07-16 21:02:13: ERROR[Main]: ServerError: Supplied invalid gamespec 20:04 DS-minetest user_path/games 20:05 DS-minetest wait, that is the subgame "" 20:06 sfan5 you might have to fix world.mt to say minetest_game 20:07 tpe It had gameid = minetest, changing to minetest_game but still same error 20:08 sfan5 well then the problem is elsewhere 20:08 sfan5 it should say "minetest" 20:08 sfan5 but the server isn't finding it 20:09 sfan5 Methacrylon: also, while we do use clang-format running it on the entire source file makes it hard to review your changes 20:09 sfan5 please don't 20:11 tpe I'm an idiot. I was running the binary from the wrong place, working now. 20:19 Methacrylon sfan5 yes ok, so when is used clang-format? Should I make the PR, wait for it to be accepted, and then run clang-format before merge? 20:20 sfan5 at some point, someone else will probably run clang-format to "convert" remaining files 20:20 Methacrylon Ok, I take note of it :) 20:26 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Support for icesheet dungeons in dungeon_loot 13b701e50 https://git.io/fj1Lm (152019-07-16T20:26:35Z) 20:26 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Switch dungeon type detection to biome name 133771086 https://git.io/fj1LY (152019-07-16T20:26:35Z) 21:16 festerdam Hi, all. 21:17 sfan5 hello 21:18 festerdam When I try to use the button "Content" > "Browse online content" in 5.0.1 I get the following error message: ERROR[Main]: https://content.minetest.net/api/packages/?type=mod&type=game&type=txp&protocol_version=37&hide=nonfree&hide=desktop_default not found (SSL connect error) (response code 0) 21:18 festerdam I tried opening it with a browser and it worked. 21:19 sfan5 operating system? 21:19 festerdam GNU/Linux 21:20 sfan5 hm that's interesting 21:20 festerdam I compiled minetest from source. 21:20 sfan5 can you curl that url from the command line? 21:21 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Fix potential crash when few loot items are registered 131f8b489 https://git.io/fj1tT (152019-07-16T21:18:27Z) 21:21 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Fix luacheck warning 13c340393 https://git.io/fj1tk (152019-07-16T21:17:14Z) 21:22 festerdam Yes. 21:26 sfan5 since minetest uses curl, either both should work or neither 21:27 festerdam if I attempt to take to connect with http instead of https, I get the following error message (minetest): ERROR[Main]: http://content.minetest.net/api/packages/?type=mod&type=game&type=txp&protocol_version=37&hide=nonfree&hide=desktop_default not found (SSL connect error) (response code 301) 21:29 festerdam If I attempt to do that with curl (connect without https) I get an html file informing me "301 Moved Permanently" 21:30 sfan5 that's expected 21:32 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Fix potential crash when few loot items are registered 13773011f https://git.io/fj1tl (152019-07-16T21:29:29Z) 21:37 festerdam When I tested with curl I did: curl https://content.minetest.net/api/packages/?type=mod\&type=game\&type=txp\&protocol_version=37\&hide=nonfree\&hide=desktop_default > test.txt 21:38 festerdam In case if the arguments I gave to curl matter. 21:38 sfan5 no that should be fine 22:04 festerdam I seem to be able to connect to multiplayer servers, though. 22:14 Calinou the client should follow redirects, I guesse 22:14 Calinou (and default to HTTPS, it's 2019 :P) 22:39 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Merge pull request #2322 from Calinou/travis-luacheck-color 13a81a7e0 https://git.io/fj1qc (152019-07-16T22:38:30Z) 22:39 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Switch to mod.conf, delete deprecated depends.txt 139b226c7 https://git.io/fj1qC (152019-07-16T22:38:23Z) 22:51 festerdam Yeah, HTTPS is great. That was just to check if it works without it. 22:56 MinetestBot 02[git] 04lhofhansl -> 03minetest/minetest: Optimize getting active objects a bit. #8674 139fe3246 https://git.io/fj1qa (152019-07-16T22:55:17Z) 23:11 Unrealipnormal Cool 23:18 MiguelPeru wow this place is fun 23:18 MiguelPeru are u sure ur not all bots 23:21 MinetestBot 02[git] 04sfan5 -> 03Uberi/Minetest-WorldEdit: Fix //allocate with 0 nodes 134f2c7b1 https://git.io/fj1qd (152019-07-16T23:20:40Z) 23:23 MinetestBot 02[git] 04Niwla23 -> 03Uberi/Minetest-WorldEdit: Make placeholders not pointable 1340b49ee https://git.io/fj1qF (152019-07-16T23:22:12Z) 23:25 MinetestBot 02[git] 04Panquesito7 -> 03Uberi/Minetest-WorldEdit: Replace deprecated functions with newer ones 133ffecdd https://git.io/fj1qb (152019-07-16T23:23:40Z) 23:55 norkle sub.nasa-g0v.com just launched 23:55 norkle p:31000