Commit Graph

46 Commits

Author SHA1 Message Date
da7ff16829 Update README.md
Signed-off-by: Connor C <ceo@pixelridgesoftworks.com>
2024-01-09 19:53:16 -07:00
VetheonGames
f44c6d8d53 update readme 2024-01-08 18:47:12 -07:00
VetheonGames
95b0d9dbf1 Update readme 2024-01-08 18:44:43 -07:00
VetheonGames
7191d4d114 Update Readme 2024-01-08 18:42:45 -07:00
VetheonGames
28c3d57dec Minor Patch, finally fixed AUR building so that makepkg's environment handling doesn't crash AllPac 2024-01-08 17:27:22 -07:00
VetheonGames
409345289e Still trying to get Makepkg to stop yelling about root perms it doesn't really have 2024-01-08 15:37:27 -07:00
VetheonGames
a4f05b2ac4 Forgot to change the minor version again 2024-01-08 15:35:05 -07:00
VetheonGames
fb8059dd48 remove code that shouldn't be there 2024-01-08 15:34:48 -07:00
VetheonGames
8a6550db9a Forgot to update the version 2024-01-08 15:33:14 -07:00
VetheonGames
a3cc14f9df Minor update to patch new issue with AUR logic 2024-01-08 15:32:43 -07:00
VetheonGames
779ce34013 Minor patch to fix issue with makepkg occasionally running as the root user 2024-01-08 15:24:05 -07:00
VetheonGames
2697ad9b1c Minor Update to patch bug with AUR logic appending .git to package names 2024-01-08 15:18:41 -07:00
VetheonGames
3ddd1336c0 Update readme for better formatting 2024-01-08 14:46:34 -07:00
VetheonGames
75b1ec8a7c Update readme with new install instructions for the new install script 2024-01-08 14:45:52 -07:00
VetheonGames
9f21313942 Major Update 7 (Pre-Release Binary 0.9)
Update version

Refactor Pacman to always use `-Syu` regardless of what operation it's doing.
I did this solely to prevent partial updates from even being possible. Unlike pacman, which let's you do bad commands with no warning.

Remove un-needed Root question from AUR Installer

Set up AUR installer to update the system before cloning and building (to be safe, we add a warning about partial updates. See, it isn't that hard Pacman!)

Add repair command that will fix issues with the pkg.list file

Add a check to the handleUpdate function that advises the user to run `repair` if it has a problem reading the pkg.list
2024-01-08 14:30:51 -07:00
VetheonGames
84099a8afc Update readme for accurate pre-built binary installation 2024-01-07 20:32:55 -07:00
VetheonGames
d728f45bfc Fix readme for hopefully the final time 2024-01-07 20:06:39 -07:00
VetheonGames
aa05519432 Fix typo in readme 2024-01-07 19:58:01 -07:00
VetheonGames
2aafba25a5 Update readme 2024-01-07 19:57:21 -07:00
VetheonGames
ac61e6d999 Reword the readme uninstall section 2024-01-07 19:48:30 -07:00
VetheonGames
83c42f3a9d Update readme 2024-01-07 19:47:46 -07:00
VetheonGames
606d1cb052 Update readme formatting 2024-01-07 19:43:43 -07:00
VetheonGames
8773dff7b1 Re-arrange readme, add link to prebuilt binary 2024-01-07 18:41:32 -07:00
VetheonGames
f6dd275e79 Update readme, change snap to snaps in CLI syntax for updates 2024-01-07 18:36:13 -07:00
VetheonGames
6da16766fa Update readme again 2024-01-07 18:34:28 -07:00
VetheonGames
48e415ba35 Update readme again 2024-01-07 18:34:03 -07:00
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