Commit Graph

272 Commits

Author SHA1 Message Date
Keagan McClelland
83ad920de4 fixes file descriptor leak 2022-02-01 17:35:00 -07:00
Keagan McClelland
ae4aecce6f implements query parameter for prioritizing lower versions 2022-01-26 18:15:26 -07:00
Lucy C
3159f2b3bd Merge pull request #83 from Start9Labs/bugfix/relative-urls
makes relative urls and uses route types to generate them
2021-12-20 12:46:42 -07:00
Keagan McClelland
27b55e64e0 makes relative urls and uses route types to generate them 2021-12-17 16:45:27 -07:00
Lucy Cifferello
0ca2372b6d remove critical from dependency type as uneeded 2021-12-03 14:52:21 -07:00
Keagan McClelland
a8ecb41e15 add Makefile 2021-12-03 11:49:58 -07:00
Lucy C
a02b424ab6 Merge pull request #75 from Start9Labs/bugfix/package-index-version
Bugfix/package index version
2021-12-03 11:42:17 -07:00
Keagan McClelland
7344a616a8 Condense Imports 2021-12-03 10:29:45 -07:00
Lucy Cifferello
e7708da122 resolve PR feedback - add record type for package and dependency metadata 2021-12-02 16:41:02 -07:00
Lucy Cifferello
64d432f2c9 organization refactor separating database actions, data transformations, and api type constructs into separate components 2021-12-02 08:10:39 -07:00
Lucy Cifferello
1610c8c9fd reprganize database calls and marketplaces types 2021-12-02 08:10:39 -07:00
Lucy Cifferello
b8a84f540a add database model for ptracking package dependencies 2021-12-02 08:10:39 -07:00
Lucy Cifferello
89cbabe8a1 add testing resources directory 2021-12-02 08:10:39 -07:00
Lucy Cifferello
85f080a86f update server name 2021-12-02 08:10:39 -07:00
Lucy Cifferello
eacaa0c78f rename all references from services to packages 2021-12-02 08:10:39 -07:00
Lucy Cifferello
1b6f21094f always get package dependencies when querying for a specified package 2021-11-23 17:25:27 -07:00
Lucy Cifferello
8180e8feb9 handle errors in either cases 2021-11-23 17:25:27 -07:00
Lucy Cifferello
59fbdd4aa2 refactor test suite for model and api changes, adding tests for fetched versions via index endpoint 2021-11-23 17:25:27 -07:00
Lucy Cifferello
0cf13f46e6 fix handling of using index endpoint to fetch package at specific version 2021-11-23 17:25:27 -07:00
Keagan McClelland
455e1d9e77 changes log epoch to use text instead of word64 due to overflow issues (#81) 2021-11-23 17:24:54 -07:00
Keagan McClelland
ee32e9b776 add check for directory existence during package version enumeration (#80)
* add check for directory existence during package version enumeration

* cleanup

* error consistency

* errmsg cleanup
2021-11-23 16:33:35 -07:00
Keagan McClelland
bd99c77102 conflict resolution (#77) 2021-11-23 15:55:45 -07:00
Lucy C
745435224f Merge pull request #78 from Start9Labs/feature/x-eos-hash
adds x-eos-hash header to eos.img response
2021-11-23 15:48:00 -07:00
Lucy C
8b47c50bc6 Merge pull request #79 from Start9Labs/bugfix/graceful-not-found
Bugfix/graceful not found
2021-11-23 15:42:16 -07:00
Keagan McClelland
cd5f9e4279 sends 404s if we can't find the package rather than just blowing up and going 500 2021-11-23 14:09:11 -07:00
Keagan McClelland
4550ca17ba adds x-eos-hash header to eos.img response 2021-11-23 13:36:00 -07:00
Lucy C
f55a33578f Merge pull request #76 from Start9Labs/bugfix/eos-version-compat
rename get parameter
2021-11-22 12:05:38 -07:00
Keagan McClelland
04881413f5 rename get parameter 2021-11-22 11:57:08 -07:00
Keagan McClelland
d23d56a7b1 fix the types on the db entries 2021-11-03 17:00:09 -06:00
Keagan McClelland
85cf6f19a5 refactor registry to include OS version filtering on the package index (#64)
* refactor registry to include OS version filtering on the package index

* remove commented code, clean up tests

* removed unused types

* remove disabled test

* remove unused type

* fix query parsing

* remove unused code

* more purging

* MOAR PURGING

* normalize data model, fix all type errors

* rename get parameter
2021-10-26 14:53:36 -06:00
Lucy C
ff5374b33e Merge pull request #62 from Start9Labs/bugfix/eos-img-content-length
fixes lack of content length in eos image download
2021-10-14 12:50:02 -06:00
Keagan McClelland
d3b2a8837d remove unnecessary import 2021-10-14 12:43:33 -06:00
Keagan McClelland
9d0c6677e3 fixes lack of content length in eos image download 2021-10-14 12:02:50 -06:00
Keagan McClelland
4183eaa2db puts newlines at the end of log statement if missing 2021-10-07 14:59:08 -06:00
Lucy C
50e751412a Merge pull request #58 from Start9Labs/bugfix/version-ordering
always sorts versions outside sql
2021-09-29 17:09:56 -06:00
Lucy C
31f4e7e158 Merge pull request #57 from Start9Labs/bugfix/icon-destinations
creates correct icon file
2021-09-29 17:05:54 -06:00
Keagan McClelland
b9843541a7 always sorts versions outside sql 2021-09-29 16:55:16 -06:00
Keagan McClelland
cd75af0ab2 creates correct icon file 2021-09-29 16:09:27 -06:00
Lucy C
d5f7f32ea2 Merge pull request #56 from Start9Labs/fix/performance
Fix/performance
2021-09-29 15:38:58 -06:00
Keagan McClelland
1a43fc52b6 more cleanup 2021-09-29 14:57:06 -06:00
Keagan McClelland
6c55244aa4 send back release notes for eos 2021-09-29 14:11:51 -06:00
Keagan McClelland
605392f075 reduce io dependence 2021-09-29 14:01:39 -06:00
Keagan McClelland
93f8c7be24 Apply suggestions from code review
Remove unused code

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
2021-09-29 13:30:27 -06:00
Keagan McClelland
b949eafbfa changed prints to logs 2021-09-29 13:29:02 -06:00
Keagan McClelland
056e04f4e3 also re-extract if file modified 2021-09-29 13:22:39 -06:00
Keagan McClelland
8871edc1ee remove prelude import 2021-09-29 13:17:42 -06:00
Keagan McClelland
2274a0cdad remove postgresql-simple dependency 2021-09-29 12:55:21 -06:00
Keagan McClelland
9980ad55a3 delete unused code 2021-09-29 12:15:06 -06:00
Keagan McClelland
d77ae1d51d remove commented pkg 2021-09-29 12:12:38 -06:00
Keagan McClelland
bf8f225d55 fix type 2021-09-29 12:07:16 -06:00