Commit graph

139 commits

Author SHA1 Message Date
a57759ea80
feat: add owner field and implement Hash for all Gitea response types 2022-04-30 23:50:45 +05:30
4cd62dcb40
feat: uniform hostname extraction for DB storage via get_hostname 2022-04-30 23:45:37 +05:30
6f21a8b49e
feat: implement add_user and user_exists for sqlite 2022-04-20 16:27:56 +05:30
5102531a70
feat: add_user and user_exists with accompanying test suites
DESCRIPTION
    add_user
	Adds new user to DB. Implementers must ensure username
	uniqueness scoped at forge instance level. When applicable, HTML
	link to profile photo may be stored as we..
    user_exists
	Checks if a user exists in database. Optionally provide hostname
	of forge instance to get forge-specific results.
2022-04-20 16:23:38 +05:30
b8be794c19
chore: CI: bump actions/cache version 2022-04-13 15:44:20 +05:30
df4343c667
chore: fix CI 2022-04-13 15:01:17 +05:30
fc690fbefe
feat: setup docker-compose Gitea as part of dev-env 2022-04-13 15:01:06 +05:30
c0303ba8c5
feat: create instance the first time it is encountered and load DB from
test env
2022-04-13 14:12:29 +05:30
f1ea436080
feat: load and init Gitea before testing 2022-04-13 12:21:34 +05:30
efb5401691
feat: load and init db-sqlx-sqlite with testing environment setup 2022-04-13 12:20:26 +05:30
ec97f096de
chore: load env vars where relevant 2022-04-13 12:19:42 +05:30
89cdee765a
feat: add hacking instructions(wip) 2022-04-13 12:17:14 +05:30
5099eefa54
feat: implement SCDatabase for sqlite 2022-04-12 17:48:05 +05:30
d3d2abf074
feat: add tests to check for forge types in DB 2022-04-12 17:47:34 +05:30
e124cb6348
feat: mod make to work with only db-sqlx-sqlite workspace 2022-04-12 17:46:53 +05:30
da88e6f0b4
feat: test only db-sqlx-sqlite workspace 2022-04-12 17:45:35 +05:30
99fabab5bc
feat: add tests to check if forge type is loaded into DB 2022-04-12 17:44:21 +05:30
2a8283acc0
feat: define core DB traits to store, check for existence and delete
forges
2022-04-12 17:35:09 +05:30
5af8888936
feat: migrator binary 2022-04-12 17:34:25 +05:30
b39ce2098a
fix: loading sqlite database URL from env var
SUMMARY
    sqlite caused problems(panic) when trying to break its database URL
    when trying to break it down into host, protocol, path and port,
    etc. with crate::settings;:DatabaseBuilder. Bypassing
    DatabaseBuilder and directly setting crate::settings::Database.url,
    fixes this issue.
2022-04-12 17:17:24 +05:30
ea0e299fef
chore: fix CI Gitea launch 2022-04-06 10:31:17 +05:30
9d137f8dcf
feat: check if provided URL points to a Gitea instance 2022-04-06 10:10:38 +05:30
8a305d6db1
feat: crawl gitea and get all repository information 2022-04-06 10:09:49 +05:30
35aa155c0e
feat: initialize app data and apply clippy lints 2022-04-06 10:08:15 +05:30
f8660f9216
feat: spin up Gitea instance for development and testing 2022-04-06 10:06:14 +05:30
307e9397fc
feat: configuration option for wait time before next API call 2022-04-06 10:05:34 +05:30
98a765ddea
feat: spin up and install Gitea and create new user for testing 2022-04-06 09:24:15 +05:30
7852ae634d
feat: add crawler configuration options 2022-04-03 19:59:45 +05:30
e37f335652
feat: load settings from configuration file 2022-04-02 16:29:23 +05:30
68704573c6
feat: add build.rs setup 2022-04-02 16:28:56 +05:30
efd4db8e1c
feat: Gitea search results datatypes 2022-04-02 16:18:51 +05:30
99f5ff2f87
feat: add readme 2022-03-30 13:48:54 +05:30
7c91a3ecf7
fix: docs deployment 2022-03-30 13:42:51 +05:30
32378266f0
fix: make test: run tests 2022-03-30 10:22:27 +05:30
5d1799a93d
chore: rename repo from world to starchart 2022-03-30 10:10:14 +05:30
e83e435000
fix: test and coverage subroutines in make 2022-03-28 12:24:35 +05:30
ed18820b7a
feat: verify DNS TXT challenge 2022-03-28 12:20:03 +05:30
72df0769b3
feat: setup CI 2022-03-28 12:17:55 +05:30
b61fde3873
feat: add license 2022-03-28 11:50:16 +05:30