Jguer
c44f738ba8
Convert linting to Makefile action. Patch Dockerfile and CI script
2019-10-13 20:59:20 +01:00
Jguer
a591b33262
Add errguards throughout the code to enable golangci-lint
2019-10-13 20:56:27 +01:00
Jguer
422a5931af
Check fields length to avoid panic in editor prompt. Fixes #834
2019-10-13 00:48:12 +01:00
J Guerreiro
f1a6c4afdc
Merge pull request #1049 from reyreaud-l/add-diff-review-ref
...
FR #994 : Implement proper diff display
2019-10-13 00:07:56 +01:00
J Guerreiro
923ec9aafd
Merge pull request #1054 from Morganamilo/default
...
Have "make build" build be the default again
2019-10-11 00:25:05 +01:00
morganamilo
b773ec2aa4
Have "make build" build be the default again
2019-10-10 16:37:37 +01:00
Anna
3579d3521a
Merge pull request #1052 from tomswartz07/master
...
Fix Typos
2019-10-10 09:30:58 +01:00
Tom Swartz
5d7ea17b15
Fix typo in comment text
2019-10-09 10:15:36 -04:00
Tom Swartz
81dcc339e0
Fix typo in completion text
2019-10-09 10:15:20 -04:00
Loic Reyreaud
7ee206f36e
Implement proper diff display
...
As raised in #994 , diff display was not proper when interrupting during
download or diff review.
This commit introduce:
- Add a ref in the git tree named "YAY_DIFF_REVIEW" which is set to the last
diff reviewed by the user.
- Change the function displaying diff to user to make proper use of this
new ref. If the ref does not exist in the git tree, it will display the
diff from origin to HEAD@{upstream}.
- Add a function updating the YAY_DIFF_REVIEW after it has been reviewed
by user. It uses the `toDiff` list in the `install` function.
- Add utils function related to handling this change in download.go.
This change only consider diff reviewed to update the YAY_DIFF_REVIEW ref.
If a user does not enable review, the ref will not be updated and the
user will be prompted for review when he enables diff review.
Signed-off-by: Loic Reyreaud <reyreaud.loic@gmail.com>
2019-10-07 13:59:17 +02:00
J Guerreiro
6e2a4def99
Merge pull request #1048 from Jguer/module-types
...
Module types
2019-10-07 12:10:40 +01:00
cominixo01
a7619cce2b
Only remove VCS if the package was removed successfully ( #1041 )
...
* Only remove VCS if the package was removed successfully
* Use := instead of var
* Fix formatting
2019-10-05 20:20:20 +01:00
Jguer
ed274ec665
Improve testing of Intranges
2019-10-05 19:42:47 +01:00
Jguer
bf89b3383c
Move IntRange definition to types package
2019-10-05 19:23:13 +01:00
Jguer
b01790f752
Moved StringSet definition to types package
2019-10-05 18:39:31 +01:00
Jguer
3d31b52799
Moved LessRunes to types package
2019-10-05 18:11:49 +01:00
Jguer
9e205eef4b
Move MultiError to types package
2019-10-05 17:35:46 +01:00
Jguer
fdcfeba902
Bump version to 9.3.3. Fix issues with make build calling make vendor
2019-10-05 11:16:58 +01:00
J Guerreiro
769aee728a
Merge pull request #1046 from Jguer/module-completion
...
Move completion to submodule
2019-10-05 02:20:20 +01:00
Jguer
5fa3557817
Store completions in yay's cache folder instead of build directory
2019-10-05 02:10:15 +01:00
Jguer
c5c2e906d3
Move completion to submodule
2019-10-05 02:02:30 +01:00
Jguer
5084391e79
Makefile: Fix docker-build
2019-10-05 01:04:01 +01:00
Jguer
6589631c6a
Removed GOPATH symlink needed before go modules
2019-10-04 23:32:55 +01:00
J Guerreiro
569d314cea
Merge pull request #1045 from Jguer/yay-git-actions
...
Upload yay releases using github-actions
2019-10-04 22:45:03 +01:00
J Guerreiro
a04ece5feb
Merge pull request #1044 from Jguer/fix-make
...
Fix order of variables in makefile
2019-10-04 20:44:32 +01:00
Jguer
963af374b5
Fix order of variables
2019-10-04 20:43:42 +01:00
J Guerreiro
e698336873
Merge pull request #1043 from Jguer/fix-1042
...
Revert "Merge pull request #778 from Morganamilo/group-transactions"
2019-10-04 20:02:55 +01:00
Jguer
2214bc0cb2
Revert "Merge pull request #778 from Morganamilo/group-transactions"
...
This reverts commit 6cd47dd83c
, reversing
changes made to 16fddae8b6
.
Signed-off-by: Jguer <me@jguer.space>
2019-10-04 19:42:17 +01:00
J Guerreiro
99d1df6f1d
Merge pull request #1035 from Maryse47/master
...
Use BuildDir instead of cacheHome to store PKGBUILDS with -G
2019-09-30 16:22:05 +01:00
Maryse47
f8339fc568
Use BuildDir instead of cacheHome to store PKGBUILDS with -G
...
BuildDir resolves to same place as cacheHome by default but it's configurable which helps in case user want to chose different directory to store PKGBUILDS.
2019-09-29 15:42:34 +00:00
Jguer
dfef396d3c
Upload yay release artifact
2019-09-29 12:22:55 +01:00
Jguer
5b3ae061cf
makefile: remove unreferenced target
2019-09-29 10:30:33 +01:00
Jguer
d0705a6d6b
Make makefile more targeted by refactoring. Add new multistage dockerfile
...
Remove separate targets for release.
Replace travis-ci with github-actions
Signed-off-by: Jguer <me@jguer.space>
2019-09-29 10:24:09 +01:00
Jguer
de95a0e253
Change depsolver to not use a preallocated slice to get make only deps.
...
Makes it "slower" but fixes issues where cap would return less than 0.
Fixes #857
2019-09-23 01:01:30 +01:00
Jguer
fd9a62ddb8
Bump version
2019-09-20 18:37:42 +01:00
Jguer
d34a84204a
Changes -G in ABS to use git and symlink result.
...
Fixes #1027
2019-09-20 18:34:05 +01:00
Andrew Shark
1901138e4c
removed clutter from completion array
2019-09-12 09:44:39 +01:00
Andrew Shark
0ff6ced19f
fix typos in man
2019-09-12 09:44:39 +01:00
J Guerreiro
392865f7a0
Fix travis from tripping on go vet. ( #1009 )
...
* Fix travis from tripping on go vet.
* Fix strings from gofmt
2019-08-24 23:31:13 +01:00
J Guerreiro
c9f7105481
Merge pull request #1000 from kiendang/print-size
...
Correct package range in error message
2019-07-31 10:43:53 +01:00
Kien Dang
995d788e7c
Correct package range in error message
2019-07-31 17:22:31 +08:00
J Guerreiro
64eadcdaa2
Merge pull request #989 from muesli/conversion-fixes
...
Avoid unnecessary conversion
2019-07-19 19:41:16 +01:00
Christian Muehlhaeuser
3700c1daa6
Avoid unnecessary conversion
...
stderr is already a string.
2019-07-19 11:51:42 +02:00
J Guerreiro
f406866a45
Merge pull request #969 from simon04/out-of-date-format
...
print: out-of-date format
2019-06-19 13:07:14 +01:00
Simon Legner
d25f2939eb
print: out-of-date format
...
Consistently use the same date format for all dates.
2019-06-19 12:42:08 +02:00
Anna
591f38488a
Merge pull request #965 from Morganamilo/fix-provides
...
Hide provider menu with --noprovides
2019-06-17 21:28:39 +01:00
morganamilo
125e716547
Hide provider menu with --noprovides
...
This feature was already implemented in
e71fb8617a
but was accidently reverted.
2019-06-17 21:25:11 +01:00
Anna
6cd47dd83c
Merge pull request #778 from Morganamilo/group-transactions
...
Allow many aur packages to be installed at once.
2019-06-17 15:42:40 +01:00
morganamilo
80e66ce479
Allow many aur packages to be installed at once.
...
After building an AUR package don't install it right away. Instead queue
it for install.
Then when a package comes along that does not have all of its
dependencies satisfied, install the queued packages before builting.
This allows a standard AUR update to be done with one transaction, while
building AUR packages with long dependency chains will work as normal.
This feature is behind the `--batchinstall` flag.
2019-06-17 14:25:59 +01:00
Jguer
16fddae8b6
Fix linting error breaking docker release
2019-06-17 13:22:30 +01:00