Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-27 | git: Update definition of `create_pull_request_dir()` in `git.h` | mrb0nk500 | |
Forgot to do that when first implementing the index related stuff. | |||
2022-07-27 | git: Replace all uses of `git_repo` with the more generic `linked_list` | mrb0nk500 | |
We don't need a type specific linked list anymore, so we can just get rid of it, plus it makes the code much cleaner in the process. | |||
2022-07-27 | linked_list: Add `cleanup_linked_list()` | mrb0nk500 | |
This function cleans up a linked list by removing every node in the list. | |||
2022-07-26 | git: Add `create_file()` | mrb0nk500 | |
2022-07-26 | git: Remove definition of `index` struct from `git.h` | mrb0nk500 | |
oof, forgot to commit this when moving all the index related stuff to `index.{c,h}`. | |||
2022-07-26 | linked_list: Add `linked_list` type. | mrb0nk500 | |
This is a type generic doubly linked list implementation. I used the implementation from DevkitPro's libnds library as a baseline. Link to libnds implementation: https://github.com/devkitPro/libnds/blob/master/source/arm9/linkedlist.c | |||
2022-07-26 | keyword: Added `keyword` type | mrb0nk500 | |
This will allow for easy parsing of stuff like the PR `info`, PR `comments`, and config files. | |||
2022-07-26 | index: Add `index_path_exists()` | mrb0nk500 | |
This function checks if the converted path of a given index exists, or not. It also returns the converted path in `path` if the path exists. | |||
2022-07-26 | index: Add a function for converting an index into a string. | mrb0nk500 | |
2022-07-26 | git, index: Move index related functions to `index.{c,h}` | mrb0nk500 | |
2022-07-24 | git: Remove reason string reference from `is_valid_index()` | mrb0nk500 | |
2022-07-13 | git: Use an index instead of an id for creating PR directories | mrb0nk500 | |
PR's will now be identified by index, rather than by id. If no index is found, then it falls back to using the PR title as the directory name. | |||
2022-07-13 | git: Add index type | mrb0nk500 | |
An index is a type of identifier that'll be used for identifying PR's. Indexes can either be named, or numbered, and can also contain another index within them, with each subsequent index being seperated by '-'s. | |||
2021-08-01 | Initialize `cfg`, and `repos` to NULL in `main()`. | mrb0nk500 | |
2021-08-01 | Check if the PR root directory exists, in `main_loop()`. | mrb0nk500 | |
2021-08-01 | Fixed a typo in `create_pull_request_dir()`. | mrb0nk500 | |
2021-08-01 | Fixed a typo in `sanitized_dir_path_name()`. | mrb0nk500 | |
2021-08-01 | Removed a free to a non-existent variable in | mrb0nk500 | |
`create_pull_request_dir()`. Forgot about thatm lol. | |||
2021-08-01 | Added extern for `sanitized_dir_path_name()`. | mrb0nk500 | |
2021-08-01 | Replace all instances of `dir_path_name()`, with | mrb0nk500 | |
`sanitized_dir_path_name()` in `create_pull_request_dir()`. | |||
2021-08-01 | Added `sanitized_dir_path_name()`. | mrb0nk500 | |
This function is the same as `dir_path_name()`, except `name` is sanitized before being appended to `root`. | |||
2021-08-01 | Fixed an infinite loop bug in `sanitized_str()`, and | mrb0nk500 | |
`sanitized_strlen()`. | |||
2021-08-01 | Fixed a bug in `create_pull_request_dir()`. | mrb0nk500 | |
The patch file(s) were being created in the current working directory, rather than the PR directory. | |||
2021-08-01 | Set return value to zero, if the PR ID is negative in | mrb0nk500 | |
`create_pull_request_dir()`. | |||
2021-08-01 | Move the creation of the info file to after the | mrb0nk500 | |
PR directory check in `create_pull_request_dir()`. | |||
2021-08-01 | Fixed a typo in `create_pull_request_dir()`. | mrb0nk500 | |
2021-08-01 | Move the `openlog()` call from `init_daemon()` to | mrb0nk500 | |
`main()`. | |||
2021-08-01 | Added `free_files()`, and `free_file()`. | mrb0nk500 | |
2021-08-01 | Added `get_branch_commits()`. | mrb0nk500 | |
It's currently a stub, but, I added it in order to at least get it to compile. | |||
2021-08-01 | Explicitly discard const qualifier in `find_alpha()`. | mrb0nk500 | |
This was done to get rid of a const qualifier warning. | |||
2021-08-01 | Fixed typo in `create_info_file()`. | mrb0nk500 | |
> mfw copy paste error | |||
2021-07-11 | Replace `%c` in the time format string with the RFC | mrb0nk500 | |
2822 date format. | |||
2021-07-03 | Use the filename created by `create_num_str()`, rather | mrb0nk500 | |
than the patch filename itself. | |||
2021-07-03 | Added `find_alpha()`, and `create_num_str()`. | mrb0nk500 | |
2021-06-30 | Fixed a typo in `get_comment_len()`. | mrb0nk500 | |
2021-06-30 | Add `get_comment_len()`. | mrb0nk500 | |
2021-06-30 | Seperate each PR comment by one blank line in | mrb0nk500 | |
`add_comment()`. | |||
2021-06-30 | Added a check to see if `commits` is non-NULL. | mrb0nk500 | |
2021-06-30 | Moved assignment of `pr_dir` to before the creation of | mrb0nk500 | |
the info file. | |||
2021-06-27 | Fixed a typo in `add_comment()`. | mrb0nk500 | |
2021-06-27 | Added externs for `add_comment()`, and | mrb0nk500 | |
`create_pull_request_dir()` in `git.h`. | |||
2021-06-27 | Added `add_comment()`. | mrb0nk500 | |
This function adds the supplied comment to the `comments` file located in the PR's root directory. | |||
2021-06-27 | Renamed `info_buf` to `file_buf` in | mrb0nk500 | |
`create_info_file()`. | |||
2021-06-27 | Renamed `info` to `filename` in `create_info_file()`. | mrb0nk500 | |
2021-06-27 | Renamed `pr_dir` to `pr_root` in `create_info_file()`. | mrb0nk500 | |
2021-06-27 | Added the `id`, and `reply` members to `comment`. | mrb0nk500 | |
2021-06-27 | Changed `date` from `int` to `time_t` in `comment`. | mrb0nk500 | |
2021-06-27 | Fixed some typos in `create_info_file()`. | mrb0nk500 | |
2021-06-27 | Renamed `create_info()` to `create_info_file()`. | mrb0nk500 | |
2021-06-26 | Added the file write, and close in `create_info()`. | mrb0nk500 | |