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
morganamilo
63471b9ede
Fix misspellings and typos
2018-04-17 18:01:34 +01:00
morganamilo
86bfacd253
Remove unneeded vars and fix missing err check
2018-04-17 17:57:02 +01:00
morganamilo
72eaf6f582
gofmt -s
2018-04-17 17:54:22 +01:00
Anna
6118a9f8b6
Merge pull request #358 from Morganamilo/rmtest
...
Remove test for formatKeysToImport()
2018-04-17 14:28:43 +01:00
morganamilo
8305631b1d
Remove test for formatKeysToImport()
...
The recent changes to formatting broke this test. While it would be easy
to go back and fix it, I personaly do not like tests that rely on things
such as formatting or an internet connection. This is why I have removed
the test, I believe the other test for key importing should be more that
sufficient.
2018-04-17 14:24:30 +01:00