Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-26 | Added the file write, and close in `create_info()`. | mrb0nk500 | |
2021-06-26 | Added the code for printing the info file contents to | mrb0nk500 | |
the buffer. | |||
2021-06-26 | Include `stdarg.h` in `misc.c`. | mrb0nk500 | |
2021-06-26 | Added `get_info_len()`. | mrb0nk500 | |
This function gets the length of the contents of the info file to make. | |||
2021-06-26 | Added `format_len()`. | mrb0nk500 | |
2021-06-26 | Make `date` a `time_t`. | mrb0nk500 | |
2021-06-26 | Added some more error checking in `create_info()`. | mrb0nk500 | |
2021-06-25 | Added some more log messages in | mrb0nk500 | |
`create_pull_request_dir()`. | |||
2021-06-25 | Change the log types from `LOG_INFO` to `LOG_NOTICE` | mrb0nk500 | |
in `create_info()`. | |||
2021-06-25 | Started work on `create_info()`. | mrb0nk500 | |
2021-06-25 | Remove the TODO in `create_pull_request_dir()`. | mrb0nk500 | |
2021-06-25 | Add error checking, and move the code for getting the | mrb0nk500 | |
PR path, and getting the patch files to after the error checks. | |||
2021-06-25 | Allow `create_pull_request_dir()` to use either the | mrb0nk500 | |
ID, or title of the PR as the directory name. | |||
2021-06-23 | Fixed another typo in `dir_path_num()`. | mrb0nk500 | |
2021-06-23 | Fixed a typo in `dir_path_num()`. | mrb0nk500 | |
2021-06-23 | Fixed a typo in `misc.h`. | mrb0nk500 | |
Forgot to add a semicolon to one of the externs. | |||
2021-06-23 | Added externs for all the new functions in `misc.c`. | mrb0nk500 | |
2021-06-23 | Added `sanitize_strlen()`, and `sanitize_str()`. | mrb0nk500 | |
`sanitize_str()` creates a string with each starting space replaced by a hyphen, and with all trailing spaces, and periods removed. `sanitize_strlen()` gets the length of the sanatized version of the supplied string. | |||
2021-06-23 | Added `delm_span()`. | mrb0nk500 | |
2021-06-23 | Added 'dir_path_num()', and `dir_path_name()`. | mrb0nk500 | |
2021-06-18 | Include `ctype.h` in `git.c`. | mrb0nk500 | |
2021-06-18 | Removed the code that's now in `misc.c` from | mrb0nk500 | |
`config.c`. Forgot to remove it. lol | |||
2021-06-18 | Added code for creating format patch files of each | mrb0nk500 | |
commit of a pull request. | |||
2021-06-18 | Move all miscellaneous functions from `config.c` into | mrb0nk500 | |
`misc.c`. | |||
2021-06-18 | Replace all instances of `malloc()` with `calloc()` | mrb0nk500 | |
in `config.c`. | |||
2021-06-18 | Removed unnecessary `memset()` in `read_file()`, and | mrb0nk500 | |
replaced `malloc()` with `calloc()`. | |||
2021-06-17 | Start work on some of the pull request handling code. | mrb0nk500 | |
2021-06-15 | Added the `git_branch` struct, and replaced all | mrb0nk500 | |
instances of `git_reference` with it. | |||
2021-06-15 | Added `pull_request`, `file`, and `comment` structs. | mrb0nk500 | |
These structs are used for accepting, rejecting, creating, sending, and receiving pull requests. | |||
2021-06-15 | Added include for `strings.h`. | mrb0nk500 | |
This is because `strcasecmp()` is technically in `strings.h`, rather than `string.h`. | |||
2021-06-13 | Added a placeholder for the git root in `test.conf`. | mrb0nk500 | |
2021-06-13 | Fixed a typo with appending the directory name to the | mrb0nk500 | |
git root, and also comment out a debug log message. I forgot to add a `/` oof. | |||
2021-06-13 | Fixed a stupid bug with not freeing the linked list. | mrb0nk500 | |
2021-06-13 | Added the `repos` parameter to both `main_loop()`, and | mrb0nk500 | |
`cleanup()`, and also call the git initialization code in the main program. | |||
2021-06-13 | Added `cleanup_git()`. | mrb0nk500 | |
This function cleans up the initialized git state. | |||
2021-06-13 | Include `git.h` in `pullreqd.c`. | mrb0nk500 | |
Also added the necessary externs. | |||
2021-06-13 | Tell gcc to stop complaining about `readdir_r()` being | mrb0nk500 | |
deprecated. | |||
2021-06-13 | Link with libgit2 now. | mrb0nk500 | |
2021-06-13 | Finished the git initialization code. | mrb0nk500 | |
2021-06-13 | Added the `git_repo` struct. | mrb0nk500 | |
This is a linked list, that will be temporarily be used by `init_git()`. | |||
2021-06-13 | Make the `data` member of `cmd` a flexable array | mrb0nk500 | |
member. This is to make it easier to send the packet, due to not having to create an extra buffer before sending the packet. | |||
2021-06-13 | Changed the order of the struct definitions in | mrb0nk500 | |
`network.h`. It wouldn't compile due to them not being defined eariler, and I don't want to do prototyping. | |||
2021-06-12 | Remove unecessary includes. | mrb0nk500 | |
This is because I now have these includes in `network.h`. | |||
2021-06-12 | Start work on the networking code. | mrb0nk500 | |
2021-06-12 | Start work on the git related code. | mrb0nk500 | |
2021-06-12 | Expanded all instances of `did_fail`, and | mrb0nk500 | |
`did_fail_reason`. I also replaced all instances of `log` in the expanded `did_fail_reason` instances with `log_reason`. | |||
2021-06-12 | Removed `did_fail`, and `did_fail_reason`, and added | mrb0nk500 | |
`log_reason`. I didn't realize just how unreadable the codebase became, with those two macros. | |||
2021-06-12 | Replaced all log messages with the macros from | mrb0nk500 | |
`macros.h`. This was done not only to make it smaller, and easier to read, but also to make it easier for debugging. | |||
2021-06-12 | Created `macros.h`. | mrb0nk500 | |
This header contains any macros that're widely used throughout the codebase. | |||
2021-06-11 | Replace call to `malloc()` with call to `calloc()` in | mrb0nk500 | |
the config parser. Because `calloc()` zeros out the allocated space, we can remove the previous call to `memset()`. |