Commit Graph

78 Commits

Author SHA1 Message Date
Augusto Dwenger J. 381dd4819d
Merge pull request #7 from hamburghammer/docs
Add Docs
2020-11-25 14:06:49 +01:00
Augusto Dwenger 1c9b053ec0 Fix link to the competition details 2020-11-21 16:58:05 +01:00
Augusto Dwenger 874960b897 Add note to the usage section regarding the flags 2020-11-21 16:58:05 +01:00
Augusto Dwenger 7698718458 Replace competition terms with installation, usage etc documentation 2020-11-21 16:58:05 +01:00
Augusto Dwenger e6ab66ad2e Add competition terms in side an own file 2020-11-21 16:57:56 +01:00
Augusto Dwenger J. 676c0ae573
Fix wrong argument descriptions 2020-11-15 20:25:31 +01:00
Augusto Dwenger J. ecd40f940d
Merge pull request #6 from hamburghammer/develop
Change memory representation
2020-11-15 20:08:18 +01:00
Augusto Dwenger fefa87ad52 Fix printing the help message twice 2020-11-10 14:50:31 +01:00
Augusto Dwenger 966735a184 Update CI scripts
Add test coverage output.
Add race detector step.
Disable cgo for the build
2020-11-09 21:36:01 +01:00
Augusto Dwenger 7b1a54d697 Change usage representation of memory field
Changes apply to Disk and Mem. The show the state as an object.
This should improve the readablility.
2020-11-09 21:27:18 +01:00
Augusto Dwenger J. d27183d362 Add go report card badge 2020-10-20 16:47:04 +02:00
Augusto Dwenger J. 8e32c292a5 Fix misspells 2020-10-20 16:44:59 +02:00
Augusto Dwenger 66abdebf3b Fix Copyright section 2020-08-10 20:23:36 +02:00
Augusto Dwenger e62c4853c9 Merge branch 'feature/date' into develop 2020-08-10 20:04:14 +02:00
Augusto Dwenger 0b81a55351 Move Date to the beginning of the JSON 2020-08-10 20:02:24 +02:00
Augusto Dwenger 68eaf1d195 Implement date as command for the json output 2020-08-09 17:52:20 +02:00
Augusto Dwenger 421faacb21 Add name and year to the license 2020-08-07 12:22:13 +02:00
Augusto Dwenger 79db0bb6e5 Merge branch 'develop'
Include:
- Top 10 Process output
- Add CI setup
- Add Testify dependency
2020-08-07 11:53:31 +02:00
Augusto Dwenger fae0bae315 Merge branch 'feature/processes' into develop 2020-08-07 11:46:58 +02:00
Augusto Dwenger ceb197d60f Fix bug if the process list is > 10 2020-08-07 11:45:33 +02:00
Augusto Dwenger e1a70507ec Add test for command.Process testing the internals and externals 2020-08-07 11:45:33 +02:00
Augusto Dwenger 8ccd1e13ce Start replacing custom assert func with stretchr/testify
Add github.com/stretchr/testify with its dependencies.
2020-08-07 11:45:33 +02:00
Augusto Dwenger a72b4e2405 Refactor transforming Process to cpuProcess 2020-08-07 11:44:59 +02:00
Augusto Dwenger d536dce03c Add test file for internal function testing 2020-08-07 11:44:59 +02:00
Augusto Dwenger 57c1bca182 Extract the conversion to cpuProcess to own func 2020-08-07 11:44:59 +02:00
Augusto Dwenger 016a109bb0 Add comments to exported funcs and structs 2020-08-07 11:44:59 +02:00
Augusto Dwenger 2b57fd0b7a Implement process list 2020-08-07 11:44:52 +02:00
Augusto Dwenger 176de4c0d3 Merge branch 'feature/drone-ci' into develop 2020-07-24 23:33:51 +02:00
Augusto Dwenger b3cbf3d6f3 Change badge to point to master branch 2020-07-24 23:26:23 +02:00
Augusto Dwenger f197208947 Modify test job to test for sub packeges and output a cover report 2020-07-24 23:23:13 +02:00
Augusto Dwenger d1e1614737 Add drone build badges 2020-07-24 23:20:11 +02:00
Augusto Dwenger d34bb06879 Add .drone.yml for drone ci pipeline 2020-07-24 23:17:34 +02:00
Augusto Dwenger 78a37d9a86 Add the MIT license file 2020-07-24 23:15:05 +02:00
Augusto Dwenger a12b6d3c64 Merge branch 'develop'
Adds Disk and Memory stats.
2020-06-30 16:38:12 +02:00
Augusto Dwenger b09fbbcfcd Cleanup naming and parameters 2020-06-30 16:36:51 +02:00
Augusto Dwenger 6162291d84 Refactor Mem to use DI to be more testable 2020-06-29 14:02:28 +02:00
Augusto Dwenger f41fca5f55 Refactor CPU to use DI to be more testable 2020-06-29 13:27:21 +02:00
Augusto Dwenger 172b69cc45 Implement disk space usage command 2020-06-29 12:12:11 +02:00
Augusto Dwenger c136a80cd4 Implement memory read 2020-06-14 16:01:45 +02:00
Augusto Dwenger 64afe95c39 Fix result bug if byte array is empty 2020-06-14 15:57:00 +02:00
Augusto Dwenger fcad1ad504 Fix output format 2020-06-14 14:26:08 +02:00
Augusto Dwenger 0f37747e1d Refactor to make Result more testable and stable 2020-06-13 18:23:36 +02:00
Augusto Dwenger f1e06a4e1c Merge branch 'develop' 2020-05-31 17:58:26 +02:00
Augusto Dwenger ede41a1a48 Merge branch 'feature/cpu' into develop 2020-05-31 17:57:15 +02:00
Augusto Dwenger bf54bdce63 Remove the brackets from the cpu result 2020-05-31 16:52:47 +02:00
Augusto Dwenger c3328a5563 Remove debug log 2020-05-31 16:52:29 +02:00
Augusto Dwenger f0e0b48d03 Cleanup main func to use result collector 2020-05-31 16:34:11 +02:00
Augusto Dwenger 69d24e94e7 Implement first attempt for a result collector 2020-05-31 16:33:24 +02:00
Augusto Dwenger ff47d0f881 Add args as parameter 2020-05-31 16:32:45 +02:00
Augusto Dwenger 7941a41d63 Add args checking befor exec for cpu flag 2020-05-31 16:31:18 +02:00