Commit graph

1554 commits

Author SHA1 Message Date
Jguer
d647d29435
Added multiarch build and release workflow 2019-10-16 02:51:14 +01:00
Jguer
077b1092fd
pkg/completion interfaces more strict 2019-10-16 00:03:58 +01:00
J Guerreiro
73d87b01b0
Merge pull request #1062 from reyreaud-l/add-diff-review-ref
Change ref name used in git to compute diff to "AUR_SEEN".
2019-10-15 23:55:36 +01:00
Loic Reyreaud
21d0f33dae
Change ref name used for marking reviewed diff to AUR_SEEN 2019-10-15 10:02:10 +02:00
Loic Reyreaud
de48604633
change ref used in git to compute diff to AURUTILS_SEEN
Introduce a global constant in download.go to avoid re-typing the string
everytime.
Change the string form YAY_DIFF_SEEN to AURUTILS_SEEN.
2019-10-14 11:07:21 +02:00
J Guerreiro
7b710b796b
Merge pull request #1056 from Morganamilo/searchby
Add --searchby
2019-10-13 23:38:28 +01:00
J Guerreiro
96dd1d3ce2
Merge pull request #1061 from Jguer/enforce-lint
Enforce lint in CI
2019-10-13 23:37:35 +01:00
Jguer
c180fa8d19
PkgbuildDiffs use MultiError now to accumulate errors instead of breaking execution at any error 2019-10-13 23:23:55 +01:00
Jguer
29b051134a
Add comments to Base type 2019-10-13 20:59:25 +01:00
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
ab2101ab49
Add --searchby
Allow using the RPC's &by= field during -Ss
2019-10-10 17:43:22 +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