Commit Graph

35 Commits

Author SHA1 Message Date
Lucy C
35500cfc02 Feat/local packages (#133)
* 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
2023-04-11 19:08:53 -06:00
Aiden McClelland
3aef9dbf09 hash on upload (#123)
* 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>
2022-09-08 10:29:01 -06:00
Lucy C
e42cd787b4 filter packages for os compatibility before fetching metadata (#117)
* 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>
2022-07-12 15:06:21 -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
Keagan McClelland
f761677420 bang patterns optimization to avoid unnecessary laziness 2022-05-27 10:53:09 -06:00
Keagan McClelland
2105c58182 mass clean up of warnings, hints, errors 2022-05-26 18:26:32 -06:00
Keagan McClelland
db3beadd6c adds list-unindexed 2022-05-26 18:26:32 -06:00
Keagan McClelland
285989caf5 document magic number 2022-05-26 18:26:32 -06:00
Keagan McClelland
23863bb96d fix bug where packages with unknown dependencies won't be accepted 2022-05-26 18:26:32 -06:00
Keagan McClelland
4c8cba18a2 Implements uploads, index, and deindex 2022-05-26 18:26:32 -06:00
Keagan McClelland
411d186517 add index and deindex endpoints 2022-05-26 18:26:32 -06:00
Keagan McClelland
729e9bf507 apply hint suggestions 2022-05-26 18:26:32 -06:00
Keagan McClelland
75663b65e4 autohash eos 2022-03-01 14:36:24 -07:00
Keagan McClelland
9da5c1e9b3 switch from conduit responses to file responses 2022-02-26 23:27:27 -07:00
Keagan McClelland
b43d85ea63 implements query parameter for prioritizing lower versions 2022-02-26 23:27:27 -07:00
Keagan McClelland
b75fa8101c Condense Imports 2022-02-26 23:27:27 -07:00
Lucy Cifferello
d0b7b1f044 resolve PR feedback - add record type for package and dependency metadata 2022-02-26 23:27:27 -07:00
Lucy Cifferello
649f876692 organization refactor separating database actions, data transformations, and api type constructs into separate components 2022-02-26 23:27:27 -07:00
Lucy Cifferello
fe5218925d reprganize database calls and marketplaces types 2022-02-26 23:27:27 -07:00
Lucy Cifferello
b0453e1d4a rename all references from services to packages 2022-02-26 23:27:27 -07:00
Keagan McClelland
7b402d4039 add check for directory existence during package version enumeration (#80)
* add check for directory existence during package version enumeration

* cleanup

* error consistency

* errmsg cleanup
2022-02-26 23:27:27 -07:00
Keagan McClelland
c6acbd383c sends 404s if we can't find the package rather than just blowing up and going 500 2022-02-26 23:27:27 -07:00
Keagan McClelland
505a51b486 creates correct icon file 2022-02-26 23:27:27 -07:00
Keagan McClelland
d6ae703915 more cleanup 2022-02-26 23:27:27 -07:00
Keagan McClelland
affb120bf8 changed prints to logs 2022-02-26 23:27:27 -07:00
Keagan McClelland
1494ce6185 also re-extract if file modified 2022-02-26 23:27:27 -07:00
Keagan McClelland
a563592081 clean up unused imports 2022-02-26 23:27:27 -07:00
Keagan McClelland
59a028f1d5 fixes extraction logic, found a bug in System.Process 2022-02-26 23:27:27 -07:00
Keagan McClelland
0da59d225d improves logging 2022-02-26 23:27:27 -07:00
Keagan McClelland
bcc3f01086 builds 2022-02-26 23:27:27 -07:00
Keagan McClelland
e7ebd02be0 add asset retrievers 2022-02-26 23:27:27 -07:00
Keagan McClelland
4204d96b51 remove unnecessary conversions 2022-02-26 23:27:27 -07:00
Keagan McClelland
1fc3c2b678 redefine appmgr calls, holes at call sites 2022-02-26 23:27:27 -07:00
Lucy Cifferello
3b857c2896 fix package path 2022-02-26 23:27:27 -07:00
Keagan McClelland
da240f35ee fsnotify extraction attempt 2022-02-26 23:27:27 -07:00