Commit Graph

43 Commits

Author SHA1 Message Date
6892191275 Use SonarQube
Used SonarQube to increase overall code quality
Files now live in their own directory
Fixed some tests
Added SonarQube directory to gitignore
2023-06-21 20:04:06 +02:00
58ceb31c1c Major changes
Now saving the ouput of the diff to a file in tmp
diff file can be loaded back into pacserver
Rewrote how checkIfDatabasesWereModified works
Slimmed down Program.cs to only have before and after
Add packages and databases into one list for transfer
2023-06-20 23:07:16 +02:00
15220e7135 Merge pull request 'Fix checkForNewerStuffTest' (#5) from fix/checkForNewerStuffTest into dev
Reviewed-on: #5
2023-06-19 22:37:06 +00:00
590b06fc86 Fix checkForNewerStuffTest
Fixed the tests that stopped working after refactoring #4
2023-06-20 00:35:31 +02:00
65b15f657d remove getDatabaseFromRegex 2023-06-19 22:37:52 +02:00
82a854dd8b refactor writeDatabaseAccessTimeToFile 2023-06-19 22:33:30 +02:00
5018856aab refactor writePackageNamesAndVersionToFile 2023-06-19 22:30:48 +02:00
dc811d7462 Merge pull request 'Major changes in package acquisition' (#4) from refactor/packageAcquisition into dev
Reviewed-on: #4
2023-06-18 20:55:56 +00:00
07982425e0 Write package name and version into text file 2023-06-18 22:55:15 +02:00
e609caf892 Major changes in package acquisition
This breaks a bunch of things that depended on the older version of this method
2023-06-18 22:44:43 +02:00
60dfb368e6 Merge pull request 'Use regex to filter databases' (#3) from feature/filterDatabasesForTransfer into dev
Reviewed-on: #3
2023-06-18 18:59:19 +00:00
41692548f2 Use regex to filter Databases 2023-06-18 20:46:43 +02:00
f923628c53 Merge pull request 'feature/checkForNewerPackagesAndDatabases' (#2) from feature/checkForNewerPackagesAndDatabases into dev
Reviewed-on: #2
2023-06-18 15:40:02 +00:00
1994e92e9e Minor changes && Add tests
Made a seperate method for writing the database access time files
Added tests for checkIfDatabasesWereModified
2023-06-18 17:24:56 +02:00
51aca7a2c2 Major advancements
Added a couple of test to check for acurate behavior in certain conditions
Added the capability to check if a database was modified
New commandline arguments
2023-06-17 02:47:35 +02:00
a1c1a0d5b0 Add fluentassertions test framework 2023-06-17 00:41:56 +02:00
422909352e Find new packages
We find new packages by getting the folder names in the DBPath local
2023-06-16 01:58:35 +02:00
a03dffabb7 Merge branch 'refactor' into dev 2023-06-15 20:24:56 +02:00
405b3580b6 Made justfile portable 2023-06-15 20:23:25 +02:00
013bc2fe33 Refactor pacserver 2023-06-12 02:19:07 +02:00
a9ac6d8bc2 Change to camelCase 2023-06-12 02:17:54 +02:00
88c6d7c284 Merge branch 'feature/TransferPacmanCache' into dev 2023-06-08 04:03:31 +02:00
7bbeaedf48 remove unneeded code 2023-06-06 21:26:56 +02:00
332ed62ca3 remove unused variables 2023-06-06 21:24:36 +02:00
205ef71dcd Implement TranserPacmanCache 2023-06-06 21:21:20 +02:00
a61c3fbfd9 Merge branch 'feature/determinePacmanDatabaseDirectory' into dev 2023-06-06 01:29:18 +02:00
3d512f25ab Add new recipe to justfile 2023-06-05 00:18:00 +02:00
4f474591da Add test for determinePacmanDatabaseDirectory 2023-06-04 23:15:16 +02:00
81fc8f1883 Implement determinePacmanDatabaseDirectory
Reused the code from determinePacmanCacheDirectory
2023-06-04 23:13:30 +02:00
89e79b1025 Change how commandline arguments are handled 2023-06-04 22:55:31 +02:00
35c6c5c8d9 Merge branch 'feature/unit-testing' into dev 2023-06-04 00:45:40 +02:00
9ad8012052 Major changes
Changed the whole project struture
justfile was adjusted to reflect the changes
Add Tests
Minor changes to .gitignore
2023-06-03 22:53:27 +02:00
10ba654b09 Add dotnet format to justfile 2023-06-03 14:55:11 +02:00
888df20cc9 Rework commandline arguments && Add Exceptions 2023-06-03 14:50:13 +02:00
04048c4cb9 Implement determinePacmanCacheDirectory
Used a StreamReader to read pacman.conf and then read one line until a line contains CacheDir
Then used a regex to only get the cache directory
2023-06-03 12:11:32 +02:00
20599a03ba Add justfile 2023-06-03 12:08:00 +02:00
5a09db7423 Change formatting to spaces 2023-06-03 09:35:43 +02:00
281b6f01a2 Add formating rules 2023-06-03 08:51:24 +02:00
64100065c9 Add method stubs 2023-05-27 19:18:45 +02:00
d4dc405b2b Begin commandline arguments 2023-05-27 18:32:46 +02:00
22ffc338e7 Add compile flags 2023-05-27 18:17:50 +02:00
00b50f0601 Start project pacserver 2023-05-27 18:04:13 +02:00
5bdcbdff4b Initial commit 2023-05-27 13:28:28 +02:00