Commit Graph

46 Commits

Author SHA1 Message Date
Danila Fominykh
95a1df6dfc
import naming unification with other package types 2023-10-12 11:56:54 -03:00
Danila Fominykh
6052aea5f2
moved upload function to arch service 2023-10-12 11:43:33 -03:00
Danila Fominykh
54a9c8bdff
corrected response codes in push and remove operations 2023-10-12 09:15:49 -03:00
Danila Fominykh
b63af7e277
metadata tests, json struct tag unification with other linux packages, removed package backup files from metadata and arch package UI 2023-10-09 03:13:53 -03:00
Danila Fominykh
54c0816377
refactoring, better readability in arch package metadata module 2023-10-05 16:16:02 -03:00
Danila Fominykh
94f45f402f
change interface{} to any, move apiError function to bottom 2023-10-02 23:47:32 -03:00
Danila Fominykh
8974d27ba3
refactoring in metadata module, better readability
shorter function calls in arch service
fix - request now ends if unable to decode package signature from hex
fix - now package search continues to previous versions in package file for required architecture not found for current version
2023-10-02 19:12:06 -03:00
Danila Fominykh
f515f6ee7c
removed unnecessary filename from composite key 2023-10-02 14:33:37 -03:00
Danila Fominykh
ba92fc54b7
pass context to package service methods 2023-09-28 17:25:22 -03:00
Danila Fominykh
c09da2a9e1
removed functionality related to automatic source code repository connection 2023-09-28 17:13:40 -03:00
Danila Fominykh
0dd3db2280
fixed user in package upload operation 2023-09-25 18:54:27 -03:00
Danila Fominykh
4656b3b958
replaced bytes.Buffer with packages.HashedBuffer to return working io.ReadSeeker implementation 2023-09-25 18:42:48 -03:00
Danila Fominykh
54fd84d83f
function to get package file property by composite key, refactoring function creating pacman database 2023-09-24 13:32:53 -03:00
Danila Fominykh
431dabfc5c
fixed procedure of retrieving package properties for signatures and pacman database file 2023-09-05 14:51:29 -03:00
Danila Fominykh
ce01499d8f
removed/corrected some documentation 2023-08-18 18:09:08 +03:00
Danila Fominykh
0d08eaa556
reduced amount of logic, removed unnecessary fields 2023-08-08 19:40:54 +03:00
Danila Fominykh
e86bdfcb0e
metadata and signature are stored in package properties instead of object storage 2023-08-08 16:21:17 +03:00
Danila Fominykh
28712bc91e
refactoring 2023-08-04 14:52:36 +03:00
Danila Fominykh
0c7aa7f63e
refactoring 2023-08-03 20:43:13 +03:00
Danila Fominykh
3df8d52fb8
changed pacman database creation mechanics, storing package desc as file in object storage, metadata structure update 2023-07-28 16:32:01 +03:00
Danila Fominykh
8b06f76360
replaced HTTP headers with url params 2023-07-27 13:21:11 +03:00
Danila Fominykh
1e33f61375
Update routers/api/packages/arch/arch.go
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-07-27 12:50:44 +03:00
Danila Fominykh
524a2a01c1
Update routers/api/packages/arch/arch.go
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-07-27 12:35:35 +03:00
Danila Fominykh
7b92529bc4
Update routers/api/packages/arch/arch.go
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-07-27 12:35:17 +03:00
Danila Fominykh
ab1a9a1587
changed context doer to context user, fixed package config setting 2023-07-26 17:26:16 +03:00
Danila Fominykh
23f1ba193d
replaced base domain variable in metadata with registry host variable in similarly with container registry 2023-07-24 13:33:45 +03:00
Danila Fominykh
597a948e33
replaced custom auth with existing methods 2023-07-23 15:42:52 +03:00
Danila Fominykh
faff9d9c57 getting storage object instead of reading bytes 2023-07-17 20:30:36 +03:00
Danila Fominykh
1ea4d48b39 fixed package version owner in metadata update operation 2023-07-17 14:19:54 +03:00
Danila Fominykh
9e7c6ef5e9 updated documentation about metadata update function 2023-07-17 00:03:24 +03:00
dancheg97
f3841f0777 fixed response status code for metadata update operation 2023-07-12 11:41:20 +03:00
dancheg97
1df0a1d252 fixed file size for mock and scope of time patch 2023-07-09 18:26:01 +03:00
dancheg97
364c33b0ad fixed pacman database creation error for case with multiple architectures and distributions 2023-07-09 11:48:46 +03:00
dancheg97
568c3b12b9 test for package create, get and delete operations 2023-07-04 20:02:32 +03:00
dancheg97
56772de730 corrected package blob structure, pacman database is created on get request automatically from package metadata in database 2023-07-02 23:03:34 +03:00
dancheg97
6d1037d506 db desc file for pacman database is saved in the same space with package 2023-07-01 17:13:21 +03:00
dancheg97
2873debef0 documentation for arch packages, additional signature in arch package upload for better security 2023-06-28 22:12:01 +03:00
dancheg97
749a106d06 updated remove function description 2023-06-25 17:45:16 +03:00
dancheg97
5beeb24684 added method to remove package verified with user's GPG key, removed unnecessary directory creation 2023-06-25 13:15:29 +03:00
dancheg97
c37231189b corrected package database connection description and documentation reference in UI 2023-06-24 18:08:18 +03:00
dancheg97
e399ce8452 opdated operation pacman database craetion to form or update database file in memory, added download counter related to pkg.tar.zst files 2023-06-24 13:37:33 +03:00
dancheg97
e75ddfd1db reused existing services/packages functions for package and signature files/blobs creation 2023-06-22 10:33:23 +03:00
dancheg97
af99efb0a0 moved arch package routes to the same scope with other packages 2023-06-22 09:29:08 +03:00
dancheg97
b354f027ff code refactoring and package version publisher id correction 2023-06-21 23:30:07 +03:00
dancheg97
d24e41a6fe fixed db download failure and incorrect package owner assigned on push 2023-06-21 00:15:56 +03:00
dancheg97
ec18d9b535 added arch packages implementation 2023-06-20 23:08:48 +03:00