From 0b5d3c5107209f90b1a8cb61bc243ea919a312fe Mon Sep 17 00:00:00 2001 From: maggi373 <40539743+maggi373@users.noreply.github.com> Date: Tue, 24 Dec 2024 04:29:34 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 5a62921..8290ad0 100644 --- a/README.md +++ b/README.md @@ -12,49 +12,49 @@ solder.py is solder written in python with major features over technic's solder. -+ ### Easy install with docker ++ **Easy install with docker** -+ ### Efficient user experience ++ **Efficient user experience** solder.py is designed to allow a minimal button clicking as possible. - + #### Selected build feature + + **Selected build feature** This feature allows the user to select a modpack build that the user is working on. menu has a own pin for it, new uploaded modversion can be added/updated to selected build directly and more. - + #### Pin your modpacks to menu + + **Pin your modpacks to menu** - + #### Clone builds from other modpacks + + **Clone builds from other modpacks** -+ ### Mod uploading ++ **Mod uploading** - + #### S3 bucket compatbility + + **S3 bucket compatbility** -+ ### API only modee ++ **API only mode** Host a public api with only read permission to database and have another instance with manegement in your local network -+ ### Shadow builds ++ **Shadow builds** An shadow build is a build that is generated automatically out of your created build, based on set factors. - + #### Optional shadow build + + **Optional shadow build** solder.py allows user to set a mod as an optional in a modpack build. enabling optional builds on a modpack, useful for modpack devs that want to provide a more demanding build with shaders. - + #### Server shadow build + + **Server shadow build** solder.py allows user to set client/server side on mods, this shadow build only contain server compatible mods -+ ### Internal notation on mods ++ **Internal notation on mods** -+ ### Generate changelog ++ **Generate changelog** -+ ### MCInstance Loader Support (in dev) ++ **MCInstance Loader Support (in dev)** Multi launcher support -+ ### Database compatbility with technic solder ++ **Database compatbility with technic solder** solder.py only adds extra tables and columns and can be dual run with technic solder From c92052958c8ddafa6a1f6184301375516eac449c Mon Sep 17 00:00:00 2001 From: maggi373 <40539743+maggi373@users.noreply.github.com> Date: Sat, 4 Jan 2025 19:40:25 +0100 Subject: [PATCH 2/3] fix #103 cloning builds dont copy optional --- models/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/build.py b/models/build.py index 36602bf..569389a 100644 --- a/models/build.py +++ b/models/build.py @@ -36,7 +36,7 @@ def new(cls, modpack_id, version, minecraft, is_published, private, min_java, mi modversions = cur.fetchall() if modversions: for mv in modversions: - cur.execute("INSERT INTO build_modversion (modversion_id, build_id) VALUES (%s, %s)", (mv["modversion_id"], id)) + cur.execute("INSERT INTO build_modversion (modversion_id, build_id, optional) VALUES (%s, %s, %s)", (mv["modversion_id"], id, mv["optional"])) conn.commit() cls(id, modpack_id, version, now, now, minecraft, "0", is_published, private, min_java, min_memory, "0") From 3e6da608f5c032639971a95cf33858970e05b639 Mon Sep 17 00:00:00 2001 From: maggi373 <40539743+maggi373@users.noreply.github.com> Date: Sat, 4 Jan 2025 19:41:01 +0100 Subject: [PATCH 3/3] bump version --- models/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/common.py b/models/common.py index 72e2454..7252aa4 100644 --- a/models/common.py +++ b/models/common.py @@ -4,7 +4,7 @@ from models.database import Database ## Solderpy version -solderpy_version = "1.7.0" +solderpy_version = "1.7.1" load_dotenv(".env")