Commit graph

753 commits

Author SHA1 Message Date
morganamilo 4c2986a036
Tweak readme, add install and contrib sections 2018-05-11 04:03:27 +01:00
Anna a634c2d167
Merge pull request #405 from Morganamilo/fix#404
Add missing --ignorearch arg to makepkg call
2018-05-10 21:02:46 +01:00
morganamilo 5e712b221e
Add missing --ignorearch arg to makepkg call 2018-05-10 21:02:03 +01:00
Anna 665d49f8e0
Merge pull request #403 from Morganamilo/fixnil
Lint
2018-05-10 20:19:33 +01:00
morganamilo 38818757c8
Lint 2018-05-10 20:18:16 +01:00
Anna aaf89c0c1c
Merge pull request #387 from Morganamilo/news2
Print the descriptions of news item
2018-05-08 21:05:10 +01:00
Anna 1fdf62f7d0
Merge pull request #393 from Morganamilo/fix#389
Implement c29a80 properly
2018-05-08 00:45:54 +01:00
morganamilo dc0765918e
Implement c29a80 properly
It seems the pkgbase is null for installed packages that are not part of
a split package. It was priviously assumed that if a package was not
part of a split package, pkgbase == pkgname would always be true.

Instead try to use pkgbase and if it does not exist fall back to
pkgname.
2018-05-08 00:43:49 +01:00
Anna 4eca2be3c1
Merge pull request #390 from Morganamilo/stringslicemap
Refactor complex map types into their own type
2018-05-07 23:44:05 +01:00
morganamilo ef7e8acb13
Refactor complex map types into their own type
map[string][]string  -> mapStringSlice
mao[string]stringSet -> mapStringSet
2018-05-07 23:42:41 +01:00
Anna e6b557f054
Merge pull request #391 from Morganamilo/fix#389
Fix -Sc sometimes cleaning split packages
2018-05-07 23:31:10 +01:00
morganamilo c29a80d7f7
Fix -Sc sometimes cleaning split packages
If a split package was installed and there was no package that matched
the name of the package base Yay would remove it even though there could
be other packages installed under that base but with a different name.

Now only clean a package if there are no installed packages under the
packagebase.
2018-05-07 23:28:22 +01:00
Anna 58f23bfe9a
Merge pull request #377 from AlexWayfer/make_upgrade_output_as_table
Make upgrade output as table
2018-05-07 23:05:34 +01:00
Alexander Popov 58283a9799
Make upgrade output as table 2018-05-08 00:41:35 +03:00
morganamilo 21b7899083
Use built in html escaping 2018-05-07 06:26:29 +01:00
morganamilo a10241f7ab
Print descriptions of news
Print the full descriptions of each news item.

