changes to main.go:
```
- implement functions to make the installer search return smarter
- import regexp for regex in the search return
```
changes to aur.go:
```
- fix logic to properly manage the pkg.list
```
changes to flatpak.go:
```
- fix logic to properly manage the pkg.list
```
changes to installer_utils.go:
```
- remove pkg.list handling functions and move them to packagelist-manager.go
```
changes to packagelist-manager.go:
```
- created
- had the functions for the pkg.list moved into into
```
changes to pacman.go:
```
- fix logic to properly manage the pkg.list
```
changes to snap.go:
```
- fix logic to properly manage the pkg.list (not currently finished)
```
This should be the final code update before we start testing things.
I think all the code is now in place to have the program function, barring any bugs in my code.
So, with that said, here's the changelog:
global changes:
```
- implement logger.go across the whole program
```
changes to main.go:
```
- add an import for strings
- implement the roughed in handling functions
```
changes to logger.go:
```
- create this little helper package to just handle all our logging nice and gracefully
```
changes to all_updater.go:
```
- basically completely redone. Accomplishes the same thing, just in a different, more efficient way.
```
changes to aur.go:
```
- add a function to clear the AllPac build cache for aur
```
changes to install.go:
```
- removed a duplicate function, set install.go to call the right one
```
changes to pacman.go:
```
- removed GetVersionFromPacman function (it shouldn't be here, it should be in search.go)
```
changes to search.go:
```
- add functions for getting info from, and parsing output from Snap, Pacman, Flatpak, and aur
```
changes to main.go:
```
- rough write main.go
```
changes to install package:
```
- merged install package with packagemanager package
```
changes to packagemanager package:
```
- merged search and install packages into this one
- write all_updater.go in rough form, this will handle when the user wants to update all the packages across all backends
- rough write all of aur.go, this will handle AUR package update logic, and AUR package uninstall logic
- add a function to flatpak.go to retrieve a packages version
- move utility functions out of install.go and into installer_utils.go
- add a function to pacman.go to fetch a programs version from pacman
- add a function to snap.go to fetch a programs version from pacman
```
changes to toolcheck package:
```
- change toolcheck.go to import the packagemanager instead of install, since we merged the two
```
flatpak.go changes:
```
- remove pkg.list reader, move it to search.go
```
pacman.go changes:
```
- replace broken UpdatePacmanPackages function with a working one
```
snap.go changes:
```
- Write completely snap.go
- Include functions for uninstalling and updating Snap packages
```
search.go changes:
```
- add os/user, os/exec, path/filepath, and strings to imports
- Add functions for reading the pkg.list to uninstall packages with their respective package manager
```
Install.go Changes
```
- Add comments to each file/package to elaborate on their purpose
- Add package list functions to install.go to keep track of installed packages and their sources
- Remove the dependancy on YAY, we are just gonna handle AUR operations ourselves.
- Remove YAY methods from install.go
- Add calls to the package install logger to the end of each install functions
- Add dependancy install functions to install.go
```
flatpak.go Changes:
```
- Completely write flatpak.go
- Include functions for uninstalling flatpak programs
- Include functions for updating flatpak programs
```
pacman.go Changes:
```
- Completely write pacman.go
- Include functions for uninstalling pacman packages
- Include functions for updating pacman packages
```
yay.go Changes:
```
- Completely removed
```
search.go Changes:
```
- Completely write search.go
- Include functions for searching pacman
- Include functions for searching snap
- Include functions for searching flatpak
```
toolcheck.go Changes:
```
- Completely write toolcheck.go
- Include functions for checking for Git
- Include functions for checking for base-devel group
- Include functions for checking for pacman
- Include functions for checking for Snapd
- Include functions for checking for flatpak
- Include function to ask to install flatpak
- Include function to ask to install Snapd
- Include function to ask to install Git
- Include function to ask to install the base-devel group
```