Commit graph

1157 commits

Author SHA1 Message Date
Jguer 621b8aac43
Update constant version. Add transitional support for patch version 2018-10-08 18:46:51 +01:00
J Guerreiro e316c979cc
Merge pull request #757 from Jguer/revert-756-fix-#752
Revert "Don't show missing packages if they are ignored.  Closes #752"
2018-10-08 11:53:02 +01:00
J Guerreiro f74a4f33b5
Revert "Don't show missing packages if they are ignored. Closes #752" 2018-10-08 11:51:19 +01:00
J Guerreiro a19151504d
Merge pull request #756 from Jguer/fix-#752
Don't show missing packages if they are ignored.  Closes #752
2018-10-08 00:27:55 +01:00
Jguer 9ad7c34949
Don't show missing packages if they are ignored 2018-10-08 00:20:43 +01:00
Anna 6ee14d44b8
Merge pull request #738 from Morganamilo/fix#736
Rework cleanafter
2018-10-04 09:18:57 +01:00
Anna c574cdcf98
Merge pull request #744 from tomswartz07/typos
Fix Typos
2018-10-03 09:07:10 +01:00
Tom Swartz ae7400890d Fix Typos 2018-10-02 16:30:18 -04:00
Anna 7ee2e5d1eb
Merge pull request #739 from Morganamilo/ttycolour
Support color = auto
2018-09-27 18:45:29 +01:00
morganamilo e78070ebbe
Support color = auto
This is done using the test command as the stdlib lacks any way to
do this without using syscalls directly
2018-09-27 16:52:22 +01:00
morganamilo 4cc57dd970
Rename afterclean to cleanafter
This makes more sense and falls in line with the structs value which has
always been cleanafter. afterclean is still useable for compatibility
but is undocumented.
2018-09-27 16:12:43 +01:00
morganamilo 42cba53165
Update doc for --afterclean and fix typo 2018-09-27 16:08:00 +01:00
morganamilo 98e6caefef
Fix dangling src/ directory
Yay first calls 'makepkg --nobuild -fC' to update the pkver. Later on we
call 'makepkg -cf --noectract --noprepare --holdver' to actually build
the package.

Inbetween these two calls we keep the already extracted
sources to save time on the reextract and duplicated call to prepare
(pkgbuilds should not require user input but things such as linux-ck do
and calling prepare twice will actually cause them to promt twice)

We also have two checks. First we see if the package is already
installed and up to date (--needed) and secondly we check if the
package is already built.

If any of these conditions are met we skip building the package. This
leaves a dangling src/ directory as 'makepkg -c' was never ran.

Now if these conditions are met tell makepkg to cleanup and exit.
2018-09-27 15:55:43 +01:00
morganamilo bf0ab3216a
Leave VCS files when using clean after 2018-09-27 15:55:43 +01:00
J Guerreiro ade9eb83eb
Merge pull request #729 from Morganamilo/template
Update issue template
2018-09-25 19:04:16 +01:00
Anna 2b8fa74c22
Merge pull request #732 from Morganamilo/fix#730
Fix provider menu showing when it shouldn't
2018-09-25 14:38:09 +01:00
morganamilo 4fc6a1a711
Fix provider menu showing when it shouldn't
If the package is already installed, we need to check if it is in the
repos to see if it aplies to rebuild tree. Normally alpm will not prompt
us to select a provider if we already have one installed. An exception
comes up when we have a provider installed that is from the AUR. In this
case FindSatisfier() still asks us to select a provider.

