Trivernis
2266b10a7b
Encapsulate command executions
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
247659b7ba
Replace redefinitions in mod.rs with reexports of submodule functions
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
f4ac74909a
Fix missing dash on -Rs alias to Remove operation
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
2c2677ae88
Change argument parsing to clap v3 derives
...
With this change the arguments are parsed with the
new clap v3 derive syntax. This commit also sets the
default command to Upgrade similar to the behaviour
of other aur helpers.
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
jan Michal
b0dec6d5cf
fixed #21
3 years ago
jan Michal
511d70299e
fixed issue when a package with the same name was in both repos and aur
3 years ago
jan Michal
c5c65e2dee
closed #13
3 years ago
jan Michal
8b6fabad74
moved cachedir removing code to init()
3 years ago
jan Michal
976c833d01
closed #19
3 years ago
jan Michal
005fe8c56e
closing #15
3 years ago
jan Michal
a892efce65
fixed #13
3 years ago
jan Michal
f1a8da08b9
fmt
3 years ago
jan Michal
495e6359e9
fixed #20
3 years ago
michal
7b79bcdfb3
added feature request: list aur/repo packages installd (issue #11 )
3 years ago
michal
9e55999174
fmt + import optimisation
3 years ago
michal
52b893a063
honestly not sure what i've done to anger the vcs gods today
3 years ago
michal
54f3c87f9d
clearer crashing + readme
3 years ago
michal
dba4ede596
finalising some stuff
3 years ago
michal
52df05752b
import optimisation
3 years ago
michal
de15c98432
AME_UWU
3 years ago
michal
59b443c607
general code cleanup
3 years ago
michal
6475eacbba
replaced reqwest with ureq
3 years ago
michal
041f8e21b2
replaced panic! and eprintln! with crash! and log!
...
reworked pkg-warner slightly
3 years ago
michal
9e7df5d1b4
prettifying
3 years ago
michal
f7f3a3e866
shell completion, fixed search, cargo.toml stuff
3 years ago
michal
f045f86f3e
string consistency
3 years ago
michal
4376b8efbf
superuser check + infersubcommands
3 years ago
michal
bba02caf7d
everything pretty much
3 years ago
michal
79340f2e6b
put the linter to rest
3 years ago
michal
e9247e15e7
database template code + first run dir creation
3 years ago
michal
62a9b40d48
lots of stuff
3 years ago
michal
284a0bd21c
more prep code
3 years ago
michal
4383066b9e
reworked verbosity for existing functions and tweaked regex
3 years ago
michal
45fd45433b
stfu clippy
3 years ago
michal
0e7e086f55
added proper cleaning to the sort process + a workaround for me on windows
3 years ago
michal
e7e107bd46
fixed up the repo debug code
3 years ago
michal
046aac029b
fmt and set clap ver
3 years ago
michal
13009935f6
testing initial repo package sorting
3 years ago
michal
4b2272009f
added verbosity parsing and debug messages
3 years ago
michal
5b8aa7ff76
initial sorting algorithm
3 years ago
michal
45402a2100
restructure
3 years ago
michal
38e94b6a8c
beginning a longgg process
3 years ago
Amy
19f0b5b021
update emails
3 years ago
Amy
9537dee253
doesnt randomly error even if package is not in overrides and prints proper package when adding to database
3 years ago
michal
94af1ffe75
fixed #9
3 years ago
michal
5925c70d6d
rustfmt
3 years ago
michal
d2e377f7f9
replaced raur + general linting and checking
3 years ago
Amy
db74d45d56
mostly finished the statically defined packages, doesnt respect update option yet (sorry jnats this is like the worst code ever)
3 years ago
Amy
f3c8a6d463
added first parts of statically defined packages
3 years ago
michal
5330758ad5
oh lord - full cargo clippy + fmt
3 years ago
Amy
4840c0a104
fix paths
3 years ago
Amy
01beec5d0f
rework database to use sql
3 years ago
Amy
f6ced78141
remove compiler warnings
3 years ago
Amy
b9bb0025cd
fix error where every operations ends up outputting the help message
3 years ago
Amy
e66ac7d88c
made some totally very important changes
3 years ago
Amy
5c893fd293
add space between | and "upg" at line 44
3 years ago
Amy
4d7899c45b
remove libgit2 and switch to using git itself for cloning
3 years ago
Amy
5d73021e3a
add basic comments
3 years ago
Amy
6a212e2bc8
fix makedepend spam (issue #8 )
3 years ago
Amy
290b8f1569
now also can remove and purge packages specified from a file
3 years ago
Amy
c23bdd5bb9
forgot to remove commented codeblock
3 years ago
Amy
e8b05e2a89
now able to install packages from a list with -Sl or insl, packages in list must be seperated by newline
3 years ago
amy
f008a84b60
remove debug output when installing aur packages
3 years ago
amy
edef44d63d
fix typo Datbase in database.rs
3 years ago
amy
47b16a7f90
now able to install packages from a specific repo by appending the repo to the package ( community/neofetch or aur/nofetch-git )
3 years ago
amy
773e3c9cca
make the version in ame -V synced to the version in cargo.toml
3 years ago
amy
e72389baf1
update the help message
3 years ago
axtlos
e2fa9dbf89
immediatly terminate when running as root
3 years ago
axtlos
bcf1806915
fix some makedepend removal stuff
3 years ago
axtlos
9638607624
removing packages with dependencies now works, as well as some code cleanup
3 years ago
Amy
189e897831
Remove comment asking to remake if else statement to match in main.rs
3 years ago
axtlos
004556fff5
replaced the if else in main.rs with match, and fixed database
3 years ago
axtlos
d81d4e902a
now also checks if the database exists when installing aur packages
3 years ago
michal
7e358e1513
fixed compiler warnings
3 years ago
michal
0dd1cac395
removed debug str
3 years ago
axtloss
6f993a2a11
doesnt panic when databse doesnt exist, just creates a new one
3 years ago
michal
80313a0c68
Merge branch 'main' into testing
3 years ago
jnats
a12b2f692a
rustfmt + code cleanup
3 years ago
axtlos
ea5f18af9e
database now works with upgrading too(im sorry for the horrible code jnats)
3 years ago
axtlos
0a672626af
fix src link again
3 years ago
axtlos
6f06a6c55e
fix src link in -v output
3 years ago
axtlos
05d8940b30
fix my messup with testing part 2
3 years ago
axtlos
07d0aa7fa3
2
3 years ago
axtlos
d442a542a7
fix the testing messup i did
3 years ago
axtlos
35be71e43b
uhhhh, more database advancements, i guess
3 years ago
axtlos
6fd0a468fa
is now able to remove packages from the database
3 years ago
axtlos
bdbb06d6cf
added first part of database
3 years ago
jnats
1d4b996ae4
caught error in #7 fix
3 years ago
axtloss
29c8a94e68
fix for #7
3 years ago
jnats
946dfbb603
just saying
3 years ago
jnats
ebbfcd8bb6
fix versioning
3 years ago
jnats
0f39104038
cargo fmt
3 years ago
jnats
104c76efbe
horrid, awful fix to #4
3 years ago
jnats
7f4e79512c
fixed what i broke in the #6 fix - oops
3 years ago
jnats
448bf47b4b
made #6 fix a bit clearer
3 years ago
jnats
948315a924
fixed #6
3 years ago
jnats
730fdf003b
bumped raur ver & fixed #5
3 years ago
jnats
d78190b262
added --needed flag
3 years ago
jnats
f0e1e8b863
cleanup
3 years ago
jnats
e9dac80a51
removed old comments
3 years ago
jnats
fd6a008efb
rustfmt
3 years ago
jnats
5309d4347a
fixed up user readability
3 years ago
axtloss
ee95ec8d10
now prompts for deletion of make dependencies
3 years ago
jnats
cfa7f055ef
ver bump
3 years ago
jnats
0eb7bd9df3
catch error on aur pkg clone
3 years ago
jnats
598f65bad3
fixed redundant code
3 years ago
jnats
5d7c03ef3b
added pkgbuild prompt and fixed noconfirm
3 years ago
jnats
efcfc4a546
accidentally uwu'd all succes strings
3 years ago
jnats
46293cc91a
ver bump
3 years ago
jnats
1e2d9c785c
uninstalling removes cachedir and smartened errs
3 years ago
jnats
2647731d39
ver bump
3 years ago
jnats
e40eea198d
made uninstalling multiple packages bearable
3 years ago
jnats
22b29759a6
++ver
3 years ago
jnats
b90f237d2b
made ame a bit not stupid string-wise
3 years ago
jnats
8fd94a8eb5
fixed aurdepends
3 years ago
jnats
9f60a04bc5
initial implementation of pacman command passthrough
3 years ago
jnats
dcc630fc68
fixed search and added secret feature
3 years ago
jnats
57d065ec53
change ver number
3 years ago
jnats
36d7882a77
help and version screen rework
3 years ago
jnats
12cf74ce50
added install sorting and noconfirm
3 years ago
jnats
afb70cbe3b
rem -> rm
3 years ago
jnats
c5cd56aa97
rem -> rm
3 years ago
jnats
8cd104c2c0
in classic jnats fashion i broke it - heres the fix
3 years ago
jnats
957a014cc9
fixed installing and added upd
3 years ago
jnats
3168e8f560
huge code audit
3 years ago
axtloss
ea63e29c73
preperation for codebase audit
3 years ago
axtloss
27b5367dee
added aur updates, no idea why this wasnt there earlier
3 years ago
axtloss
2433054833
removed debug output
3 years ago
Rafael Madriz
e09024c601
added ~ subsitution for the config, paths with ~/ work now
3 years ago
Rafael Madriz
ece5b9172d
removed snap support
3 years ago
Rafael Madriz
82272c9530
bugfix on line 42, i dont even know why this happened
3 years ago
Rafael Madriz
8ff1faf00f
removed useless config option, and added file trying to be opened at error messages for easier debugging
3 years ago
Rafael Madriz
5ed7c50a36
fixed some config issues, and changed the clone function to respect the config
3 years ago
axtlos
ce19ccf046
fixed a bug in the default config where the home path still said /home/user as well as an install option in make
3 years ago
axtlos
8ba536bc4d
added hard-coded fallback config instead the config is for some reason is empty, also changed config space in /etc/ame.toml
3 years ago
axtlos
9870624e10
added short and longer commands
3 years ago
axtlos
2106101a7f
added feature to print the current config using -Pc
3 years ago
axtlos
9e565eaffd
added config changes, view comments for details
3 years ago
Rafael Madriz
8c26afa026
test push, added missing semicolon
3 years ago
Rafael Madriz
a96d108c26
added snap support, as well as config checks for snap, aur and pacman
3 years ago
Rafael Madriz
92e1098854
added basic config parsing, not fully finished yet, reads config from hardcoded string. added check if flatpak is installed and return with error if not
3 years ago
axtloss
fe741b862f
added flatpak install method
3 years ago
jasiosasio
16c38b3d9b
a new readme shit fukcing kill me i have nothing better to do
3 years ago
jnats
ac9b310da1
directory restructure
3 years ago
axtloss
e88e0e0950
can now properly install from repos and aur
3 years ago
jnats
85c02b91af
fixing stuff up
3 years ago
jnats
8633544015
fixed all cargo warns
3 years ago
jnats
63a659fe87
stuff i think idk
3 years ago
jnats
ade2ff6a0f
fixing up installation yet again
3 years ago
jnats
95a17834d5
hhh
3 years ago
jnats
91ba690079
oops
3 years ago
jnats
e32ef6aa58
adding installing after clone
3 years ago
jnats
10106d1f7b
fixed formatting to be more consistent w/ pacman
3 years ago
jnats
0b66827382
removed debug println!()
3 years ago
jnats
2c25c36823
cleaned up clone.rs and most code in general
3 years ago
jnats
6190680f4c
fixed search, added symlink to makefile, fixed unnecessary uses, reformatted some strings
3 years ago
axtloss
7852df5e8b
added first step in json parsing, now need to parse the nested json of the packages
3 years ago
axtloss
f1799292cc
misunderstood previous code, works as intended now
3 years ago
axtloss
6bf6b67190
added code to get the arch rpc json and write it into variable
3 years ago
axtloss
21f2c27915
added parts of the search function
3 years ago
axtloss
b063db592b
made it print the output of pacman commands, and install using pacman if the package was found in the repos
3 years ago
axtloss
4c80755318
added upgrade option
3 years ago
jnats
f84e46cf54
fixed up crap from testing
3 years ago
jnats
cbb40cccf0
removed unnecessary lines
3 years ago
jnats
3b8d2c5d99
initial commit
3 years ago