The description is formatted as html, basic parsing is done to display
it properly. -q/--quiet can be used to diplay title only.
2018-05-07 01:46:08 +01:00
morganamilo 6af2b5c6e1
Respect bottomup for -Pw
This commit also refactors the news related sructs into their own types
instead of being anonymous and moves the printing to its own .Print()
function.
2018-05-07 01:06:24 +01:00
J Guerreiro feb3b8b6c7
Merge pull request #385 from PeachIceTea/newsfeed
Get arch package news using --print --news
2018-05-06 04:30:23 +01:00
Jonas Thiem 188df1ac93 Use formatTime for news 2018-05-06 04:25:23 +02:00
Jonas Thiem 2161dace3f Collapsing rss struct 2018-05-06 04:06:58 +02:00
Jonas Thiem 976876961b Add completions for --news 2018-05-06 03:31:09 +02:00
Jonas Thiem 8dd08327b1 Add --news to --print 2018-05-06 02:26:03 +02:00
Anna f9723f67b7
Merge pull request #383 from simon04/date-format
Use ISO 8601 date format (yyyy-mm-dd)
2018-05-04 13:16:21 +01:00
Simon Legner e6dae03329 Use ISO 8601 date format (yyyy-mm-dd) 2018-05-04 12:36:14 +02:00
Anna 5307e97d66
Merge pull request #380 from Morganamilo/fix#379
Add mised filepath.Join() calls
2018-05-03 01:48:37 +01:00
morganamilo ee75de0135
Add mised filepath.Join() calls 2018-05-03 01:47:24 +01:00
J Guerreiro dc10c4b6dd
Fix small indent issue 2018-04-28 17:35:53 +01:00
Jguer 79bfa9fbc8 Fix wrong license on badge
Signed-off-by: Jguer <me@jguer.space>
2018-04-28 17:35:05 +01:00
Jguer 9b351b1779 Remove changelog from README. Update some pictures
We use annotated tags and github releases already
2018-04-28 14:44:23 +01:00
Jguer ba4ef4f51c Use more filepath.Join, standardize separators 2018-04-28 12:15:18 +01:00
J Guerreiro 408f3e138f
Merge pull request #374 from Jguer/fix#373
Fixes #373
2018-04-28 11:57:10 +01:00
Jguer 58772c871b Fixes #373
Signed-off-by: Jguer <me@jguer.space>
2018-04-28 11:53:10 +01:00
Anna 37b08eabf7
Merge pull request #372 from Morganamilo/fixparsercheck
Fix warning by megacheck in parser
2018-04-27 02:49:19 +01:00
morganamilo debe19278a
Fix warning by megacheck in parser 2018-04-27 02:43:10 +01:00
J Guerreiro 8342ca724f
Merge pull request #371 from Jguer/megacheck-lint
Use megacheck to lint project
2018-04-27 02:32:06 +01:00
Jguer d319576303 Use megacheck to lint project
Signed-off-by: Jguer <me@jguer.space>
2018-04-27 01:25:40 +01:00
Jguer 66362aa981 Bump MAJOR_VERSION
This bump reflects the big change introduced with using git cloning.
Therefore we know all versions pre-6 do not use git clone

Signed-off-by: Jguer <me@jguer.space>
2018-04-26 20:53:34 +01:00
Anna a5fa47ffac
Merge pull request #367 from tomswartz07/master
Fix typos
2018-04-23 18:55:55 +01:00
Tom Swartz 39cf61f2fd Clarify Package Ranges in doc 2018-04-23 13:43:17 -04:00
Tom Swartz 579cb28361 Fix typo in docs 2018-04-23 13:29:30 -04:00
Tom Swartz 1c9715dddf Fix typos 2018-04-23 13:06:56 -04:00
Anna c54057931d
Merge pull request #366 from Morganamilo/man
Update man page and tweak usage
2018-04-23 14:49:13 +01:00
morganamilo 99c7b5bb44
Update man page and tweak usage 2018-04-23 02:24:23 +01:00
Jguer 84569ef6d9 Fix completions from using wrong path. Regression introduced in filepath join
Signed-off-by: Jguer <me@jguer.space>
2018-04-21 16:43:12 +01:00
Anna 780f656531
Merge pull request #362 from Morganamilo/fix#359
Prefix aur/ to aur updates
2018-04-17 20:16:35 +01:00
Anna 2d559b874a
Merge pull request #361 from Morganamilo/fixup2
Remove duplicate cmd.Run()
2018-04-17 20:15:03 +01:00
morganamilo 55e7ed8ef7
Remove duplicate cmd.Run()
There was a duplicate cmd.Run() that somehow went unnoticed. It was also
missing an error check, so it was in the code but had no ill effects.
In 86bfacd253 the error check was added.
This caused it to fail every time sure to the cmd already being ran.

Remove the duplicate cmd.Run() altogether.
2018-04-17 20:14:16 +01:00
morganamilo 8ccb5de6ac
Prefix aur/ to aur updates 2018-04-17 19:54:44 +01:00
Anna 5fb61731a3
Merge pull request #360 from Morganamilo/fixup
Small fixups
2018-04-17 18:26:40 +01:00
morganamilo 440004a80c
Fix exist sometimes being false for flags 2018-04-17 18:24:39 +01:00