PLugin versioning fixes

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-09 23:36:03 +00:00
parent 4343f62140
commit 0ea3a30909
7 changed files with 441 additions and 115 deletions

View File

@@ -99,7 +99,9 @@ class PluginVersion(models.Model):
help_text="Semantic version string (e.g., '1.0.0', '1.0.1')"
)
version_code = models.IntegerField(
help_text="Numeric version for comparison (1.0.1 -> 10001)"
null=True,
blank=True,
help_text="Numeric version for comparison (1.0.1 -> 10001). Auto-calculated."
)
status = models.CharField(
max_length=20,
@@ -112,7 +114,9 @@ class PluginVersion(models.Model):
# File info
file_path = models.CharField(
max_length=500,
help_text="Relative path to ZIP file in dist/ directory"
blank=True,
default='',
help_text="Relative path to ZIP file in dist/ directory. Auto-generated on release."
)
file_size = models.IntegerField(
default=0,