Skip to content

Instantly share code, notes, and snippets.

@skwerlman
Last active April 1, 2016 11:26
Show Gist options
  • Save skwerlman/3e7dc09a3d2e35c571bc143cf657ed1c to your computer and use it in GitHub Desktop.
Save skwerlman/3e7dc09a3d2e35c571bc143cf657ed1c to your computer and use it in GitHub Desktop.
Example template setup for TechnicSolder

Solder repo hash:

Operating System and version:

PHP version:

Composer version:

Server type:

Type of database:

Type of hosting:

Link to the affected install's public url:


There are comments in the issue template, but they are html comments, so you can only see them when viewing the raw version of the file.

For ease of review, this is the comment text:

After reading this section, fill out the fields below.

Please note that this is the issue tracker for TechnicSolder, and NOT the place to
post problems opening/installing/managing any modpacks/mods/java/anything else.

If you are having issues installing or opening a modpack, ask for assistance in the #help
channel of the Technic discord server.

If the launcher is crashing, make an issue here: https://github.com/TechnicPack/TechnicLauncher

If you are having issues managing a pack, or having any issues with the
platform or website, ask for help here: http://www.technicpack.net/help


GUIDELINES TO FOLLOW WHEN REPORTING:

Please be aware that Solder is intended for experienced server admins only, and so it is
expected that you've at least tried to research an issue before reporting it.

Note that Windows is not officially supported.

Please try to be respectful when reporting an issue. We understand that bugs are
frustrating, but getting mad will only make it harder to fix.

A script has been written that will gather much of the needed
information for you; it is available at [link to be gotten].
You can run it by navigationg to the directory where solder is installed,
and running:
curl [link to be gotten] | bash

Please fill out all other informaton to the best of your knowledge.

There is a second section after the horizontal rule which reads

Please describe the issue you are having in as much detail as possible here
#! /usr/bin/env bash
# i haven't tested this yet
hash=`git rev-parse --short HEAD`
os=`uname -a`
php=`php --version | grep built`
composer_global=`composer -V`
compser_local=`php composer.phar -V` # i think
server=`ps -ax | grep -v grep | grep -oE "(nginx|apache)" | sed ":a;N;$!ba;s/\n/ /g" | cut -d " " -f 1` # ugh
db=`false` # will write based on server getter once i have a list of supported dbs
composer_notfound="Could not open input file: composer.phar"
if [ $composer_local != $composer_notfound ] ; then
composer=$composer_local
else
composer=$composer_global
fi
echo "Copy the following into your issue report, replacing the relevent sections:"
echo " Solder repo hash: $hash"
echo " Operating System and version: $os"
echo " PHP version: $php"
echo " Composer version: $composer"
echo " Server type: $server"
# echo " Database Type: $db"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment