d4f0f15341
Add uninstall target for Makefile.
2024-05-25 18:01:37 +02:00
962c54b8e0
Remove perl compiling.
...
This is giving some weird outputs when I try running it after making the
ArchLinux package (see AUR pacundo).
2024-05-25 17:58:51 +02:00
ebdf36d3c0
Update description to include "rollback" keyword.
...
This is the keyword that I assume most people use when looking for this
sort of a tool. Should be helpful.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-22 17:14:30 +02:00
858d44b5ca
Bump version to v1.0.1
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-21 15:45:25 +02:00
e18136e43c
Makefile: create parent directories if not exists.
...
Signed-off-by: Nicolas A. Ortega Froysa <nicolas.ortega@babelgroup.com>
2024-05-21 15:41:36 +02:00
d692d4aa59
Makefile: Fix PREFIX handling.
...
Signed-off-by: Nicolas A. Ortega Froysa <nicolas.ortega@babelgroup.com>
2024-05-21 15:41:36 +02:00
1516ce9ff3
Include section for supported AUR helpers.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-07 18:07:13 +02:00
555ead272e
Improve repository check.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-07 18:05:11 +02:00
d616930208
Remove unnecessary sudo.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-07 17:49:20 +02:00
347b49d5ee
Find local package when reinstalling removed package.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-02 13:36:07 +02:00
641163a495
Implement dry-run mode.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-02 13:17:02 +02:00
75c663eb1e
Update help information.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-02 13:12:34 +02:00
8525b7f4e8
Automatically detect package manager.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-02 13:00:27 +02:00
e6d814d438
Add more helpful information to the README.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-30 17:21:08 +02:00
a7bae301b3
Add compressed manpage to gitignore.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-29 18:54:52 +02:00
b2f5793c21
Add manpage.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-29 18:53:57 +02:00
edd942b91a
Create script to build and install pacundo.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-29 18:29:04 +02:00
b30dea35b8
Implement package management commands.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-26 10:00:28 +02:00
d90016fd8c
Obtain package files for installation.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-26 09:48:45 +02:00
c08a9f4b40
Simplify and clean up strings and output.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 11:40:57 +01:00
ec535f860c
Add TODO for autodetecting AUR helper.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 11:32:38 +01:00
a458f2dc67
Fix filter regex.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 11:14:16 +01:00
615f491433
Simplify get_pkgmgr() subroutine.
...
Currently it only is configured to deal with pacman or yay (as noted in
the comment). Other AUR helpers would need to be configured.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 10:45:24 +01:00
aa7e2d2fbc
Add package manager remove command.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 10:42:49 +01:00
f55124759e
Don't print stderr output of commands (send to stdout).
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 10:37:46 +01:00
3822696640
Use single print statement for help information.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-27 10:39:14 +01:00
b7e98246ad
Align assignment operators.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-27 10:33:50 +01:00
2d4ec58a81
Get package manager variables.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-27 10:26:35 +01:00
9e1ba7159f
Simplify code.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-13 17:15:31 +01:00
601b4b7b81
Change license copyright year.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-12 09:27:27 +01:00
8a62fc9064
Avoid invalid ranges.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-11 20:09:16 +01:00
e6514c37d3
Simplify syntax.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-11 20:05:40 +01:00
e11cc694f5
Fix selection regex.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-11 20:02:59 +01:00
4cb213d585
Refactor into subroutines.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-09 16:47:25 +01:00
e9eec6cfcc
Use local $~
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-07 16:25:03 +01:00
1065595f6d
Change grep format.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-07 16:15:28 +01:00
e7b3192a00
Add 'return' statement to subroutines.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-07 16:12:29 +01:00
891427ead0
Use || instead of 'or'.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-03 18:51:44 +01:00
9dc43cc866
Implement interactive mode.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-03 18:34:18 +01:00
86c20031bc
Use // operator for args/flags default values.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-01 18:00:25 +01:00
bea2957889
Save transactions to array.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-24 14:15:09 +01:00
9a0a4e03d0
Ensure -t argument is positive integer.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-24 14:02:19 +01:00
a728570c89
Implement log search to find transactions.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-24 13:57:09 +01:00
9bbe9b4a8f
Save flags into variables.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-23 18:21:29 +01:00
ddc9514bb1
Add documentation for dry-run flag.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-23 18:08:12 +01:00
aca490651e
Initial commit.
...
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-22 18:58:30 +01:00