Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dedis #38

Merged
merged 22 commits into from
Jan 6, 2024
Merged

feat: dedis #38

merged 22 commits into from
Jan 6, 2024

Conversation

Vilsol
Copy link
Member

@Vilsol Vilsol commented Jan 6, 2024

No description provided.

porisius and others added 22 commits September 18, 2022 04:44
* feat: add query for resolving mod version constraints

* fix: correct sql grouping

* chore: dependency version bumps

* chore: sample config file

* chore: increase linter timeout

* chore: fix workflow linter argument

* Combine SMR DS Dev with Staging/Tags

* migrate to go 1.18.2

* SML platform link insert

* starting Mod platform links

* Mod/SML platform custom model addition

* chore: merge compatibility

* Fixes and completion of SML Links

* progress: mod links

* Validation: add .so files to scanning

* Validation: add .so files to scanning

* Split Combined Zip to Separate

* Remove side, add index, cleanup testing logs

* DeleteCombinedMod

Cleans up combined mod upload, either after separating and succeeding or on error.

* Fix: smllink

* Fix: modlink

* Fix: SeparateMod

* Fix: Validations

* fixes: mod_links and added routes

* chore: lint fixes, and there was a lot of them...

* optimization: seperatemod

* cleanup logging

* cleanup: SML Links

* fix attempt: Mod Link to match SML Link

* SML Links to SML Arch

* Mod Links to Mod Arch / Key

* ModLinks convert to asset

* Fix: ModLinks Asset

* DeleteModLink and filter pdb/debug on upload

* Arch and preloads for getMods

* chore: make linter happy... wrapchecks for errors

* fix: platform name for Win64Server platform

* Rename to archs and remove unused code

* Remove VT Key

* Merge validations dll/so

* Link is dead, all hail Arch

* Remove unnecessary log

* Remove TODO Validation

* Better error logging plus lint satisfaction with wrapcheck

* Missed the memo, sorry Vilsol

* Doc Comment for downloadModArch and downloadModVersionArch

* Added context for log

* Optimize SeparateMod

* removed unneeded function

* chore:lint

* Move deleting uploaded file after everything checks out

* fix: change where legacy link is gathered, save correct size/hash

* fix: do not take logger from context

* fix: non-nullable compatibility info

* chore: upgrade to go 1.19
chore: fix linter errors

* chore: bump gqlgen dep for pwetty playground

Co-authored-by: Vilsol <[email protected]>
Co-authored-by: Feyko <[email protected]>
chore: start stack on workflow tests
chore: add codecov
* fix: fixed NewSMLVersion arch issue

* cleanup smlLink to smlArch

* Improvements in UpdateSMLArch

* chore: make linter happy

* fix: conversion to SMLVersion and ModVersion

* chore: standardize case (Mod)

* chore: standardize case (SML)

* chore: remove SMLVersionID
fix: delete combined version after upload
fix: do not panic if version is not found
* fix: update converter_windows to match linux counterpart

* feat: validate multi-target plugin, detect targets and plugin type

* fix: keep the original uploaded file, remove "combined" arch

* refactor: separate ModArch creation from storage

* chore: rename all "arch/platform" consistently, remove ID from VersionTargets

The "arch/platform" entities are now called targets
The "platform" field is now targetName
VersionTarget and SMLVersionTarget have VersionID and TargetName as their primary keys, rather than a separate ID
Removed unnecessary and unused GQL endpoints related to Targets

* feat: backwards compatibility for Version fields Link, Hash and Size

These fields in the db store the original uploaded file, which for single-target plugins (WindowsNoEditor) is valid, but for multi-target plugins is not
Return the WindowsNoEditor target information, if available, otherwise return the version's

* chore: lint

* fix: update a missed target->target_name

* chore: update more missed link->target

* feat: VirusTotal parallelization

* chore: rename WindowsNoEditor to Windows

* fix: don't automatically preload version targets

* chore: simplify Version.Link resolver

* feat: return error message when uploading legacy mod formats

* feat: enum for TargetName

* fix: delete SML version targets when removed

* chore: lint

* feat: migrate existing mods to use targets

* fix: skip migrating versions that already have targets

* chore: remove some debug code

* chore: temporarily require single-target format

* feat: new metadata parser, sml engine versions, minimal mod version REST endpoint

* chore: reorder go generate steps

* chore: download protoc dependencies

* chore: field alignment

---------

Co-authored-by: mircearoata <[email protected]>
Co-authored-by: porisius <[email protected]>
Co-authored-by: Vilsol <[email protected]>
* feat: prevent certain mod references from being used

* chore: switch to map[string]struct{}

* chore: switch to map[string]bool to simplify code
# Conflicts:
#	schemas/tags.graphql
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@4aa7cb0). Click here to learn what that means.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage        ?   17.05%           
=======================================
  Files           ?      102           
  Lines           ?     5377           
  Branches        ?        0           
=======================================
  Hits            ?      917           
  Misses          ?     4359           
  Partials        ?      101           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Vilsol Vilsol merged commit 540dc5f into main Jan 6, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants