* add ability to specify package architectures for publish script, as well as deindex them
* implement and adjust filtering for package hardware requirements; adjust for legacy and new query params paths
* augment test manifest and fix ram query
* fixes
* fix ram for other routes
* rework filtering logic to eliminate hack db call
* fix hanging issue and other dataset consistency issues
* adjust arch param
* cleanup
* fix package manifest parsing
* make index package arches optional
* rename from embassy-sdk to start-sdk and embassy-publish to registr-publish
* fix ram comparison
* increase upload timeout
* fix serialization and deserialization of devices jsonb database field
* cleanup
* another deserialization fix
* revert change; better error message and test case
* fix jsonb serialization freal
* cleanup
* fix jsonb deserialization
* fix lookup of device value
* parse empty device object as null
* use latest version of dependency for metadata if best version is unsatisfied
* cleanup
* add config setting to allow protections around package uploads to specific registries
* change to whitelist
* properly parse whitelist
* enable deleting deprecated admin users
* enable packages to be marked as unavailable locally
* change isLocal column to hidden
* add option to deprecate a service version based on a min os version
* add marketplace icon to info response
* fix max eos version available logic; toggle migrations
* only send icon if it exists
* increase upload timeout
* persist eos version and arch for user activity
* filter eos versions available based on arch
* remove registry icon
* remove eos upload from publish script
* filter package index response by arch
* remove arch from version record in favor of join table
* allow previous user activity records to contain null values
* make arch optional for backwards compatability
* make arch optional for backwards compatability on version latest endpoint
* not ideal but functional solution for backwards compatible arch filter
* insert version platform when index on publish upload
* add migration for dropping arch from package version table
* upsert all version platform records
* insert user activity even if version and arch do not exist
* increase http timeout to 10 minutes jic
* remove user metrics from latest endpoint
* zip eos image on upload
* fix warning
* revert content length as its already set by module
* move stream zipping to cli upload
* refactor upload with simple gzip approach - progress bar broken
* increase timeout
* fix request body and unzip once uploaded
* unzipped in wrong fn; cleanup
* add progress bar for hashing and zipping, cleanup files
* add messaging to progress bars
* hash on upload
* Update src/Cli/Cli.hs
* fix import and clean up error response
* remove content length limit
* remove import
* lift version
* slow af but works
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* add published-at to registry response
* ensure we get the timestamp for the version being returned
* cleaup import
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
* filter packages for os compatibility before fetching metadata
* address PR feedback and add os filtering to get package latest version endpoint
* additional test suite data
* filter empty version sets
* attempt to fix leak
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>