Commit graph

1534 commits

Author SHA1 Message Date
Jguer 446db893f0
Fixes #1086 2019-10-23 11:43:28 +01:00
Nathan Aclander 6136e15717
Clarfiy Out Of Date Message
The existing message was a bit confusing and made me think that the AUR package 
had an update pending which Yay refused to do. I realized instead that the package is
actually *flagged* out of date on the AUR.

I then realized there is a section in the README specifically about this confusion.

So, by prefixing the word "Flagged" I think the slight confusion can be eliminated, and the 
README section possibly removed.
2019-10-22 23:52:47 -07:00
Jguer 1257a6df08
Bump version to 9.4.1 for arm bin release once pacman 5.2 hits arm core 2019-10-22 21:15:11 +01:00
Jguer 85fc7c59c7
Remove testing CI used for 9.4.0 release. Return to using only core for 9.4.1 2019-10-22 21:12:28 +01:00
Jguer c0e78c84f2
Merge branch 'ci-testing'
Enables using [testing] on CI, can be removed in future
2019-10-22 10:50:50 +01:00
Jguer d50ca0430b
Enable testing in ci builds 2019-10-22 10:41:53 +01:00
J Guerreiro e1403861c0
Merge pull request #1077 from Jguer/pacman-next
Update go-alpm for pacman-next
2019-10-22 09:40:57 +02:00
J Guerreiro 3416f6b266
Merge pull request #1078 from Jguer/bump-version
Bump version for release
2019-10-22 09:29:35 +02:00
Jguer 211b96867c
Bump version for release. 9.4.0 2019-10-21 16:50:17 +01:00
J Guerreiro a3849deb4e
Merge pull request #1079 from Morganamilo/doc4
Update documentation
2019-10-21 16:44:00 +02:00
morganamilo 3baf2e1ff1
Update documentation 2019-10-21 15:30:04 +01:00
morganamilo 1d2855ab76
Update go-alpm for pacman-next 2019-10-21 12:50:09 +01:00
Anna 169d0a07fc
Merge pull request #1068 from Morganamilo/abs
Move abs cloning to it's own directory
2019-10-21 12:34:35 +01:00
Anna 155c363001
Merge pull request #1067 from Morganamilo/aurdest
Support AURDEST
2019-10-21 12:34:18 +01:00
Anna 568dc4a15e
Merge pull request #1071 from nicoduesing/patch-2
more selfexplaining upgrade process
2019-10-19 23:48:07 +01:00
nicoduesing 6bca3246c8
more selfexplaining upgrade process
At least for me it was not very intuitive what I have to do here. Maybe because I overread "not" and also because I liked to upgrade all packages. That was not explained ether, so I didn't consider to just press enter. This hopefully makes it a little bit more understandable.
2019-10-20 00:40:48 +02:00
morganamilo bbeef9d237
Move abs cloning to it's down directory
As mentioned it is possible for stuff to clash in cache if you were to
-G a package from the repos, then -S an AUR package by the same name. To
avoid that give abs cloning its own directory.

It is still possible for a clash to occur if there was a package named
abs. However currently there is not.

Idealy the aur cloning would also get it's own subdir, but that will
invalidate everyone's cache so leaving it for a time with more breaking
changes.

This is also under its own config option so that AURDEST does not
interfere with it.
2019-10-18 08:48:58 +01:00
morganamilo 35b2297f1e
Support AURDEST
the AURDEST environment variable can now be used to configure the build
dir.
2019-10-17 23:54:20 +01:00
Jguer a3f30beea4
go mod tidy 2019-10-17 00:29:06 +01:00
J Guerreiro 9e773149e9
Merge pull request #1064 from Morganamilo/refactor-files
Refactor files
2019-10-17 00:27:44 +01:00
morganamilo 471b07152e
Add .go to gitignore 2019-10-16 23:18:04 +01:00
morganamilo b60a888981
Simplify stringset function names
Now that stringset has its own module we can use more basic function
names while keeping it obvious what it does.
2019-10-16 23:18:04 +01:00
morganamilo dacd77012c
Move multierror to its own module
types is pretty generic as a module name, this should be split into
seperate modules.
2019-10-16 23:18:04 +01:00
morganamilo cff358d5d6
Move intrange to its own module
types is pretty generic as a module name, this should be split into
seperate modules.
2019-10-16 23:18:04 +01:00
morganamilo f2579f26a3
Move stringset to its own module
types is pretty generic as a module name, this should be split into
seperate modules.
2019-10-16 23:18:04 +01:00
morganamilo 0856edcf04
Move LessRunes into main
This comparitor function could hardly be considored a type. It's also
very small and probably not too useful overall so keep it in utils.
2019-10-16 22:02:50 +01:00
Anna 543d3afaa7
Merge pull request #1053 from Morganamilo/group-transactions-fix
Re-add --batchinstall and fix dep issues
2019-10-16 21:48:20 +01:00
morganamilo 4d91acc749
Re-add --batchinstall and fix dep issues 2019-10-16 20:59:52 +01:00
Jguer 8151e47211
Fix linting test not exiting in case of error 2019-10-16 17:24:59 +01:00
Jguer 91232f2b74
Enable workflows only on tag push and on specific directories 2019-10-16 03:04:01 +01:00
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