13 Commits

Author SHA1 Message Date
Lucy
e1fbac315b Updates/pkg hardware (#137)
* 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
2023-08-07 13:18:50 -04:00
Lucy C
6df87e9873 Update/eos 033 (#128)
* 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
2022-12-07 12:05:07 -07:00
Lucy C
648d69c14a Feature/zip upload (#124)
* 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
2022-09-19 15:18:14 -06:00
Keagan McClelland
dbd73fae7f Feature/api versioning (#106)
* wip

* finishes initial refactor

* prune unused code

* finished massive refactor

* remove commented deps

* fix import

* fix bug
2022-06-20 10:28:28 -06:00
Lucy Cifferello
47c971de99 update to not use fs read for versions, just previous db call metadata 2022-02-26 23:27:27 -07:00
Lucy Cifferello
c7effc51f4 limit strict bs converstion and refactor to not use fs read 2022-02-26 23:27:27 -07:00
Lucy Cifferello
8e0f390dc1 ignore sdk 2022-02-26 23:27:27 -07:00
Lucy Cifferello
64fc16813f categories refactor 2022-02-26 23:27:27 -07:00
Lucy Cifferello
a56e3e66b6 add routes for getting app config and manifest 2020-10-07 15:25:23 -06:00
Lucy Cifferello
69dc5922cf update resolver and hie setup 2020-06-22 15:46:31 -06:00
Lucy Cifferello
25b1786808 rework to normalize version in db and small cleanups 2020-06-22 12:47:28 -06:00
Lucy Cifferello
08654c3b2c further test setup with hie 2020-04-16 11:39:26 -06:00
Aaron Greenspan
22e1170e79 initial commit 2019-12-21 13:13:19 -07:00