Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add minetest server #225

Merged
merged 5 commits into from
Feb 3, 2023
Merged

Conversation

mikey0000
Copy link
Contributor

@mikey0000 mikey0000 commented Apr 27, 2020

To ease and accelerate the PR submission, please use the template below to provide all requested information.
You can find guidelines on which docker image to use in the Rockstor's documentation,
as well as examples of proper formatting in other rock-ons (here
and here)

Fixes # .

General information on project

This pull request proposes to add a new rock-on for the following project:

  • name: Minetest
  • website: minetest.net
  • description: Rockon for minetest server

Information on docker image

  • docker image: r/linuxserver/minetest
  • is an official docker image available for this project?:
    using the linuxserver.io image

Checklist

  • Passes JSONlint validation
  • Entry added to root.json in alphabetical order (for new rock-on only)
  • "description" object lists and links to the docker image used
  • "description" object provides information on the image's particularities (advantage over another existing rock-on for the same project, for instance)
  • "website" object links to project's main website

@mikey0000 mikey0000 force-pushed the feature/minetest-server branch from 787ba25 to ed83304 Compare April 27, 2020 09:55
@mikey0000
Copy link
Contributor Author

Hi guys, please feel free to make suggestions on a better description, I might try for a better one tomorrow.

@mikey0000
Copy link
Contributor Author

Is there a way to set args as an optional instead of required?

@phillxnet
Copy link
Member

@mikey0000 Hello again, and thanks for another Rock-on submission.

Can't look too closely at this pr right now but they appear to have an ssl cert issue with their site:
https://minetest.net/
We should probably reach out to them on that front.

Is there a way to set args as an optional instead of required?

Don't think so, at least yet, but @FroggyFlox should be able to confirm or deny that one as they have been working with that part of the code more recently. We do have an optional "devices" section now however so there is precedent.

@phillxnet phillxnet added the needs review Test install, function, on / off behaviour, all links / info. label Apr 27, 2020
@mikey0000
Copy link
Contributor Author

@mikey0000 Hello again, and thanks for another Rock-on submission.

Can't look too closely at this pr right now but they appear to have an ssl cert issue with their site:
https://minetest.net/
We should probably reach out to them on that front.

Is there a way to set args as an optional instead of required?

Don't think so, at least yet, but @FroggyFlox should be able to confirm or deny that one as they have been working with that part of the code more recently. We do have an optional "devices" section now however so there is precedent.

Cool, yeah looks like they actually don't have https on the main website, did https by default as their wiki supports it.

@mikey0000 mikey0000 force-pushed the feature/minetest-server branch from ed83304 to 5c7e14b Compare April 30, 2020 20:21
@FroggyFlox
Copy link
Member

Hi @mikey0000 ,

Sorry for not getting back with you earlier than that.

Is there a way to set args as an optional instead of required?

Don't think so, at least yet, but @FroggyFlox should be able to confirm or deny that one as they have been working with that part of the code more recently. We do have an optional "devices" section now however so there is precedent.

We indeed cannot do that at the moment, but we do have it planned in the not-so-distant future. We do have a corresponding issue to track it:
rockstor/rockstor-core#2094 (comment)

For the time being, I'm tempted to recommend removing the CLI_ARGS env because of it, and we can always put it back once optional environment variables are possible. I couldn't test whether or not the minetest instance was indeed reachable, but from the logs, it seems to start without error. This is, of course, without the CLI_ARGS defined.

What do you think about removing it? Does it actually remove important features? As they are defined as optional on the docker hub documentation, I tend to believe we can do without them at the moment but I'm not a Minetest user so I can't know for sure. Is there any setting that can only be defined through the CLI_ARGS environment variable and not through the conf files, for instance?

@mikey0000
Copy link
Contributor Author

mikey0000 commented Jun 14, 2020 via email

@mikey0000
Copy link
Contributor Author

@FroggyFlox I finally removed the cli args 😺

