Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feed: update Process | siddharth | 2021-11-28 | 1 | -3/+4 |
| | | | | | Make a copy of `entry` into `e` in the loop that processes all Entries. Then use `e` instead of `entry`. | ||||
* | feed: fix Validate | siddharth | 2021-11-28 | 2 | -11/+6 |
| | | | | | Don't set YDLPath and DumpDir on Feed in `Validate` function. Set it in the FeedConfig's `validate` function instead. | ||||
* | fern: flush out main | siddharth | 2021-11-28 | 1 | -1/+55 |
| | |||||
* | feed: add Feed.Process | siddharth | 2021-11-28 | 1 | -0/+80 |
| | | | | | | Main function that gets, parses, and downloads entries in the feed. The Feed.processEntry function is a stub for now. | ||||
* | state: add ProcessState.DB | siddharth | 2021-11-28 | 1 | -0/+3 |
| | |||||
* | state: add EntryResult.EntryTitle | siddharth | 2021-11-28 | 1 | -2/+3 |
| | |||||
* | state: add Feed.FeedResult | siddharth | 2021-11-28 | 1 | -2/+3 |
| | |||||
* | db: update FernDB.Write | siddharth | 2021-11-28 | 1 | -1/+1 |
| | | | | Always truncate file before writing. | ||||
* | feed: update Feed.Last | siddharth | 2021-11-28 | 1 | -1/+1 |
| | | | | Change type to `int`. | ||||
* | feed: add Feed.Last | siddharth | 2021-11-28 | 1 | -0/+6 |
| | |||||
* | add `state` package | siddharth | 2021-11-28 | 1 | -0/+33 |
| | |||||
* | remove config/process package | siddharth | 2021-11-28 | 1 | -9/+0 |
| | |||||
* | feed: Feed.Object -> Feed.Entries | siddharth | 2021-11-28 | 1 | -17/+23 |
| | | | | | Also refactor nprUnmarshal and youtubeUnmarshal to return []schema.Entry. | ||||
* | schema: add Entry | siddharth | 2021-11-28 | 1 | -0/+7 |
| | |||||
* | schema: update YouTubeEntry | siddharth | 2021-11-28 | 1 | -0/+1 |
| | | | | Add 'Title'. | ||||
* | schema: update NPREntry | siddharth | 2021-11-28 | 1 | -0/+1 |
| | | | | Add 'Title'. | ||||
* | feed: update feed | siddharth | 2021-11-28 | 2 | -3/+11 |
| | | | | Add YDLPath to Feed. Set it during Validate(). | ||||
* | db: add FernDB.Write | siddharth | 2021-11-28 | 2 | -0/+147 |
| | | | | Writes database to disk. | ||||
* | db: add FernDB.Add | siddharth | 2021-11-28 | 2 | -0/+80 |
| | |||||
* | db: add FernDB.Exists | siddharth | 2021-11-28 | 2 | -0/+57 |
| | |||||
* | db: update TestOpenExistingDB | siddharth | 2021-11-28 | 1 | -1/+3 |
| | | | | Refactor dbFile closing. | ||||
* | db: update FernDB | siddharth | 2021-11-28 | 2 | -0/+20 |
| | | | | Add `mutex` field to the FernDB struct. | ||||
* | add db package | siddharth | 2021-11-28 | 3 | -0/+193 |
| | |||||
* | config: add process package | siddharth | 2021-11-27 | 1 | -0/+9 |
| | |||||
* | README.md: update description | siddharth | 2021-11-27 | 1 | -1/+1 |
| | |||||
* | Makefile: add license header | siddharth | 2021-11-27 | 1 | -0/+3 |
| | |||||
* | Makefile: update `fmt` | siddharth | 2021-11-27 | 1 | -1/+1 |
| | | | | Add config, file, and scheme packages | ||||
* | README.md: WIP | siddharth | 2021-11-27 | 1 | -5/+1 |
| | |||||
* | feed: add unmarshal | siddharth | 2021-11-27 | 1 | -0/+22 |
| | | | | Unmarshals the feed and sets Feed.Object | ||||
* | feed: add youtubeUnmarshal | siddharth | 2021-11-27 | 1 | -0/+17 |
| | | | | Unmarshler for a YouTube Feed. | ||||
* | feed: add nprUnmarshal | siddharth | 2021-11-27 | 1 | -0/+23 |
| | | | | Unmarshler for a NPR Feed. | ||||
* | feed: add `get` | siddharth | 2021-11-27 | 1 | -0/+28 |
| | | | | HTTP GETs raw feed from Feed.Source | ||||
* | feed: update Feed | siddharth | 2021-11-27 | 1 | -0/+1 |
| | | | | Add `Object` field. | ||||
* | add schema package | siddharth | 2021-11-27 | 1 | -0/+47 |
| | |||||
* | add feed package | siddharth | 2021-11-27 | 2 | -35/+60 |
| | | | | Move feed type and function to its own package. | ||||
* | add config package | siddharth | 2021-11-27 | 1 | -0/+127 |
| | |||||
* | add file package | siddharth | 2021-11-27 | 1 | -0/+33 |
| | |||||
* | initial commit | siddharth | 2021-11-27 | 6 | -0/+50 |