Commit Graph

180 Commits

Author SHA1 Message Date
Fred Boniface 9b53bbf5af Implement function to insert new CIF entries in to the database and adjust the deletion function to follow the same style. 2024-04-06 22:27:55 +01:00
Fred Boniface ee2c8abd08 Add test for metadata generation 2024-04-06 22:27:14 +01:00
Fred Boniface 43d89119bf Update dockerignore
Go Test / test (push) Failing after 44s Details
2024-04-05 22:28:54 +01:00
Fred Boniface 426c5f02e8 Update dockerfile for new repo layout 2024-04-05 22:28:30 +01:00
Fred Boniface 493fb41da8 Reorganise repo
Go Test / test (push) Failing after 48s Details
2024-04-05 22:23:42 +01:00
Fred Boniface 7bba8407d5 Add caching and go-version-file to action
Go Test / test (push) Failing after 54s Details
2024-04-05 22:22:11 +01:00
Fred Boniface 78a8407f11 Try again to fix the test command!
Go Test / test (push) Failing after 1m8s Details
2024-04-05 22:17:23 +01:00
Fred Boniface eb0ca32158 Add cache env
Go Test / test (push) Failing after 54s Details
2024-04-05 22:15:18 +01:00
Fred Boniface c4e9a058af Adjust test command to target src dir
Go Test / test (push) Failing after 57s Details
2024-04-05 22:12:49 +01:00
Fred Boniface 6603fa979d Fix test command (was go test ./.., now go test ./...)
Go Test / test (push) Failing after 1m0s Details
2024-04-05 22:10:26 +01:00
Fred Boniface 0a7b399caf Try again to get action working
Go Test / test (push) Failing after 1m9s Details
2024-04-05 22:08:17 +01:00
Fred Boniface 2505c28794 Fix path for test running
Go Test / test (push) Failing after 1m22s Details
2024-04-05 22:05:30 +01:00
Fred Boniface 872125f3b4 Fix action to run tests in correct directory
Go Test / test (push) Failing after 1m44s Details
2024-04-05 22:01:03 +01:00
Fred Boniface 5f542664c9 Add default binary names to .gitignore to prevent inflating repo size by accidental inclusion
Go Test / test (push) Failing after 8m56s Details
2024-04-05 21:51:09 +01:00
Fred Boniface 3587b40703 Add action to run tests 2024-04-05 21:47:16 +01:00
Fred Boniface e0edfd0d50 Port functions from VSTP to handle CIF data. Added tests for Cif/helpers functions 2024-04-05 21:42:00 +01:00
Fred Boniface adf745aa61 Lots more work on CIF processing 2024-04-04 22:39:09 +01:00
Fred Boniface 2fdb840644 Add test to cif package 2024-04-04 13:58:18 +01:00
Fred Boniface c8e6b9d7c8 Add comments for later help 2024-04-03 22:27:05 +01:00
Fred Boniface 3ebe7bfe11 Further work on CIF handling 2024-04-03 22:25:27 +01:00
Fred Boniface 2374a3ca37 Barely anything done because Lucy will not sleep. 2024-04-02 21:07:01 +01:00
Fred Boniface 3251b9a7bb Update owlboard/go-types 2024-03-31 21:51:49 +01:00
Fred Boniface 12c37fe86d Further work on CIF Data downloads 2024-03-30 01:09:12 +00:00
Fred Boniface 8a94e51437 Add comments to describe functions and types 2024-03-29 14:01:57 +00:00
Fred Boniface 2f5868e743 Implement shared logic between CORPUS and CIF packages.
Begin implementation of shared logic between CIF and VSTP packages.
2024-03-29 13:45:58 +00:00
Fred Boniface 8c231fe4af Remove unused const 2024-03-28 22:47:40 +00:00
Fred Boniface d16634f07f Add CIF checking logic 2024-03-28 22:47:08 +00:00
Fred Boniface e76956bea2 Add notes for next steps 2024-03-27 23:38:39 +00:00
Fred Boniface 46c82eefa6 Add logic to avoid timetable updates too early 2024-03-27 23:35:03 +00:00
Fred Boniface 848f4bf7bd Add dayString calculation for CIF updates 2024-03-27 23:08:51 +00:00
Fred Boniface 592675a24b Complete CORPUS Update implementation and begin CIF update implementation 2024-03-26 22:33:11 +00:00
Fred Boniface c144a98fd1 Add update time check function 2024-03-26 16:32:00 +00:00
Fred Boniface 74813e2fb0 Implement stations logic 2024-03-26 16:04:42 +00:00
Fred Boniface f4a21ebe86 Integrate corpus fetch/parse logic 2024-03-26 15:40:15 +00:00
Fred Boniface cf633eeb8f Move ticker to new module 2024-03-26 11:44:19 +00:00
Fred Boniface e204fb04a4 Adjust the program cleanup 2024-03-25 14:03:19 +00:00
Fred Boniface d81cade73b Refactor code to allow for centralised configuration fetching and the running of background ticker 2024-03-25 12:21:59 +00:00
Fred Boniface b0cbab3e34 Change module name:
- Update go target version
  - Change imports to reflect new module name
  - Update repo URL for new module name
2024-03-25 11:26:07 +00:00
Fred Boniface 57244c6971 Migrade from ioutil. to os for ReadFile 2024-03-25 10:51:29 +00:00
Fred Boniface 73c5509e9f Implement new config_loader 2024-03-25 00:42:36 +00:00
Fred Boniface 4badddc9e6 Update Markdown format 2024-03-23 11:58:20 +00:00
Fred Boniface a8258536e9 Adjust configuration table 2024-03-23 11:51:26 +00:00
Fred Boniface 77fd8c4c2d Update logged references to `mq-client` and updated version number. 2024-03-23 11:34:52 +00:00
Fred Boniface eef53ea2b6 Update readme 2024-03-23 11:26:24 +00:00
Fred Boniface fb41485bc5 mongo/readpref not used in this file 2023-08-15 11:13:09 +01:00
Fred Boniface 01c14793b0 Database package not used in this file 2023-08-15 11:12:09 +01:00
Fred Boniface 18c30719e9 Remove the `saveToFile` function which was used during development 2023-08-15 11:11:43 +01:00
Fred Boniface b42b353c4f Fix destination collection 2023-07-28 21:19:38 +01:00
Fred Boniface 4dd161d0de Configure DBClient to use JSON tags 2023-07-27 21:11:08 +01:00
Fred Boniface 0f9a99edfd Add 'UK' operator (Unknown) in case of mussing operator 2023-07-27 20:58:07 +01:00