Skip to content

Commit

Permalink
Merge pull request #104 from Thorfusion/dev
Browse files Browse the repository at this point in the history
fix #103 cloning builds dont copy optional
  • Loading branch information
maggi373 authored Jan 4, 2025
2 parents 6514e4c + 3e6da60 commit b0ffd2a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion models/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from models.database import Database

## Solderpy version
solderpy_version = "1.7.0"
solderpy_version = "1.7.1"

load_dotenv(".env")

Expand Down

0 comments on commit b0ffd2a

Please sign in to comment.