Now make sure to never to never show the menu if the package exists in
the local repo.
2018-09-25 14:33:25 +01:00
morganamilo 9dfc445421
Update issue template 2018-09-25 11:25:29 +01:00
Jguer 9ac4ab6c25
Update to 1138 2018-09-24 17:35:13 +01:00
J Guerreiro dededfde6a
Merge pull request #727 from Jguer/fix#726
Fix -Qu to respect -q. Fixes #726
2018-09-24 10:54:36 +01:00
Jguer 293339263c
Fix -Qu to respect -q. Fixes #726 2018-09-24 10:52:29 +01:00
J Guerreiro 2826e7d79e
Merge pull request #725 from Jguer/fish
Fix fish completions
2018-09-24 00:18:04 +01:00
Jguer 13f81c7624
Remove non existant show options and add missing -Pg 2018-09-24 00:17:15 +01:00
Anna f79b3b90a4
Merge pull request #724 from Morganamilo/#722
Accept --assume-installed
2018-09-23 22:11:46 +01:00
morganamilo 60cf21f445
Accept --assume-installed 2018-09-23 22:10:22 +01:00
Anna 1f5ff02398
Merge pull request #723 from Morganamilo/makefile
Fixup Makefile
2018-09-23 22:02:54 +01:00
morganamilo 8b325ce704
Fixup Makefile
Remove ifndef: ?= can be used instead
Add package to .phony
2018-09-23 21:54:22 +01:00
Anna f495b1a33e
Merge pull request #714 from Morganamilo/fix#700
Fix misleading word in man page and missing \n
2018-09-20 00:49:23 +01:00
morganamilo b0aaba7848
Fix misleading word in man page and missing \n 2018-09-20 00:46:10 +01:00
Anna fa1c76c4e9
Merge pull request #712 from ZenixTheHusky/Fix#711
Set SigLevel to 0
2018-09-19 21:11:48 +01:00
Peter Dyer e6238d32fa Set SigLevel to 0
Previous default SigLevels caused 3rd party databases to take a very long time to
load and also to not load properly. Probably due to missing keys(?).
Pacman takes a long time to check the databases. For now, always set to
SigLevel 0 like how go-alpm did in its config parsing. Needs more
looking into for a proper fix.
2018-09-19 19:52:58 +01:00
Anna 380cc142dc
Merge pull request #709 from Morganamilo/fixtest
Fix hard coded path
2018-09-15 21:28:29 +01:00
morganamilo 23d45b1e77
Fix hard coded path 2018-09-15 21:27:31 +01:00
Anna 07b7be3788
Merge pull request #706 from Morganamilo/temp-modules
Fix build when go module is enabled
2018-09-15 18:55:26 +01:00
morganamilo 7f064db676
Fix build when go module is enabled 2018-09-15 18:47:46 +01:00
Jguer b10b88faf6
Update vendored dependencies
Signed-off-by: Jguer <me@jguer.space>
2018-09-14 01:29:33 +01:00
Anna 47702f4cec
Merge pull request #682 from Morganamilo/pacmanconfig
Use go-pacmanconf for config parsing
2018-09-10 23:20:37 +01:00
morganamilo 7251ffac8a
Add test for reading pacman config 2018-09-10 23:07:34 +01:00
morganamilo b2f636d93b
Use go-pacmanconf for config parsing
This moves the config parsing from out of alpm and into the
go-pacmanconf libary plus some boilerplate code to get it into our alpm
config.

This makes sense as many config options such as UseColor and CleanMethod
have nothing to do with alpm and only relate to pacman.

pacman-conf is used instead of direct config parsing. This tool resolves
defaults and includes for us, so we don't need to handle it.

It is now safe to drop all the config parsing from go-alpm.
2018-09-10 23:07:34 +01:00
morganamilo 83d3411549
Add go-pacmanconf 2018-09-10 23:07:34 +01:00
Anna 8248c803a0
Merge pull request #693 from Morganamilo/fix#629
Don't assume the go root
2018-09-07 19:14:10 +01:00
morganamilo 81bccfd34e
Don't assume the go root
The go root might be in different places if the user is using
a different go binary that is not managed by the system (eg
/usr/local/bin/go). In this case the go binary should be smart enough to
default to it's own go root. Or if there are still problems, it is on
the user to configure it themselves.
2018-09-07 18:56:50 +01:00
Jguer 6e0797a8c7
Set version manually for gcc-go
Signed-off-by: Jguer <me@jguer.space>
2018-09-05 09:21:11 +01:00
Anna 7133a1252e
Merge pull request #688 from Morganamilo/expandenv
Fix builddir defaulting to config instead of cache
2018-09-04 23:24:24 +01:00
morganamilo c004364864
Fix builddir defaulting to config instead of cache 2018-09-04 23:19:31 +01:00
Anna d3a2a060b2
Merge pull request #687 from Morganamilo/expandenv
Expand env before making builddir
2018-09-04 23:07:59 +01:00
morganamilo 0e695468b8
Expand env before making builddir 2018-09-04 23:07:26 +01:00
Jguer a109ea480c
Set version manually for gcc-go
Signed-off-by: Jguer <me@jguer.space>
2018-09-04 20:18:33 +01:00
Anna 98d27360f7
Merge pull request #684 from Morganamilo/limitpkgbuilddownload
Fixup some download bugs
2018-09-04 20:05:30 +01:00
morganamilo 5c7d6fa3be
Fix --rebuild logic 2018-09-04 20:03:27 +01:00