This is an experimental copy for testing Poikilos' issue mirroring system. Note that Gitea's migration tool can import issues, but the "Issues" checkbox is disabled when "This repository will be a mirror" is enabled (it is for this repo).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.1 KiB

import os
import datetime
from minetestinfo import *
if os.path.isdir(minetestinfo.get_var("profile_minetest_path")):
print(__file__+"...")
debug_txt_path = os.path.join(minetestinfo.get_var("profile_minetest_path"), "debug.txt")
debug_archived_folder_name = "debug_archived"
debug_archived_folder_path = os.path.join(minetestinfo.get_var("profile_minetest_path"), debug_archived_folder_name)
if os.path.isfile(debug_txt_path):
print("NOT YET IMPLEMENTED")
else:
print("There is no '"+debug_txt_path+"'")
if os.sep=="\\":
print(" (maybe it was already archived after last server activity,")
print(" or you are not running minetestserver and this script")
print(" does not apply to you).")
else:
print(" (maybe it was already archived after last server activity).")
else:
print("Missing folder '"+profile_minetest_path+"'.")
print("The folder should be your .minetest folder or other folder containing 'debug.txt' (at least '"+debug_archived_folder_name+"' will be there if "+__file__+" ran successfully before).")