Commit Graph

20 Commits

Author SHA1 Message Date
VetheonGames
4130ee81d3 Update Readme 2024-01-07 18:33:07 -07:00
VetheonGames
0e91ff7ba2 Minor Update 3
This I think brings us up to a proper release. Since now we have installers and the Readme is finished.

changes to cli_utils.go:
```
- Add handling for a command to print out the current version of AllPac
```

changes to main.go:
```
- Add command to print out the current version of AllPac
```

Created and embedded .version file to facilitate above feature
2024-01-07 18:30:16 -07:00
VetheonGames
7676dcc021 add .version file for updater 2024-01-07 18:11:29 -07:00
VetheonGames
132740b7a1 Major Update 6 (Pre-Release Binary 0.8)
Changes to main.go:
```
- make needed changes to remove the flag package
- refactor functions to use the preferred command syntax
```

changes to logger.go:
```
- make logger be quiet and stop outputting to STDOUT now that we are in user testing
```

changes to install.go:
```
- setup some extra logic in InstallPAckageSnap to install snaps in "classic confinement mode" if the user wishes
```

changes to updater_utils.go:
```
- create the file to contain some helper methods (namely one to update packages by name from a more central interface)
```

changes to cli_utils.go:
```
- create the file to contain some helper methods for the CLI (namely just a method to handle errors in the update process)
```
2024-01-07 17:30:30 -07:00
VetheonGames
3131f71460 Minor Update 2
changes to main.go:
```
- refactor basically the entire file to use less switch statements and more slices
- implement the toolcheck functionality
- add the toolcheck command
```

changes to snap.go:
```
- fix the exec.Command call to use args properly
- fix up snap.go to handle the pkg.list properly
```
2024-01-07 16:04:27 -07:00
VetheonGames
1f01902801 Major Update 5
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)
```
2024-01-05 12:53:27 -07:00
VetheonGames
a03338c61e Fix up the readme a bit 2024-01-04 20:23:19 -07:00
VetheonGames
83570d4bcb Update readme to acknowledge issue with CLI 2024-01-04 20:18:42 -07:00
VetheonGames
a6dc8549b0 Update readme to reflect testing install steps 2024-01-04 20:17:19 -07:00
VetheonGames
67ce4f7038 Minor Update 1
Some minor changes and bug fixes I've happened upon through my own testing.

changes to main.go:
```
- change the CLI syntax for searching to be `allpac search {package name}` instead of `allpac search -package {package name}`
- ensure when pacman doesn't find anything, it doesn't return an error. (pacman just exits with error code 1 when it doesn't find anything. Which is super silly but whatever)
```

changes to search.go:
```
- add some changes to ensure if pacman is "erroring" it's a real error. Not just pacman returning Exit code 1 because it didn't get a result.
```
2024-01-04 20:12:26 -07:00
VetheonGames
50af1b9613 Major update 4
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
```
2024-01-04 19:17:43 -07:00
VetheonGames
4b0a6e6d59 Major Update 3
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
```
2024-01-04 13:08:32 -07:00
VetheonGames
5d9a6e428a Major Update 2
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
```
2024-01-04 11:04:38 -07:00
VetheonGames
9ef6713567 Fix up the README 2024-01-04 10:41:55 -07:00
VetheonGames
1f082026df Update README 2024-01-04 10:03:23 -07:00
VetheonGames
ab2582dc60 Main Update 1
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
```
2024-01-04 09:49:03 -07:00
VetheonGames
b58a834ba5 Create files, code up install.go 2024-01-04 08:58:20 -07:00
VetheonGames
d57a682b5d make cmd dir and main.go 2024-01-04 08:29:57 -07:00
VetheonGames
dd9384bed0 Init the Go mod 2024-01-04 08:29:20 -07:00
Pixelated Studios Limited
fee0c7b542 Initial commit 2024-01-04 08:27:41 -07:00