Commit graph

60 commits

Author SHA1 Message Date
Maxim Baz
bebc821653 Fix TimeUpdate param usage
TimeUpdate is `false` by default. We want to compare modification time only when user changes this parameter to `true`.
The current code seems to have inverted logic at the moment.
2017-06-17 19:18:44 +02:00
Jguer
7d915b14a2 Merge branch 'use-pkgname-to-search-for-saved-package-info' of https://github.com/maximbaz/yay into maximbaz-use-pkgname-to-search-for-saved-package-info 2017-06-14 08:47:38 +01:00
Jguer
5bae8e81a6 Refactoring 2017-06-14 08:47:17 +01:00
Maxim Baz
7a823c50d8 Use pkgName to search for saved package info
URL is not a unique identifier. Multiple installed packages can refer to the same github URL,
like `alacritty-git` and `alacritty-terminfo-git`.

The search must be thus based on the package name.
2017-06-11 22:50:56 +02:00
Jguer
3905dd86a4 By default yay uses Package Version for updates. Use --timeupdates to set updates based on modification time. Closes #9 2017-05-25 00:28:35 +01:00
Jguer
2c458a42a1 Merge branch 'dev' of https://github.com/jguer/yay into dev 2017-05-16 16:53:20 +01:00
Jguer
fd6b2be76b First version of fully working vcs updates 2017-05-16 16:53:15 +01:00
Jguer
457f4ead8c Fixed Package versioning bug. Display fix. 2017-05-15 11:39:06 +01:00
Jguer
d9b793b695 If github fudges up don't save it 2017-05-09 14:44:34 +01:00
Jguer
6206c105a7 Implemmented github VCS updates. Getting hammered by rate limiting 2017-05-09 02:09:43 +01:00
Jguer
1a58017817 Changed upgrade logic to use alpm.pkg 2017-05-07 13:52:08 +01:00
Jguer
a20646fa24 Fixed a very subtle bug that hided the first result of every search in bottom up 2017-05-07 03:29:01 +01:00
Jguer
bd2842841a Killed util, config is now saved 2017-05-07 02:44:07 +01:00
Jguer
0473084ed2 More porting from util to config 2017-05-06 18:32:33 +01:00
Jguer
c1eb116c53 Fixes #20 2017-05-06 16:07:32 +01:00
Jguer
a91984045c Refactored AUR package 2017-05-02 17:32:50 +01:00
Jguer
484eb3b75f Fixed sorting issue in improved Narrow Search 2017-05-02 16:59:30 +01:00
Jguer
9b4667344e Refactored yay to use mikkeloscars aur package 2017-05-02 16:46:14 +01:00
Jguer
9f781c0411 Added Save info to vcs 2017-05-02 11:50:11 +01:00
Jguer
5c0650fe5a Minor bug fixed in completions. Github updates progressing. Info fetching done 2017-05-02 01:06:16 +01:00
Jguer
b58100fcaf branchInfo added 2017-05-01 02:34:40 +01:00
Jguer
c258986edc Simplified code 2017-05-01 02:23:26 +01:00
Jguer
acf2a33a68 Added repo parsing 2017-05-01 02:23:03 +01:00
Jguer
e73d75fc37 Improved AUR completions. ZSH support added 2017-04-09 22:17:10 +01:00
Jguer
1ebe472123 Resolves #3 (again). Filtering is now faster and happens in AUR and Pacman 2017-02-18 15:29:40 +00:00
Jguer
14b46a7461 Resolves #7. Added groundwork for ABS build in install. Updated documentation. 2017-02-17 11:55:20 +00:00
Jguer
6d06f1687d Fixes #8. Now we'll only skip user interraction against deps on --noconfirm. 2017-02-15 02:00:20 +00:00
Jguer
27759a589f Added -G --getpkgbuild. Resolves #6 2017-02-15 01:50:26 +00:00
Jguer
dcff8af505 Changed benchmark output. Fixed all downtop (facepalm) 2017-01-05 16:42:06 +00:00
Jguer
7e2625d362 Refactor code. Implemented yay -Ssq. 2017-01-05 16:13:52 +00:00
Jguer
c7e0d04ce3 Added MakeDepend autoremove. 2016-12-17 02:29:52 +00:00
Jguer
d6104a526e Code refactor 2016-12-17 00:40:51 +00:00
Jguer
6ea3bad98a Added -Si, ended up fixing serious bug in PackageSlice 2016-12-16 02:13:17 +00:00
Jguer
e3ae50dbd5 Added AUR out-of-date checks 2016-12-16 01:01:12 +00:00
Jguer
cfb0efea45 New dependency parsing method. Halved handle opens 2016-12-16 00:40:12 +00:00
Jguer
14a1f93d5a Added OutOfRepo substitute now with 50% more alpm. TOFIX: Remove duplicates 2016-12-15 20:50:22 +00:00
Jguer
c5b7baa994 The orphanage update. Changes to prints and AUR install for easier readibility and performance 2016-12-09 23:33:21 +00:00
Jguer
1297ad7c17 We now install python-nikola with style 2016-12-05 00:26:01 +00:00
Jguer
0032d903ac Fixed bug where new version and old version were switched 2016-12-02 13:34:14 +00:00
Jguer
2f2df47639 Added SortOrder 2016-12-02 12:19:03 +00:00
Jguer
7d6eb8fdbe Fixed no target on AUR Install 2016-12-01 19:57:53 +00:00
Jguer
4481a9de65 Removed alpm dependencies 2016-11-30 23:21:56 +00:00
Jguer
a8cd24110a New dependency manager 2016-11-30 23:08:28 +00:00
Jguer
11535bcb77 Removed UpdatePackages tests 2016-11-30 19:12:32 +00:00
Jguer
834bf502ca removed UpdatePackages 2016-11-30 19:11:48 +00:00
Jguer
20a98de384 Finished new upgrade mechanism. Benchmarks show improved performance.
=== RUN   TestSearch
--- PASS: TestSearch (0.38s)
=== RUN   TestInfo
--- PASS: TestInfo (0.08s)
=== RUN   TestUpdate
:: Starting AUR upgrade...
==> arduino: 1:1.6.12-3 -> 1:1.6.12-4
==> Proceed with upgrade (Y/n)
==> Installing arduino
==> Edit PKGBUILD? (y/N)
--- PASS: TestUpdate (1.15s)
=== RUN   TestUpgrade
:: Starting AUR upgrade...
==> arduino: 1:1.6.12-4 -> 1:1.6.12-3
==> Proceed with upgrade (Y/n)
==> Installing arduino
==> Edit PKGBUILD? (y/N)
--- PASS: TestUpgrade (1.07s)
PASS

BenchMark Update  2	1022581207 ns/op	 2034108 B/op	   14345 allocs/op
BenchMark Upgrade 2	 956533245 ns/op	  662720 B/op	   11738 allocs/op
2016-11-30 19:07:17 +00:00
Jguer
721b7c9ebb Refactoring code 2016-11-30 17:55:56 +00:00
Jguer
c7757668c3 Added AUR tests 2016-11-30 17:55:21 +00:00
Jguer
c23e4e7372 Parallel update checking 2016-11-15 01:46:11 +00:00
Jguer
96149fd5b4 Visual and dependency changes 2016-11-04 10:52:11 +00:00