Copy link
Member

@FroggyFlox FroggyFlox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My previous review still stands as it seems to be working for me with the caveat that I'm unable to test a successful connection to the server, but all logs seem OK.

minetest.json Outdated Show resolved Hide resolved
@FroggyFlox
Copy link
Member

Hi @mikey0000 ,

First of all, sorry again for such a delay in getting to your submission...
I've now re-tested and it still works as intended, thanks a lot for your original submission and your continued time and effort in making the revisions!

As you can see in the review, I only noticed a minor improvement that we can make in the description of the TZ environment variable. I believe we can merge your PR once that minor edit is included.

Sorry again for such a delay in getting to this.

@FroggyFlox FroggyFlox added change requested A change has been requested and removed needs review Test install, function, on / off behaviour, all links / info. labels Aug 25, 2020
@mikey0000
Copy link
Contributor Author

mikey0000 commented Aug 25, 2020 via email

@mikey0000
Copy link
Contributor Author

Hey guys life happens and I completely forgot about finishing this. Will address right now.

@mikey0000 mikey0000 force-pushed the feature/minetest-server branch from 7d5d7c3 to c0ba08f Compare March 1, 2021 18:02
Copy link
Member

@FroggyFlox FroggyFlox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mikey0000 ,

Thanks a lot for following-up and making the changes! With all the time it took me to review it, I unfortunately have another small suggestion that I would like to see included. As you can see, it only relates to an harmonization of the "description" field with other rock-ons that we now try to follow.

Everything else still works as intended so I'll merge your PR once we have that little addition to the "description" field in.

Thanks again!

minetest.json Outdated Show resolved Hide resolved
@mikey0000
Copy link
Contributor Author

@FroggyFlox I think I addressed the description?

minetest.json Outdated Show resolved Hide resolved
@mikey0000 mikey0000 requested a review from FroggyFlox August 30, 2022 07:56
@phillxnet
Copy link
Member

@mikey0000 What do you know, we finally got this one sorted.

Adding as initially reviewed by @FroggyFlox with a light install test by myself:

[03/Feb/2023 15:28:41] DEBUG [system.osi:208] Running command: /usr/bin/docker pull linuxserver/minetest:latest
[03/Feb/2023 15:28:49] DEBUG [system.osi:208] Running command: /usr/bin/docker run -d --restart=unless-stopped --name minetest -v /mnt2/minetest-config:/config/.minetest -v /etc/localtime:/etc/localtime:ro -p 30000:30000/udp -e PUID=1010 -e TZ=Europe/Lisbon -e PGID=100 linuxserver/minetest:latest
[03/Feb/2023 15:28:50] DEBUG [storageadmin.views.rockon_helpers:210] Set rock-on 91 state to installed
[03/Feb/2023 15:28:50] INFO [storageadmin.tasks:64] Task [install], id: 22fcc389-179d-4d97-a182-efe31c6cc122 completed OK

Thanks all around for the super long persistent tail on this one. Lets just get it in, and out, to get some field testing on it.

Copy link
Member

@phillxnet phillxnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per comments, this super long tail has likely come to an end.
I'll pop in as it looks like all requested changes have been applied.

@phillxnet
Copy link
Member

minetest-installed

@phillxnet
Copy link
Member

Merging as I believe @FroggyFlox's requests are also now merged via git.

@phillxnet phillxnet merged commit 8751eec into rockstor:master Feb 3, 2023
@mikey0000
Copy link
Contributor Author

🎉 thanks @phillxnet, nice to see it finally make it.

@phillxnet
Copy link
Member

@mikey0000 Yes, it's great to get Rock-ons finally through review. Always tweaks that can be made however so bit of a balancing act.

I've just now published the recent changes in this repository to production so this and a number of other Rock-ons should now show up after an "Update" button push in the Rock-ons page (All tab).

Thanks again for hanging in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change requested A change has been requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants