Compare commits

..

208 Commits

Author SHA1 Message Date
Gorbunov Kirill Andreevich
37e0cf8306 #19 go mod tidy 2024-12-18 21:13:35 +03:00
Gorbunov Kirill Andreevich
014d396679 Merge branch 'master' into #19
# Conflicts:
#	go.mod
2024-12-18 21:13:11 +03:00
Gorbunov Kirill Andreevich
6edef692a0 #19 add reset 2024-12-18 20:53:05 +03:00
Gorbunov Kirill Andreevich
fd3315b12b #19 add ref name 2024-12-18 20:42:36 +03:00
Gorbunov Kirill Andreevich
22ee50a20e #19 add reset 2024-12-18 20:35:55 +03:00
Gorbunov Kirill Andreevich
f7d5f1334c #19 change targetBranch 2024-12-18 20:18:54 +03:00
Gorbunov Kirill Andreevich
42fdbeba31 #19 change targetBranch 2024-12-18 20:18:19 +03:00
Gorbunov Kirill Andreevich
71df1f939b #19 change targetBranch 2024-12-18 20:15:16 +03:00
Gorbunov Kirill Andreevich
6f469b56f6 #19 change post to patch 2024-12-18 20:03:08 +03:00
Gorbunov Kirill Andreevich
26521652b6 #19 change post to patch 2024-12-18 19:55:07 +03:00
Gorbunov Kirill Andreevich
0a1e5c8ea4 #19 change post to patch 2024-12-18 18:33:51 +03:00
Gorbunov Kirill Andreevich
950055d525 #19 add target branch. 2024-12-18 18:21:40 +03:00
Gorbunov Kirill Andreevich
ddf137f7e4 #19 add go git. 2024-12-18 18:01:40 +03:00
gitea-actions
29f34175f0 Bump github.com/golang-migrate/migrate/v4 from v4.17.0 to v4.18.1 2024-12-18 17:59:57 +03:00
Gorbunov Kirill Andreevich
abce2a2bc7 #19 change update. 2024-12-18 17:37:04 +03:00
Gorbunov Kirill Andreevich
6a486461c9 Merge branch 'master-1'
# Conflicts:
#	internal/source/gitea/gitea.go
#	internal/source/github/github.go
#	internal/source/gitlab/gitlab.go
2024-12-11 16:00:35 +03:00
869f248d24 fixup to get working code
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-12-08 14:16:22 +03:00
07f67fd1d7 move to text logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-12-07 16:21:00 +03:00
c5f3fa325e update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-12-07 02:35:30 +03:00
8729d0b88e Merge pull request '#8 fix checkout.' (#18) from kgorbunov/pkgdash:work_tree into master
Reviewed-on: #18
2024-04-21 17:19:44 +03:00
Gorbunov Kirill Andreevich
db2c0de4c3 #8 fix checkout. 2024-04-21 16:43:27 +03:00
80d1e617eb Merge pull request '#8 fix checkout.' (#17) from kgorbunov/pkgdash:work_tree into master
Reviewed-on: #17
2024-04-21 16:29:44 +03:00
Gorbunov Kirill Andreevich
c3ad2e5bba #8 fix checkout. 2024-04-21 16:26:11 +03:00
Кирилл Горбунов
700ba16470 #8 Получение project id для gitlab (#15)
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
Co-authored-by: Gorbunov Kirill Andreevich <kgorbunov@mtsbank.ru>
Reviewed-on: #15
Co-authored-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
Co-committed-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
2024-04-06 15:18:43 +03:00
Gorbunov Kirill Andreevich
d055412753 #8 reset branch before return. 2024-04-04 23:57:32 +03:00
Gorbunov Kirill Andreevich
92075a8145 #8 gitlab. 2024-04-04 23:41:11 +03:00
Gorbunov Kirill Andreevich
71d409ab0f Merge branch 'master-1'
# Conflicts:
#	cmd/pkgdashcli/main.go
#	go.mod
#	internal/source/gitea/gitea.go
2024-04-04 21:27:32 +03:00
831fdfd66d reset to head commit
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-03 23:22:59 +03:00
29a9bd467e tmp fix logging
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-03 17:45:49 +03:00
ae246907c9 fixup for 2fa auth in gitea
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-03 17:39:00 +03:00
Кирилл Горбунов
bf99e383e3 #8 skip path if branch exists (#12)
Co-authored-by: Gorbunov Kirill Andreevich <kgorbunov@mtsbank.ru>
Reviewed-on: #12
Co-authored-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
Co-committed-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
2024-04-03 08:28:16 +03:00
Gorbunov Kirill Andreevich
7e0a3f739a Merge remote-tracking branch 'origin/master' 2024-04-03 01:03:08 +03:00
Gorbunov Kirill Andreevich
6a62fe499e #8 rebase. 2024-04-03 01:02:54 +03:00
Gorbunov Kirill Andreevich
1c3c88a48e #8 rebase. 2024-04-03 00:26:54 +03:00
Gorbunov Kirill Andreevich
f5cc8436a8 #8 rebase. 2024-04-03 00:22:00 +03:00
Gorbunov Kirill Andreevich
348c30c727 #8 rebase. 2024-04-03 00:21:09 +03:00
Gorbunov Kirill Andreevich
8d2394777e #8 rebase. 2024-04-03 00:19:36 +03:00
Gorbunov Kirill Andreevich
e3f70e941c #8 update one dep. 2024-04-03 00:15:39 +03:00
Gorbunov Kirill Andreevich
78a38cc78f #8 skip update is branch exist. 2024-04-03 00:15:39 +03:00
Gorbunov Kirill Andreevich
38c9e978c7 #8 skip update is branch exist. 2024-04-03 00:15:39 +03:00
Gorbunov Kirill Andreevich
440226e34a #8 up readme. 2024-04-03 00:15:39 +03:00
Gorbunov Kirill Andreevich
d019dfe06b #8 after create PR, delete local branch. 2024-04-03 00:15:38 +03:00
Gorbunov Kirill Andreevich
8b297ca951 #8 after create PR, delete local branch. 2024-04-03 00:15:34 +03:00
Gorbunov Kirill Andreevich
c15245df57 #8 after create PR, delete local branch. 2024-04-03 00:15:33 +03:00
Gorbunov Kirill Andreevich
6943db5b55 #8 delete cobra cli 2024-04-03 00:15:28 +03:00
Gorbunov Kirill Andreevich
baa79f8d86 #8 execute all page pr 2024-04-03 00:15:24 +03:00
Кирилл Горбунов
610f53f6be Обновить cmd/pkgdash/assets/ui/vendor.js 2024-04-03 00:15:21 +03:00
Gorbunov Kirill Andreevich
6f79735d58 #8 delete parse env in gitea. 2024-04-03 00:15:21 +03:00
Gorbunov Kirill Andreevich
ca25e748e8 #8 mf. 2024-04-03 00:15:21 +03:00
Gorbunov Kirill Andreevich
2b45d2ec10 #8 rename method on command. 2024-04-03 00:15:21 +03:00
Gorbunov Kirill Andreevich
617d22dd4a #8 up parse yaml 2024-04-03 00:15:18 +03:00
Gorbunov Kirill Andreevich
4fc2cb0a5f #8 delete cobra, add parsing .netrc 2024-04-03 00:15:16 +03:00
Gorbunov Kirill Andreevich
7bb53c8ef1 #8 add list. 2024-04-03 00:15:10 +03:00
Gorbunov Kirill Andreevich
4734816d85 #8 add cli, need fix parse yaml. 2024-04-03 00:15:05 +03:00
Gorbunov Kirill Andreevich
e72d5ec0d1 #8 Finalization RequestUpdate and RequestClose. 2024-04-03 00:14:52 +03:00
Gorbunov Kirill Andreevich
27331048f3 #8 up logger. 2024-04-03 00:14:25 +03:00
Gorbunov Kirill Andreevich
73e4b0a6fe #8 up logger. 2024-04-03 00:14:20 +03:00
Gorbunov Kirill Andreevich
f8a129d0aa #8 add config. 2024-04-03 00:13:29 +03:00
Gorbunov Kirill Andreevich
79793f2bf7 #8 add config. 2024-04-03 00:13:27 +03:00
Gorbunov Kirill Andreevich
8c16702ea2 #8 change update mod. 2024-04-02 23:46:41 +03:00
Gorbunov Kirill Andreevich
0a50bef849 #8 Finished the update I need to redo the call of these methods. 2024-04-02 23:45:58 +03:00
Gorbunov Kirill Andreevich
1c8df603b9 #8 Finished the update I need to redo the call of these methods. 2024-04-02 23:45:46 +03:00
Gorbunov Kirill Andreevich
65e82bd52b #8 update one dep. 2024-04-02 23:24:39 +03:00
Gorbunov Kirill Andreevich
89b2a83d37 #8 fix after merge. 2024-04-02 23:22:25 +03:00
Gorbunov Kirill Andreevich
289a8398bc Merge branch 'master-1'
# Conflicts:
#	cmd/pkgdashcli/main.go
2024-04-02 23:21:08 +03:00
Gorbunov Kirill Andreevich
49b12921c2 #8 skip update is branch exist. 2024-04-02 23:11:26 +03:00
Gorbunov Kirill Andreevich
5e4d93cbe1 #8 skip update is branch exist. 2024-04-02 23:08:05 +03:00
Gorbunov Kirill Andreevich
868fc519ce #8 up readme. 2024-04-02 23:04:11 +03:00
Кирилл Горбунов
eb2a21a1b1 #8 delete cobra, add micro-config-flag (#11)
Убрана кобра, доработаны методы создания, закрытия пулл реквестов.

Co-authored-by: Gorbunov Kirill Andreevich <kgorbunov@mtsbank.ru>
Reviewed-on: #11
Co-authored-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
Co-committed-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
2024-04-02 22:54:15 +03:00
Gorbunov Kirill Andreevich
7645d9dcf7 #8 after create PR, delete local branch. 2024-04-02 22:22:34 +03:00
Gorbunov Kirill Andreevich
993daad3bb #8 after create PR, delete local branch. 2024-04-02 18:44:53 +03:00
Gorbunov Kirill Andreevich
7e6ebcbe89 #8 after create PR, delete local branch. 2024-04-02 18:44:17 +03:00
Gorbunov Kirill Andreevich
9a657f6c21 #8 after create PR, delete local branch. 2024-04-02 18:01:13 +03:00
Gorbunov Kirill Andreevich
61982e469e #8 add default. 2024-04-02 17:51:03 +03:00
Gorbunov Kirill Andreevich
284496213c #8 add default. 2024-04-02 17:21:55 +03:00
Gorbunov Kirill Andreevich
89c081a1fb #8 delete cobra cli 2024-04-02 17:18:19 +03:00
Gorbunov Kirill Andreevich
0d4c2e2e85 #8 execute all page pr 2024-03-31 17:34:34 +03:00
Gorbunov Kirill Andreevich
cd1cc91f93 #8 execute all page pr 2024-03-31 17:26:12 +03:00
Gorbunov Kirill Andreevich
b3a089b7b3 #8 execute all page pr 2024-03-31 17:24:10 +03:00
Gorbunov Kirill Andreevich
687acd85c7 #8 execute all page pr 2024-03-31 17:18:46 +03:00
Gorbunov Kirill Andreevich
d12b2d999f #8 execute all page pr 2024-03-31 17:12:20 +03:00
Gorbunov Kirill Andreevich
6a6829e82e #8. return all page 2024-03-31 16:47:58 +03:00
Gorbunov Kirill Andreevich
2fe3898756 #8. add yaml 2024-03-31 16:38:59 +03:00
Gorbunov Kirill Andreevich
99c9442cda #8. 2024-03-31 16:20:01 +03:00
Gorbunov Kirill Andreevich
695476d8c1 Merge remote-tracking branch 'origin/master' 2024-03-31 16:14:54 +03:00
Gorbunov Kirill Andreevich
4eaed8781b #8 delete parse env in gitea. 2024-03-31 16:12:56 +03:00
Gorbunov Kirill Andreevich
f59bc384eb #8 mf. 2024-03-31 15:59:10 +03:00
Gorbunov Kirill Andreevich
21a2262d0c #8 rename method on command. 2024-03-31 15:57:00 +03:00
Gorbunov Kirill Andreevich
3870abc190 #8 delete default. 2024-03-31 15:51:13 +03:00
Gorbunov Kirill Andreevich
84b8f82ea1 #8 add init msg 2024-03-31 15:48:15 +03:00
Gorbunov Kirill Andreevich
edfe5731f2 #8 up parse yaml 2024-03-31 15:16:22 +03:00
Gorbunov Kirill Andreevich
55c0bdb49a #8 delete cobra, add parsing .netrc 2024-03-31 14:49:40 +03:00
Gorbunov Kirill Andreevich
8a85fce0a9 Merge branch 'master-1'
# Conflicts:
#	cmd/pkgdashcli/main.go
#	go.mod
#	go.sum
#	internal/cli/init.go
#	internal/source/gitea/gitea.go
2024-03-25 23:28:28 +03:00
f913c01fca fixup file config init
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-03-25 23:06:47 +03:00
c362702c40 update for latest micro changes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-03-25 22:54:25 +03:00
Кирилл Горбунов
aae6b007b9 Обновить cmd/pkgdash/assets/ui/vendor.js.map 2024-03-24 21:05:25 +03:00
Кирилл Горбунов
6dd6adfb6a Обновить cmd/pkgdash/assets/ui/vendor.js 2024-03-24 21:04:51 +03:00
Кирилл Горбунов
ec5c6c591d #8 implement interface Source and methods for gitea without Update (#9)
Прикинул метод Open и Delete, Update пока не до делал.

Co-authored-by: Gorbunov Kirill Andreevich <kgorbunov@mtsbank.ru>
Reviewed-on: #9
Co-authored-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
Co-committed-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
2024-03-24 20:52:32 +03:00
Gorbunov Kirill Andreevich
372f135dab #8 go.mod. 2024-03-24 20:39:55 +03:00
Gorbunov Kirill Andreevich
1edf53ac23 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	go.mod
2024-03-24 20:39:37 +03:00
Gorbunov Kirill Andreevich
e5f117bebb #8 go.mod. 2024-03-24 20:29:19 +03:00
Gorbunov Kirill Andreevich
98c933a0b6 #8 add list. 2024-03-23 19:53:12 +03:00
Gorbunov Kirill Andreevich
f9216981b9 #8 remove .gitea. 2024-03-23 19:01:07 +03:00
Gorbunov Kirill Andreevich
46eaba87d4 #8 return License. 2024-03-23 18:53:52 +03:00
Gorbunov Kirill Andreevich
90fcbf6a21 #8 add cli, need fix parse yaml. 2024-03-23 18:52:13 +03:00
Gorbunov Kirill Andreevich
367426a1f9 #8 add log fo check pull. 2024-03-21 15:45:29 +03:00
Gorbunov Kirill Andreevich
4ba405adbc #8 change Update. 2024-03-21 15:29:36 +03:00
Gorbunov Kirill Andreevich
b83cbd9c8e #8 add fmt.Sprintf for log. 2024-03-21 15:13:38 +03:00
Gorbunov Kirill Andreevich
9a4a80a4ea #8 Finalization RequestUpdate and RequestClose. 2024-03-21 14:38:52 +03:00
Gorbunov Kirill Andreevich
785e8e368e #8 Finalization RequestUpdate and RequestClose. 2024-03-21 14:36:32 +03:00
Gorbunov Kirill Andreevich
1680270c0a #8 up logger. 2024-03-17 16:46:46 +03:00
Gorbunov Kirill Andreevich
f1a384c3c4 #8 up logger. 2024-03-17 16:45:46 +03:00
Gorbunov Kirill Andreevich
6e4ebb0437 #8 add config. 2024-03-17 15:49:59 +03:00
Gorbunov Kirill Andreevich
383779b530 #8 add config. 2024-03-17 15:46:10 +03:00
Gorbunov Kirill Andreevich
974c685136 #8 new flag UpMajor. 2024-03-17 15:41:25 +03:00
Gorbunov Kirill Andreevich
3a60ffbf91 #8 change update mod. 2024-03-16 02:25:18 +03:00
Gorbunov Kirill Andreevich
825d778582 #8 change update mod. 2024-03-16 01:56:36 +03:00
Gorbunov Kirill Andreevich
5a6fd69c38 #8 change level error. 2024-03-16 01:05:37 +03:00
Gorbunov Kirill Andreevich
c1dc170dc3 #8 change base. 2024-03-16 00:41:56 +03:00
Gorbunov Kirill Andreevich
012a2d6dba #8 delete config. 2024-03-15 23:17:25 +03:00
Gorbunov Kirill Andreevich
dc192ce1cc #8 Code correction, refinement of pull request opening. 2024-03-15 23:12:39 +03:00
Gorbunov Kirill Andreevich
f9fe7e183e #8 Finished the update I need to redo the call of these methods. 2024-03-15 21:59:29 +03:00
Gorbunov Kirill Andreevich
e57e1ff82e #8 Finished the update I need to redo the call of these methods. 2024-03-15 21:18:58 +03:00
c9a16829fd Merge pull request 'add calculate and merge coverage files' (#7) from devstigneev/pkgdash:resolve_coverage_analyze into master
Reviewed-on: #7
2024-02-26 00:02:09 +03:00
Gorbunov Kirill Andreevich
f559bc86b8 #8 Finished the update I need to redo the call of these methods. 2024-02-21 18:52:55 +03:00
Gorbunov Kirill Andreevich
a1cb049afa #8 implement interface Source and methods for gitea without Update 2024-02-14 23:03:30 +03:00
d56b389572 regen proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-18 00:39:27 +03:00
6da686b9e0 add calculate and merge coverage files 2023-10-15 19:53:11 +03:00
38bc8b8841 update workflow
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 01:01:31 +03:00
997ce8945f update workflow
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 00:37:30 +03:00
d60bab3e7b update workflow
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 00:27:30 +03:00
e74cfad61d update workflow
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 00:26:33 +03:00
a3e2097f24 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 00:16:04 +03:00
587bcaf6d9 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 00:06:55 +03:00
1a440f8f33 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 00:04:35 +03:00
156d969938 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-03 00:01:45 +03:00
9cf36d0421 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 23:52:43 +03:00
4944012292 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 23:52:27 +03:00
f2f6fcbb0d fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 22:53:49 +03:00
b9bd602b46 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 22:49:22 +03:00
23063e665e fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 22:40:08 +03:00
4cecf83b03 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 22:31:23 +03:00
222cde894d fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 22:28:13 +03:00
c67724689d fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 22:26:02 +03:00
81b6c0b3d2 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 20:44:00 +03:00
485ad60fe0 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 20:22:03 +03:00
770f837c11 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 19:53:29 +03:00
083517ace3 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 19:49:18 +03:00
66cdcf2179 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 19:43:48 +03:00
7a1d00f5de fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 02:10:13 +03:00
98c7b22d6b fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 02:06:06 +03:00
79e4051c74 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 02:04:45 +03:00
10e17e6b99 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 02:03:18 +03:00
25d1b96d77 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 02:01:46 +03:00
4809f54b8b fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 02:00:19 +03:00
6ef82b48c8 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 01:45:01 +03:00
ded2906199 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 01:38:12 +03:00
63b04b1f0d fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 01:33:32 +03:00
8da137e29b fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-02 01:16:16 +03:00
1c9a6126f3 fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-01 21:34:58 +03:00
8d41ea035c fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-01 16:54:00 +03:00
0844b2e32e fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-01 16:28:03 +03:00
4e217eaa8d update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 01:29:34 +03:00
8fb72df400 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 01:25:09 +03:00
3988e81157 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 01:18:30 +03:00
67058f3883 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 01:07:50 +03:00
3ef2a5d7ce update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 01:05:02 +03:00
131c8e3d71 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 01:04:31 +03:00
78ee2d8432 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 01:00:13 +03:00
51bc1b6588 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-30 00:45:29 +03:00
3564c55f3d rename cli
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-27 09:45:50 +03:00
cfb7cb0f26 updates
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-09-23 21:16:26 +03:00
eb4daf33f1 rename
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-20 14:19:57 +03:00
6d5ab6f208 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-19 17:35:08 +03:00
16b38a5578 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-19 17:33:25 +03:00
59e28e5a86 updates
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-19 16:55:52 +03:00
0e18a63f10 use worker
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-18 23:59:15 +03:00
78f0ae14d7 rewrite
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-16 13:17:42 +03:00
0678e72908 Merge pull request 'initial rewrite, use micro v4 and not cms-xxx stuff' (#4) from rewrite into master
Reviewed-on: #4
2023-08-14 15:08:52 +03:00
37e92e8473 add GetComments and update proto 2023-08-14 14:27:29 +03:00
85d1191dd9 removed dependencies 2023-08-13 00:09:57 +03:00
dc0c660021 regen
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-12 20:59:01 +03:00
a11bb6b95c merge 2023-08-12 20:55:20 +03:00
816b43dc37 Merge branch 'master' into rewrite
# Conflicts:
#	proto/pkgdash.pb.go
#	proto/pkgdash.pb.validate.go
#	proto/pkgdash.proto
2023-08-12 19:50:21 +03:00
17a09f7fb3 chanched handlers 2023-08-12 19:26:50 +03:00
ad798713df init ui
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-12 16:24:50 +03:00
85f4b92fa7 Merge branch 'rewrite'
# Conflicts:
#	cmd/script/main.go
#	go.mod
#	go.sum
#	handler/handlers.go
#	handler/writer.go
#	proto/go_generate/dashboard.pb.go
#	proto/micro/dashboard_micro.pb.go
#	proto/micro/dashboard_micro_http.pb.go
#	proto/pkgdash.pb.validate.go
#	service/client_git/client.go
#	service/client_git/client_test.go
#	service/service.go
#	storage/postgres/quries.go
#	storage/postgres/storage.go
#	storage/sqlite/storage.go
#	storage/storage.go
#	storage/storage_test.go
2023-08-12 15:23:14 +03:00
96c955b412 update deps with fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-12 14:09:06 +03:00
8e4656196a update micro-client-http
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-12 13:19:51 +03:00
4be12c653b intermediate merge
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-11 21:45:08 +03:00
2ef12956ac initial rewrite, use micro v4 and not cms-xxx stuff
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-11 21:27:38 +03:00
8886dcba9c add handlers, storage(Postgres, sqlite) (#3)
Reviewed-on: #3
Co-authored-by: Evstigneev Denis <danteevstigneev@yandex.ru>
Co-committed-by: Evstigneev Denis <danteevstigneev@yandex.ru>
2023-08-11 20:12:15 +03:00
02aa7d25f1 remark for array query 2023-08-11 17:18:45 +03:00
71f438e108 add logic to GetModule handler 2023-08-11 17:07:37 +03:00
7de883b8c0 add storage sqlite GetModule with save ineq 2023-08-11 16:24:16 +03:00
c1f1e31569 rename fields 2023-08-11 08:58:31 +03:00
1eeb6607be rename struct storage 2023-08-10 22:35:48 +03:00
790a4db3ca move scripts 2023-08-10 22:27:43 +03:00
0efc90a17e add mapping listPackage 2023-08-10 22:24:41 +03:00
6eb76b1d15 add sqlite 2023-08-10 22:16:14 +03:00
a5a6c683a4 add worker with analyze go.mod(pref ver util) 2023-08-10 17:53:11 +03:00
89522f28da add validate req fields 2023-08-10 13:05:17 +03:00
a0d101e9ce restore Dockerfile 2023-08-10 12:44:12 +03:00
92153397a0 add handle: addComment;addPackage storage:ListPackage;AddComment;AddPackage 2023-08-10 12:38:55 +03:00
b0f76d9bac Merge pull request '[In Progress] init layout' (#2) from danteevstigneev/pkgdash:master into master
Reviewed-on: #2
2023-08-09 15:42:14 +03:00
bbb9174d8a add storage and mux handle with handlers 2023-08-09 14:31:23 +03:00
fb0ad62f0e init layout 2023-08-07 21:33:27 +03:00
5aec0a0895 initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-08-03 00:30:19 +03:00
2 changed files with 240 additions and 240 deletions

View File

@@ -4996,243 +4996,243 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ "__spreadArrays": () => (/* binding */ __spreadArrays), /* harmony export */ "__spreadArrays": () => (/* binding */ __spreadArrays),
/* harmony export */ "__values": () => (/* binding */ __values) /* harmony export */ "__values": () => (/* binding */ __values)
/* harmony export */ }); /* harmony export */ });
/*! ***************************************************************************** /*! *****************************************************************************
Copyright (c) Microsoft Corporation. Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted. purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE. PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */ ***************************************************************************** */
/* global Reflect, Promise */ /* global Reflect, Promise */
var extendStatics = function(d, b) { var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf || extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b); return extendStatics(d, b);
}; };
function __extends(d, b) { function __extends(d, b) {
if (typeof b !== "function" && b !== null) if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b); extendStatics(d, b);
function __() { this.constructor = d; } function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
} }
var __assign = function() { var __assign = function() {
__assign = Object.assign || function __assign(t) { __assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
} }
return t; return t;
} }
return __assign.apply(this, arguments); return __assign.apply(this, arguments);
} }
function __rest(s, e) { function __rest(s, e) {
var t = {}; var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p]; t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]]; t[p[i]] = s[p[i]];
} }
return t; return t;
} }
function __decorate(decorators, target, key, desc) { function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r; return c > 3 && r && Object.defineProperty(target, key, r), r;
} }
function __param(paramIndex, decorator) { function __param(paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); } return function (target, key) { decorator(target, key, paramIndex); }
} }
function __metadata(metadataKey, metadataValue) { function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
} }
function __awaiter(thisArg, _arguments, P, generator) { function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) { return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next()); step((generator = generator.apply(thisArg, _arguments || [])).next());
}); });
} }
function __generator(thisArg, body) { function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; } function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) { function step(op) {
if (f) throw new TypeError("Generator is already executing."); if (f) throw new TypeError("Generator is already executing.");
while (_) try { while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value]; if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) { switch (op[0]) {
case 0: case 1: t = op; break; case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false }; case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue; case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue; case 7: op = _.ops.pop(); _.trys.pop(); continue;
default: default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop(); if (t[2]) _.ops.pop();
_.trys.pop(); continue; _.trys.pop(); continue;
} }
op = body.call(thisArg, _); op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
} }
} }
var __createBinding = Object.create ? (function(o, m, k, k2) { var __createBinding = Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k; if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) { }) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k; if (k2 === undefined) k2 = k;
o[k2] = m[k]; o[k2] = m[k];
}); });
function __exportStar(m, o) { function __exportStar(m, o) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
} }
function __values(o) { function __values(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o); if (m) return m.call(o);
if (o && typeof o.length === "number") return { if (o && typeof o.length === "number") return {
next: function () { next: function () {
if (o && i >= o.length) o = void 0; if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o }; return { value: o && o[i++], done: !o };
} }
}; };
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
} }
function __read(o, n) { function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator]; var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o; if (!m) return o;
var i = m.call(o), r, ar = [], e; var i = m.call(o), r, ar = [], e;
try { try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
} }
catch (error) { e = { error: error }; } catch (error) { e = { error: error }; }
finally { finally {
try { try {
if (r && !r.done && (m = i["return"])) m.call(i); if (r && !r.done && (m = i["return"])) m.call(i);
} }
finally { if (e) throw e.error; } finally { if (e) throw e.error; }
} }
return ar; return ar;
} }
/** @deprecated */ /** @deprecated */
function __spread() { function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++) for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i])); ar = ar.concat(__read(arguments[i]));
return ar; return ar;
} }
/** @deprecated */ /** @deprecated */
function __spreadArrays() { function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j]; r[k] = a[j];
return r; return r;
} }
function __spreadArray(to, from) { function __spreadArray(to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i]; to[j] = from[i];
return to; return to;
} }
function __await(v) { function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v); return this instanceof __await ? (this.v = v, this) : new __await(v);
} }
function __asyncGenerator(thisArg, _arguments, generator) { function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = []; var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); } function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); } function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
} }
function __asyncDelegator(o) { function __asyncDelegator(o) {
var i, p; var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
} }
function __asyncValues(o) { function __asyncValues(o) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i; var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
} }
function __makeTemplateObject(cooked, raw) { function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked; return cooked;
}; };
var __setModuleDefault = Object.create ? (function(o, v) { var __setModuleDefault = Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v }); Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) { }) : function(o, v) {
o["default"] = v; o["default"] = v;
}; };
function __importStar(mod) { function __importStar(mod) {
if (mod && mod.__esModule) return mod; if (mod && mod.__esModule) return mod;
var result = {}; var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod); __setModuleDefault(result, mod);
return result; return result;
} }
function __importDefault(mod) { function __importDefault(mod) {
return (mod && mod.__esModule) ? mod : { default: mod }; return (mod && mod.__esModule) ? mod : { default: mod };
} }
function __classPrivateFieldGet(receiver, privateMap) { function __classPrivateFieldGet(receiver, privateMap) {
if (!privateMap.has(receiver)) { if (!privateMap.has(receiver)) {
throw new TypeError("attempted to get private field on non-instance"); throw new TypeError("attempted to get private field on non-instance");
} }
return privateMap.get(receiver); return privateMap.get(receiver);
} }
function __classPrivateFieldSet(receiver, privateMap, value) { function __classPrivateFieldSet(receiver, privateMap, value) {
if (!privateMap.has(receiver)) { if (!privateMap.has(receiver)) {
throw new TypeError("attempted to set private field on non-instance"); throw new TypeError("attempted to set private field on non-instance");
} }
privateMap.set(receiver, value); privateMap.set(receiver, value);
return value; return value;
} }
/***/ }), /***/ }),

View File

@@ -10,14 +10,14 @@ import (
"fmt" "fmt"
"strings" "strings"
"go.unistack.org/pkgdash/internal/config"
"go.unistack.org/pkgdash/internal/models"
pb "go.unistack.org/pkgdash/proto"
"github.com/golang-migrate/migrate/v3" "github.com/golang-migrate/migrate/v3"
mpgx "github.com/golang-migrate/migrate/v4/database/pgx" mpgx "github.com/golang-migrate/migrate/v4/database/pgx"
"github.com/golang-migrate/migrate/v4/source/iofs" "github.com/golang-migrate/migrate/v4/source/iofs"
"github.com/lib/pq" "github.com/lib/pq"
"go.unistack.org/micro/v3/logger" "go.unistack.org/micro/v3/logger"
"go.unistack.org/pkgdash/internal/config"
"go.unistack.org/pkgdash/internal/models"
pb "go.unistack.org/pkgdash/proto"
) )
const ( const (