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
This commit is contained in:
Lucy
2023-08-07 13:18:50 -04:00
committed by GitHub
parent e4cd1bae09
commit e1fbac315b
27 changed files with 431 additions and 223 deletions

View File

@@ -42,6 +42,7 @@ dependencies:
- monad-logger
- monad-logger-extras
- monad-loops
- multimap
- network-uri
- optparse-applicative
- parallel
@@ -53,6 +54,8 @@ dependencies:
- process
- protolude
- rainbow
- regex-base
- regex-tdfa
- shakespeare
- template-haskell
- terminal-progress-bar
@@ -63,6 +66,7 @@ dependencies:
- unliftio
- unordered-containers
- unix
- utility-ht
- wai
- wai-cors
- wai-extra
@@ -107,7 +111,7 @@ executables:
when:
- condition: flag(library-only)
buildable: false
embassy-publish:
registry-publish:
source-dirs: cli
main: Main.hs
ghc-options: