Update rescue-from-github.lua

This commit is contained in:
2025-07-21 07:29:14 +00:00
parent 53f3077823
commit 50b0451994

View File

@@ -22,11 +22,16 @@ local repositories = {
organization = "prototype", organization = "prototype",
description = "A better system for basic simulation of fluids in containers.", description = "A better system for basic simulation of fluids in containers.",
}, },
ideas = "design docs / misc. ideas", ideas = {
description = "design docs / misc. ideas",
website = "https://share.note.sx/gdon3y36",
},
neralie = { neralie = {
organization = "tools", organization = "tools",
description = "A simple clock for the Neralie decimal time format.", description = "A simple clock for the Neralie decimal time format.",
website = "https://wiki.xxiivv.com/site/time",
}, },
["one-off-scripts"] = "An archive for old scripts.",
owen = { owen = {
organization = "prototype", organization = "prototype",
description = "Small polygonal ship generator.", description = "Small polygonal ship generator.",
@@ -43,7 +48,10 @@ local repositories = {
["Simple-Kerbal-Mods"] = "KSP Agencies!", ["Simple-Kerbal-Mods"] = "KSP Agencies!",
slab = "A very not usable (yet?) Love2D GUI library.", slab = "A very not usable (yet?) Love2D GUI library.",
SpaceLove = "My first \"fly a fighter\" prototype... FROM 2014! D:", SpaceLove = "My first \"fly a fighter\" prototype... FROM 2014! D:",
["The-Snap"] = "The Snap balances your browsing habits by closing a random half of open tabs.", ["The-Snap"] = {
description = "The Snap balances your browsing habits by closing a random half of open tabs.",
website = "https://blog.tangentfox.com/the-snap-browser-extension/",
},
ThompsonWasAClone = "shit Thomas Was Alone clone", ThompsonWasAClone = "shit Thomas Was Alone clone",
xi = { xi = {
organization = "prototype", organization = "prototype",
@@ -51,6 +59,29 @@ local repositories = {
}, },
} }
-- TODO figure out how to use API to automatically set these up
local mirrors = {
"markdown.lua",
"love-pe",
"slam",
"Piefiller",
"heightmap",
"rxi-json.lua",
"etlua",
"lua-date",
"lurker",
"lua-htmlparser",
"baton",
"lovebird",
"argparse",
"love-release",
"lume",
"semver.lua",
"lua-sandbox",
"dkjson.lua",
"inspect.lua",
}
local organizations = {} local organizations = {}
local repository_names = {} local repository_names = {}
@@ -86,6 +117,7 @@ end)()
table.sort(repository_names) table.sort(repository_names)
-- TODO figure out how to use the API to do this automatically -- TODO figure out how to use the API to do this automatically
-- TODO figure out how to set a description as well
print("Create the following organizations:") print("Create the following organizations:")
for _, name in ipairs(organizations) do for _, name in ipairs(organizations) do
print(" " .. name) print(" " .. name)
@@ -95,6 +127,7 @@ print("Press enter to continue.")
io.read("*line") io.read("*line")
-- TODO figure out how to use the API to do this automatically -- TODO figure out how to use the API to do this automatically
-- TODO figure out how to set their descriptions and URLs as well
print("Create the following repos:") print("Create the following repos:")
for _, name in ipairs(repository_names) do for _, name in ipairs(repository_names) do
print(" " .. name) print(" " .. name)
@@ -112,3 +145,5 @@ for name, info in pairs(repositories) do
os.execute(command) os.execute(command)
os.execute("sleep 1") -- I assume my server can't handle it as well as GitHub's os.execute("sleep 1") -- I assume my server can't handle it as well as GitHub's
end end
-- TODO figure out how to set up the push sync using the API