Commit graph

22 commits

Author SHA1 Message Date
37b65c0939 Added section to README.md and minor fixes 2023-07-02 08:39:10 -06:00
fa22c1d452 Fixed minor issues and typos 2023-07-01 23:23:14 -06:00
b36d55ceee Change command-line parsing (again...)
- Added formatted table with `--style` option
- Added `warning` log level
- Fixed bugs and cleaned up API
- Removed some extra debugging output
2023-07-01 21:32:24 -06:00
460e2054c2 Minor bug fixes and improvements
- Update `README.md` file with minor changes
- Added `max_results` parameter to config for persistence
- Added `csv2`, `tabulate`, and `indicators` as included dependencies
- Added downloading progress bar that *sometimes* work
-Added HTTP request header handling with curl
- Added more options to some commands
- Moved `http` functions into `context` class

TODO: Fix optional parameters not working correctly
NOTE: Github does not always return `Content-length` HTTP response header
2023-06-25 20:00:58 -06:00
c88cb08e03 Fixed minor issues
- Fixed error message formatting
- Fixed setting verbosity levels
- Fixed implementation of `replace_first` and `replace_all`
- Fixed issue where installing a package would failed because of unescaped single quotes in SQL statement
- Fixed error code returned from SQLITE related errors
- Fixed verbose flag not being repeatable and set correctly
- Fixed some error messages to correctly reflect occuring error
- Fixed the prompt asking the user twice and not taking a default input
- Added functions to get logging default prefixes
- Added `version` command (not implemented yet)
2023-06-18 21:10:50 -06:00
02a4e879a8 Recfactored and simplified more code
- Added function to convert color string to ansi color string
- Added `trim` and `join` utility functions
- Added initial plugin test case
- Implemented `config get` command to see config properties
- Improved logging functionality and removed duplicate logging functions
- Removed unused functions
- Fixed more styling issues
- Fixed some CLI commands not working correctly
- Fixed CLI documentation format
- Fixed some error handling issues
2023-06-18 10:47:05 -06:00
e48c54aa40 Refactored, simplified, and removed code; replaced cli header lib
- Reinitialized submodules
- Slightly restructed project
- Added more options to `compile.sh` script
- Added more utility functions
2023-06-10 19:22:21 -06:00
996c47466e Fixed installing issue with no set remote
- Added default remote repo
- Fixed adding and removing remote repos
2023-05-27 13:47:52 -06:00
8b1f1374d8 More refactoring and bug fixes
- Added `libhttp` and `librest_api` targets to CMakeLists.txt
- Added examples for `libhttp` and `librest_api` in examples directory
- Added `cache` and `add` commands
- Added documentation for `libhttp` and `librest_api`
- Added all available HTTP response codes to REST API
- Changed how `bin/compile.sh` works (must supply args to build)
2023-05-27 11:28:58 -06:00
5a73651ad1 Major refactor and API changes
- Updated `.gitignore` file
- Updated `CMakeLists.txt` to build static exectuable
- Changed some `Doxyfile` configurations to build more robust and complete documentation (WIP)
- Changed how `remote` works to better reflect `git`'s API (WIP)
- Changed how error handling works
- Improved `bin/compile.sh` script
- Improved `bin/lines.sh` script (kinda)
- Removed some instances of `fmt` in favor of `std` string functions
- Restructed style for better readibility
2023-05-22 17:54:45 -06:00
ba23299777 Updated and refactored code
- Added `doxygen` API documentation with theme
- Added error-compatible logging function
- Added more error codes
- Added `non_copyable` function
- Added test function from exporting package list
- Changed how errors are handled with returns
- Change `gdpm remote` API to reflect `git`
- Change most functions to accept a vector of arguments instead of a single parameter
- Updated `.gitignore` and `README.md` files
- Fixed issue with `gdpm export` command crashing
2023-05-14 19:30:33 -06:00
8e82a22ebd Update API, README, added functions, and cleaned up implementations
- Changed the remote API
- Added `export` and changed `remote` commands
- Update README.md file
- Removed dependence on `zig c++` in `bin/build.sh` script
- Added error codes to use in place of ints
- Other minor changes
2023-05-12 22:27:45 -06:00
072a118c9d Fixed small issues and updated GitHub CI
-Make package manager functions return error
-Added Jenkensfile CI for testing purposes
-Updated the github CI for testing purposes
2023-01-13 14:07:14 -06:00
5ffce72fa5 Updated unit tests
-Added tests for functions
-Added error class and return from package manager functions
-Updated `compile.sh` script
2023-01-07 14:50:09 -06:00
d4b1ea90c6 Fixed bugs and issues with linking tests 2023-01-05 20:55:29 -06:00
e048a762b2 Added CI script, updated dependencies, and fixed bugs
-Added CI yaml file for workflows
-Added `doctest` as dependency
-Added test target executable to CMakeLists.txt
-Renamed `bin` scripts to remove `gdpm*` prefix
-Updated `SQLite 3` dependency in CMakeLists.txt
-Implement basic unit testing in `tests/basic.cpp`
-Fixed issue with handling `fmt` strings
2023-01-04 20:49:00 -06:00
e36f0aee79 Updated README.md and .gitignore files
-Fixed issue where `gdpm` would to work because of missing directory
-Changed `constexpr const char *` constants to use `const std::string`
string instead to use with `HOME` variable
-Changed where packages are stored. Now, they should stored in the
user's `$HOME/.config/gdpm/packages.db` by default. This may change to
use `$HOME/.cache/gdpm/packages.db` by default in the future.
2022-08-07 09:17:25 -05:00
c28ee29250 Fixed compile issue with macro name and C string 2022-07-30 09:44:22 -05:00
060d19bda4 Fixed issue where assets would not installed due to directory not being created 2022-07-30 09:34:21 -05:00
2fd55de71e Install and Remove Patch
Fixed issue where packages would not install or remove correctly.
2022-01-16 23:14:47 -06:00
2b250d9a2d Small fixes
Updated CMakeLists.txt
Updated README.md
Updated bin/gdpm-test.sh
Changed some constants defined in constants.hpp
Added GDPM_TIMESTAMP_FORMAT configurable macro
2022-01-03 09:23:58 -06:00
1893c7c36b Initial commit
First commit with most of the main features implemented. May still need
some bug fixes here and there.
2021-12-30 12:56:37 -06:00